Scenario 2: Code Generation with Claude Code
Claude Certified Architect - Foundations (CCAR-F)
Scenario 2: Code Generation with Claude Code
You are using Claude Code to accelerate software development. Your team uses it for code generation, refactoring, debugging, and documentation. You need to integrate it into your development workflow with custom slash commands, CLAUDE.md configurations, and understand when to use plan mode vs direct execution.
Passage quoted verbatim from the official CCAR-F exam guide v1.0, section 5.
This scenario on the exam
- 2 of 6 — four are dealt at random
- 2
- 50
Primary domains
- Claude Code Configuration & Workflows
- Context Management & Reliability
What the exam asks inside this context
-
Configuration scope. Which CLAUDE.md level reaches a teammate, which slash command directory is shared, and why a new joiner is missing instructions that work perfectly for everyone else.
-
Plan mode against direct execution. Scope decides it. A single-file fix with a clear stack trace is executed; a migration across forty-five files is planned first.
-
Skills and their frontmatter. context: fork for verbose or exploratory work, allowed-tools to keep a skill from doing damage, argument-hint for a missing parameter.
-
Iterative refinement. Concrete input/output examples and failing tests, rather than more description. Interacting problems go in one message; independent ones are better fixed one at a time.