AI Certificates

CCAR-F Claude Code Configuration & Workflows practice questions

20% of the CCAR-F exam. These worked examples come from free Form 1, with an explanation for every answer option.

D3 Claude Code Configuration & WorkflowsCCAR-F · Form 1 · free

A developer who joined the atlas monorepo last week keeps producing commit messages in the wrong format, while everyone else's sessions get it right. Her clone is current and the convention is written down. What is the most likely cause?

  1. A

    The convention lives in each teammate's ~/.claude/CLAUDE.md, which version control never carries to a new clone.Correct

    Correct. User-level configuration applies only to the user who wrote it; it is never shared through the repository, so a teammate who was never told to create it simply does not have the rule.

  2. B

    Her project-level .claude/CLAUDE.md is being shadowed by a directory-level CLAUDE.md that omits the commit rules.

    Directory-level CLAUDE.md files do add scoped instructions, and diagnosing an omission there is a real exercise — but that would affect everyone editing those directories, not one new clone.

  3. C

    The convention sits in a .claude/rules/ file whose paths frontmatter excludes the files she has actually been editing.

    A paths mismatch is a genuine cause of rules that never fire, and worth checking. It would not explain a convention that works for every other developer in the same files.

  4. D

    Her sessions run long enough that the root CLAUDE.md is loaded and then displaced as earlier context is dropped.

    Context pressure does degrade adherence in very long sessions, and shortening them helps. The pattern here is per-person rather than per-session, which points at configuration scope.

The principle

When behaviour differs by person rather than by file or by session, suspect the configuration hierarchy: user-level instructions are invisible to teammates.

D3 Claude Code Configuration & WorkflowsCCAR-F · Form 1 · free

The tech lead has written /atlas-scaffold, which generates a handler, a test and docs from one route definition. Every maintainer across the four packages must have it the moment they clone or pull atlas, with no per-machine setup, and it must not sit in context on the sessions that never run it. Where does the command file belong?

  1. A

    In .claude/commands/ inside the atlas repository, which version control carries to every clone and pullCorrect

    Correct. A command file under the repository's .claude/commands/ is version-controlled, so it arrives with the code and needs no install, and its body is read when someone invokes it rather than loaded into every session.

  2. B

    In ~/.claude/commands/ on each maintainer's machine, copied there from a reference file kept in the repo

    This is a real commands directory and the command runs perfectly for whoever placed a copy there, but the user-level path sits outside version control, so each maintainer installs it by hand and the copies drift apart.

  3. C

    In a .claude/rules/ file with a paths glob, so that it activates whenever a route definition is edited

    Path-scoped rules do load conditionally and would keep scaffold guidance out of unrelated sessions, which is half of what is being asked. A rule file is context that activates on a matching edit, not an artefact anyone invokes by name.

  4. D

    In the root CLAUDE.md, under a heading naming the scaffold procedure that the four packages all share

    The root file travels with the repository and reaches every maintainer, so the distribution half is satisfied. It is always-loaded context rather than an invocable command, so it is carried by every session and nothing answers to /atlas-scaffold.

The principle

Two properties decide the placement: whether version control carries the file, and whether its contents load on invocation or in every session. Of the surfaces available, .claude/commands/ is the only one that gives both.

D3 Claude Code Configuration & WorkflowsCCAR-F · Form 1 · free

The team's dep-audit skill walks every package manifest in atlas and prints a few thousand lines of findings. Developers report that running it mid-task leaves Claude vague about the refactor they were in the middle of. Which frontmatter change addresses that?

  1. A

    Set allowed-tools to Read and Grep so the skill cannot modify any files while it walks the package manifests.

    Restricting allowed-tools is a sound safety measure for a skill that only needs to read, and it prevents destructive edits. It does nothing about the volume of output landing in the conversation.

  2. B

    Set context: fork so the skill runs in an isolated sub-agent and only its summary returns to the session.Correct

    Correct. context: fork runs the skill in an isolated sub-agent context, so its verbose output never pollutes the main conversation and the refactor in progress stays intact.

  3. C

    Set an argument-hint so developers scope the audit to a single package rather than to the whole monorepo.

    An argument-hint advertises the parameter a skill takes, and an audit scoped to one package would indeed print less. It relies on the developer narrowing scope rather than isolating the output structurally.

  4. D

    Move the skill into ~/.claude/skills/ so each developer keeps a personal copy tuned to the packages they own.

    A personal variant in the user-level skills directory avoids affecting teammates and can be tuned per developer. The output still lands in whichever session invokes it.

The principle

Skills that produce verbose or exploratory output belong in a forked context; isolation preserves the main conversation regardless of how the developer invokes them.

Start free CCAR-F Form 1The five domains