Day 30 of 52 · about 15 min · Basics · Quiz
Master test: five scenarios from the core series
Setup only counts if you can use it without the lesson open. Each question is a real situation, and every answer points to the day that covers it.
You’ll finish with
- Five answers checked against the official docs
- The days to reread
You’ll need
- Days 12 to 29, or the same features
The questions
One question at a time. Pick an answer to see whether it’s right; your score shows at the end.
Question 1 of 5: Question 1: a manual skill
Claude must never start it on its own.your-project/
- folder .claude
- folder skills
- folder deploy
- SKILL.md
The deploy skill in your project. Your
/deployskill must run only when you type/deploy. What do you change?- A. Add “only deploy when asked” to CLAUDE.md.
- B. Set
disable-model-invocation: truein its frontmatter. - C. Move it to
~/.claude/skills/.
Show the answer
The answer is B.
It stops Claude from loading the skill on its own, so it runs only when you type
/deploy. It also keeps the skill’s description out of Claude’s context.Reread Day 13: Skill arguments and files or the skills docs.
Pick an answer to go on.
Question 2 of 5: Question 2: a hook that exits 1
The usual failure code.In order:
Claude
Claude asks to edit .env
Hook
PreToolUse hook runs
Shell
Script exits 1
A guard hook using the wrong exit code. Your PreToolUse hook rejects
.envedits by exiting with code 1, with no JSON output. What happens?- A. The edit goes ahead.
- B. The edit is blocked.
- C. Claude Code ends the session.
Show the answer
The answer is A.
Exit 1 is a non-blocking error. Only exit 2 or a JSON deny decision blocks.
Reread Day 14: Hooks that check the work or the hooks reference.
Pick an answer to go on.
Question 3 of 5: Question 3: a team MCP server
Shared through git.In order:
You
You add the server
You
You commit and push
You
A teammate clones the repo
One setup for the whole team. How do you add an MCP server every teammate gets from git?
- A.
claude mcp addwith no scope flag. - B. Paste it into each teammate’s
~/.claude.json. - C. Add it with
--scope projectand commit.mcp.json.
Show the answer
The answer is C.
With no scope flag, the server stays private to you. Project scope stores it in
.mcp.jsonat the project root, ready to commit.Reread Day 17: MCP servers for your team or the MCP docs.
Pick an answer to go on.
Question 4 of 5: Question 4: a big search
Without flooding your conversation.In Claude CodeYou type: find every place that reads data/rates.json
What happens: Answering means opening many files.
Many files read for a short answer. You need every place that reads
data/rates.json, without file contents filling your conversation. What do you do?- A. Hand it to a subagent.
- B. Run
/compact, then search in the main conversation. - C. Add the search to CLAUDE.md.
Show the answer
The answer is A.
A subagent works in its own context window and only its result comes back.
Reread Day 19: Delegate to subagents or the subagents docs.
Pick an answer to go on.
Question 5 of 5: Question 5: Claude in a CI job
One prompt, then exit.In order:
Shell
CI step starts
Claude
Claude answers one prompt
Shell
The job continues
What the CI step needs from Claude. A CI step needs Claude to answer one prompt and exit. Which command?
- A.
claude "summarise the failing tests" - B.
claude -c "summarise the failing tests" - C.
claude -p "summarise the failing tests"
Show the answer
The answer is C.
-pruns non-interactively and exits. Without it,claude "…"opens an interactive session, and-ccontinues your last one.Reread Day 22: Run Claude from a script or the CLI reference.
Pick an answer to go on.
Finish · 5 of 5 questions to go
Core series done
What you’ll have checked
- You answered all five questions
- You know which days to reread
Lesson updates by email
Get lesson updates by email
Leave your email and we’ll tell you when we add or update a lesson.
Claude Code for your team
Want Claude Code set up across your team?
HorizonLux sets up and repairs Claude Code for teams: CLAUDE.md rules, hooks that enforce them and reviewed MCP servers. Book a free call to talk it through.
Related
Sources
Checked against the official Claude Code docs on .
- Extend Claude with skills
- Hooks reference
- Connect Claude Code to tools via MCP
- Create custom subagents
- CLI reference
- Extend Claude Code
Independent resource, not affiliated with Anthropic. HorizonLux wrote this lesson; Claude Code is made by Anthropic.