Question 8
Domain 1A developer wants to configure Claude Code to always use their preferred terminal color scheme. Where should this go?
Correct answer: B
Explanation
Claude Code’s persistent preferences belong in the user-level configuration file in the home directory, "~/.claude/CLAUDE.md." That location is for settings the developer wants applied by default across sessions, including terminal appearance preferences like a preferred color scheme.
Why each option is right or wrong
A. .claude/CLAUDE.md in the project root
Project-root CLAUDE.md is for repository-specific guidance, not a developer’s universal personal preference.
B. ~/.claude/CLAUDE.md in their home directory
Claude Code’s persistent, user-specific defaults are stored in the home-directory configuration file at `~/.claude/CLAUDE.md`, which is the per-user location read across sessions rather than a project-local file. Because the developer wants the color scheme to apply every time they use Claude Code, it belongs in that home-level file, not in a repository-scoped config or a one-off session setting.
C. src/CLAUDE.md in the source directory
A source directory file is code-scoped and not the standard location for persistent user settings.
D. In the project's package.json under a claude config key
package.json stores project metadata and tooling config, not general Claude user preference defaults.