CCARF Practice Question

Paper 1 · Question 10

D3 Claude Code Configuration & Workflows · Paper 1

A developer working on a React Native project notices that Claude Code applies web-specific React conventions (e.g., using div elements) when editing mobile components in the src/mobile/ directory, despite having mobile-specific conventions documented. The root CLAUDE.md contains general React standards, and there is no directory-level or rules-based configuration for mobile. What is the best fix?

Show answer & explanations

Correct answer: B

Related Claude Code Configuration & Workflows questions

Paper 1 Q1A documentation team wants to archive the full conversation transcript to a log file every time Claude Code runs /compact, so that context l…Paper 1 Q13A CI pipeline validates that generated API docs match the codebase. It runs `claude -p 'Verify that all public API endpoints in src/api/ hav…Paper 1 Q22A developer is iterating on a data transformation function with Claude Code and has identified three issues: (1) date parsing mishandles tim…Paper 1 Q38A documentation team needs to simultaneously update API reference docs for three independent microservices after a breaking change. Each upd…Paper 1 Q42A developer's Claude Code applies the team's API conventions correctly in some sessions but not others, on the same project. They suspect th…

More: Paper 1 · All practice questions