Reference

Claude Code glossary

10 exam-critical terms in the Claude Code category. See all categories →

AllAPIAgenticPromptClaude CodeTool DesignMCPContext

CLAUDE.md

Claude Code

Instructions file Claude Code reads every turn. Three levels: user (~/.claude/CLAUDE.md, personal), project (./CLAUDE.md, shared via git), directory (path-specific).

.claudeignore

Claude Code

.gitignore-syntax file that excludes paths from Claude Code's reads. Controls reading, not writing. For blocking writes, use hooks.

.claude/rules/

Claude Code

Path-specific rules with YAML glob frontmatter that apply across an entire codebase — unlike directory-level CLAUDE.md which is location-bound.

Plan mode

Claude Code

Mode where Claude proposes a plan before executing destructive changes. Use for multi-file migrations, architecture decisions, or anything you want to inspect first.

Slash command

Claude Code

User-triggered prompt template in .claude/commands/. File name becomes /name. For repeatable workflows like /pr-review, /release.

Skill

Claude Code

Folder with SKILL.md describing when to trigger and what to do. The 'description' frontmatter field is Claude's routing signal. May include supporting files.

context: fork

Claude Code

Skill option that runs the skill in an isolated subagent context, keeping verbose output out of the main conversation window. Preserves parent context.

Hook

Claude Code

External script fired on lifecycle events (PreToolUse, PostToolUse, Stop). Exit 0 allows; exit 2 blocks and surfaces stderr to Claude as feedback. Deterministic gate.

-p (non-interactive)

Claude Code

CLI flag: claude -p 'prompt' runs a single non-interactive turn and exits. Mandatory for CI/CD pipelines — without it the job hangs waiting for input.

Claude Code SDK

Claude Code

Programmatic API to drive Claude Code sessions from your own code. For building higher-level tools, dashboards, or batch automations on top.