Claude Code
Advanced

Claude Code Context, Permissions, and Extensibility

Use CLAUDE.md, memory, file references, images, MCP, hooks, skills, and permission modes effectively.

55 min
3 sections
claude-code
claude-md
mcp
hooks
skills
1
2
3

01. CLAUDE.md turns project habits into executable context

Section 1 of 3

CLAUDE.md is a project instruction file that Claude reads at session start. Use it for stable rules: test commands, architecture constraints, package manager, review checklist, naming conventions, and security boundaries. Keep it short enough that the agent will actually follow it.

markdown
# CLAUDE.md

## Commands
- Type check: npm run type-check
- Course validation: npm run validate:content
- Build: npm run build

## Course content rules
- Course data lives under src/lib/courses.
- Do not add loose Markdown course artifacts.
- Every tool feature needs purpose, usage, and a practical example.
- Prefer concrete prompts over generic explanations.

## Review rules
- Report changed files.
- Report validation commands and results.
- Call out remaining risk.
Back to Course