CCAR-F scenarios › Code Generation with Claude Code · Question 16 of 60
Scenario 2 · Code Generation with Claude Code
Your engineering team relies on Claude Code to generate, refactor, debug, and document code. You're responsible for fitting it into the team's workflow: custom slash commands and skills, a sensible CLAUDE.md setup, and knowing when a task calls for plan mode and when direct execution is enough.
Claude Code Configuration & Workflows · Select TWO
Your team is deciding which upcoming tasks should start in plan mode and which can go straight to direct execution. Which two tasks are the best candidates for plan mode? Select two.
Show answer and explanation
Answer: B and D — Migrating the data-access layer from one ORM library to another, a change that touches about 50 files and requires decisions about transaction handling along the way. / Choosing between a webhook-based and a queue-based integration with a partner system, where each option has different infrastructure and failure-handling requirements.
Plan mode is for complex work: large multi-file changes, architectural decisions, and choices between valid approaches with different infrastructure requirements. That makes the ORM migration (b) and the integration-approach decision (d) good fits, and both can then move to direct execution once the plan is set (task 3.4). The single-function fix with a clear stack trace (a) and the single date-validation conditional (c) are well-scoped changes where direct execution is appropriate and planning only adds overhead.
More from this scenario
- You ask Claude Code to convert legacy log lines into a new structured format. Despite…
- Before a large refactor, Claude Code must survey around 300 files to catalog every place…
- During a long debugging session, the context has filled with verbose test-runner output…
- You're adding comprehensive tests to a legacy service in phases. In phase one, a…
- A new engineer joins and finds that Claude Code ignores the team's error-handling and…