ClaudeArena

950+ practice questions and leaderboards for Claude Certified Architect: Foundations (CCAR-F) and Professional (CCAR-P).

Sign in

Foundations domain 3 · Claude Code configuration and workflows

20% of the Foundations exam · Last checked: 29 September 2026

CLAUDE.md, rules and skills

See also: Professional domain 2 · Prompt reuse: caching, modular prompts and Skills and Foundations domain 1 · Hooks: deterministic enforcement.

Settings precedence

Highest first: managed policy › command-line arguments › .claude/settings.local.json (personal, not committed) › .claude/settings.json (shared, committed) › ~/.claude/settings.json (personal defaults). More specific wins, except that managed policy sits above everything, including the command line. Permission deny rules win over allow rules wherever they're set.

Permission modes

ModeWhat runs without asking
default (Manual)Reads only; you approve the rest
acceptEditsReads, file edits and common filesystem commands
planReads and analysis; no edits until you accept a plan
autoA classifier reviews actions instead of you
dontAskAnything that would prompt is denied (for CI)
bypassPermissionsEverything, with no prompts (from v2.1.309, rm and rmdir are still denied in the Desktop app and VS Code)

There's no "read only" mode; a likely distractor. Plan mode is the one for analysis where nothing should change, but it is a workflow, not a lock: in an interactive terminal session where bypass permissions is available, edits Claude attempts while planning run without asking. Permissions, hooks and managed settings are what make a change impossible.

Exam guide vs todayOlder notes list four modes (default, acceptEdits, plan, bypassPermissions). Claude Code now also has auto, the starting mode for interactive sessions in recent versions, and dontAsk.

Flags for headless and CI use

Commands, by symptom

SymptomCommand
Is my CLAUDE.md loaded? What's filling the context?/context: usage by category, and the memory files loaded in this session
I want to edit memory files or toggle auto memory/memory
Undo Claude's bad edit, keeping my own uncommitted work/rewind: restores a checkpoint of Claude's changes (not edits made through Bash)
The conversation is long/compact summarises; /clear starts fresh
Switching to an unrelated task/clear
What has this cost?/usage (/cost is an alias)
Something's wrong with the installation or setup/doctor
New project, no CLAUDE.md yet/init
Exam guide vs todaySome study notes say /memory shows which memory files are loaded. In today's Claude Code, /memory lists and opens memory files, and /context is the command that shows which CLAUDE.md and rules files loaded into the current session.

Skills and commands: syntax

Exam guide vs todayPositional arguments are now 0-based: $0 is the first argument. Older material uses $1 for the first. Also, allowed-tools pre-approves rather than restricts; restriction is disallowed-tools.

Plan mode or direct execution?

Plan mode for changes with many files, design decisions, a wide blast radius or an unknown cause. Direct execution for small, clear, low-risk changes. Save an agreed plan to a file if the work spans sessions.

See also: Exam guide vs today · Foundations (CCAR-F) and Professional domain 7 · Developer productivity and operational enablement.

Docs: Memory and CLAUDE.mdSettingsPermission modesCLI referenceHeadless modeCommandsSkillsCheckpointing

Practise Domain 3