CCAR-F Claude Code configuration (20%)
Domain 3 of CCAR-F, Claude Code Configuration & Workflows, is worth 20% of the exam. It asks how you set up Claude Code for a team: which file holds which instruction, how commands and skills are shared, when to plan before acting, how to iterate, and how to run it in CI. Anthropic’s exam guide lists six task statements. Claude Code’s own memory documentation on code.claude.com is the best companion reading.
The six task statements
| Task | Topic |
|---|---|
| 3.1 | CLAUDE.md hierarchy, scoping and modular organisation |
| 3.2 | Custom slash commands and skills |
| 3.3 | Path-specific rules |
| 3.4 | Plan mode versus direct execution |
| 3.5 | Iterative refinement techniques |
| 3.6 | Claude Code in CI/CD pipelines |
CLAUDE.md hierarchy
There are user-level instructions in ~/.claude/CLAUDE.md, project-level ones in .claude/CLAUDE.md or the root CLAUDE.md, and directory-level files in subdirectories. User-level instructions apply only to that user and are not shared through version control, which explains a classic symptom: a new teammate does not follow a convention because it lives in someone’s personal file. The @import syntax keeps files modular, and .claude/rules/ splits a big file into topic files such as testing or deployment. The /memory command shows which memory files are loaded, useful for diagnosing inconsistent behaviour.
Commands, skills and rules
Project commands in .claude/commands/ are shared with the team; user commands in ~/.claude/commands/ are personal. Skills live in .claude/skills/ with a SKILL.md whose frontmatter can set context: fork (run in an isolated sub-agent context so verbose output stays out of the main conversation), allowed-tools (restrict what the skill may do) and argument-hint (prompt for required arguments). Skills are on-demand workflows; CLAUDE.md is always loaded universal standards. Make a personal variant under a different name to avoid affecting teammates.
Path-specific rules in .claude/rules/ use YAML frontmatter with a paths field of glob patterns, so conventions load only when matching files are edited. That beats directory-level CLAUDE.md files when a convention spans many directories, such as all test files.
Plan mode and iteration
Plan mode suits complex work: large-scale changes, multiple valid approaches, architecture decisions and multi-file edits such as a library migration touching dozens of files. Direct execution suits clear, small changes such as a one-function bug fix with a stack trace. The Explore subagent keeps verbose discovery out of the main context. Combine them: plan the migration, then execute.
For iteration, concrete input and output examples communicate a transformation better than prose; test-driven iteration shares failing tests to guide improvement; the interview pattern has Claude ask questions to surface considerations before building. Report interacting problems in one message and independent problems one at a time.
CI/CD
Use the -p (or –print) flag for non-interactive runs, which avoids hanging on input. –output-format json with –json-schema yields machine-parseable findings for inline pull request comments. CLAUDE.md supplies testing standards and fixtures to CI runs. A fresh review instance is better than the session that wrote the code, because that session keeps its reasoning context. On re-runs, include prior findings and ask for only new or unaddressed issues, and give existing test files to avoid duplicate suggested tests.
Three sample questions
Question 1. Your team has a rule that all test files, spread across many folders, must follow the same naming and assertion style. You want it loaded only when someone edits a test file. What should you use?
- A. Put the rule in the root CLAUDE.md
- B. Create a rule file with a paths frontmatter field matching test files
- C. Put a CLAUDE.md in every directory that contains tests
- D. Put the rule in each developer’s user-level file
Show answer
Answer: B
A rule file in .claude/rules/ with a paths glob such as a test-file pattern loads only for matching files, wherever they live. A root CLAUDE.md loads always, and per-directory CLAUDE.md files do not span scattered locations.
Want more questions like this? Full CCAR-F practice tests →
Question 2. Which task is the best candidate for plan mode rather than direct execution?
- A. Fix a typo in a comment
- B. Add a null check to one function with a clear stack trace
- C. Rename one local variable
- D. Migrate a service to a different library across dozens of files with two possible approaches
Show answer
Answer: D
Large changes with architectural implications and several valid approaches benefit from exploration and design first. A single-line fix, a clear typo or adding a simple validation to one function are well scoped and suit direct execution.
Want more questions like this? Full CCAR-F practice tests →
Question 3. A CI job reruns Claude Code after every new commit and posts duplicate comments about problems already raised. What should change?
- A. Disable review after the first run
- B. Tell Claude to report fewer issues overall
- C. Provide the earlier findings and instruct Claude to report only new or unresolved issues
- D. Run the review only overnight
Show answer
Answer: C
Including prior findings in context and asking for only new or still-unaddressed issues avoids duplicates. Turning off the review loses value, lowering strictness hides real problems and running at night does not stop duplicates.
Want more questions like this? Full CCAR-F practice tests →
Practice
Do the guide’s Exercise 2, and test what happens when a rule is in the wrong scope. Then read Prompt engineering and structured output and try the practice test.