Assemble your own setup
You now have the full map. The capstone exercise: design the .claude/ setup for a real project of yours, applying the triggers from Lesson 16.
- Write a CLAUDE.md under 200 lines: commands, stack, rules.
- Add one path-scoped rule for your test files.
- Allow your test command in settings.json permissions; deny one dangerous pattern.
- Create one skill for a workflow you repeat (use the templates in the Prompt Library).
- Add a PostToolUse hook that formats on save.
- Wire one MCP server your team actually needs, secrets via
${VAR}. - If a second repo needs the same setup — package it as a plugin.
Then verify what actually loaded with the four inspection commands: /context (window usage), /doctor (installation), /hooks (registered hooks), /mcp (server status and cost).
Check your understanding
Section titled “Check your understanding”Question 1Which command shows whether your hooks actually registered?
/hooks reviews loaded hooks in the current session.
Question 2The healthiest default posture for always-on context is…
Too much always-on context adds noise and cost; defer what you can.