This domain is 20% of the exam. All five weightings:
This domain is the most "recall-able": exact file locations, flags and settings. It rewards hands-on time with Claude Code more than reading.
Where instructions live: the CLAUDE.md hierarchy
~/.claude/CLAUDE.md— your personal preferences, not in version control..claude/CLAUDE.md(or a project-rootCLAUDE.md) — team-wide standards, shared through version control.CLAUDE.mdin a subdirectory — conventions that apply to that directory..claude/rules/files with a YAMLpaths:glob — rules that load only when Claude works on matching files (for example, test-file conventions).
The exam likes "where should this rule go?" questions: personal habit vs team standard vs conditional-on-file-type.
Commands and skills
.claude/commands/— project-scoped slash commands, shared with the team.~/.claude/commands/— personal.- Skills can set
context: forkto run in an isolated subagent so verbose work does not pollute your main conversation;allowed-toolsrestricts what they can touch andargument-hintprompts for input.
Plan mode, direct execution and exploration
Use plan mode when a change is large, ambiguous or touches many files — agree the approach first. Direct execution suits small, well-understood edits. Delegate open-ended codebase exploration to an exploration subagent so the main context stays clean.
Claude Code in CI/CD
-p/--printruns non-interactively. Without it, a pipeline job hangs waiting for input.--output-format jsonreturns machine-readable output;--json-schemavalidates the shape of the result.--resume <name>continues a named session; use independent sessions for an unbiased review./compactcompresses context but can lose exact details such as numbers — be careful with it when precision matters.
Common wrong answers
- "Run Claude Code in the pipeline without extra flags" — missing
-p. - Putting a personal preference in the shared team file, or a team rule in the personal one.
- Loading every rule everywhere when a path-scoped rule would do.
Build to learn it
Make a small project with a project-level standard, your personal ~/.claude/CLAUDE.md, a .claude/rules/ file scoped to test files, and one skill using context: fork. Then run claude -p "Review this file" from a script, add --output-format json, and parse the result. Our cheat sheet lists the settings in one place.