Scenario 2 of 6
Code Generation with Claude Code
Using Claude Code to accelerate development — generation, refactoring, debugging and documentation — integrated into a team's workflow through custom slash commands, CLAUDE.md configuration, and judgement about when plan mode beats direct execution.
Primary domains: Claude Code Configuration & Workflows · Context Management & Reliability
What this scenario tests
The most concretely testable of the six, because most of it reduces to knowing which file a setting belongs in. Questions describe a team whose conventions are not being followed, or a repository where one directory needs rules the rest does not, and ask where the fix goes: user memory, project memory, a path-specific rule, a skill, or a command. The plan-mode questions are judgement calls about the size and reversibility of the change.
Traps it is built to catch
- Putting a team convention in user-level CLAUDE.md. It is not version-controlled and nobody else gets it — the symptom described in the question is precisely that teammates are not following the rule.
- Reaching for plan mode on a single-file change with an obvious shape. Plan mode earns its overhead on architectural decisions, not on every edit.
- Confusing a slash command with a skill. One is invoked explicitly by the user; the other loads when its description matches the request.
The most useful hour of preparation
Configure a real repository properly: a project CLAUDE.md with imports, a directory-scoped rule under .claude/rules/ with a glob, and one custom command with allowed-tools and argument-hint frontmatter.
Lessons that cover this scenario
6 of the 30 task statements, across 2 domains.
- 3.1CLAUDE.md Hierarchy, Scoping, and Modular OrganisationConfigure CLAUDE.md files with appropriate hierarchy, scoping, and modular organization
- 3.2Custom Slash Commands and SkillsCreate and configure custom slash commands and skills
- 3.3Path-Specific Rules for Conditional Convention LoadingApply path-specific rules for conditional convention loading
- 3.4Plan Mode vs Direct ExecutionDetermine when to use plan mode vs direct execution
- 3.5Iterative Refinement TechniquesApply iterative refinement techniques for progressive improvement
- 5.4Codebase Exploration & Context DegradationManage context effectively in large codebase exploration