How Claude Code works
A plain-language guide to Claude Code, built around one picture: a capable new colleague joining your team. Each part adds one habit, and by the end you have a setup that plans from a written spec, stays inside the rules you set and shows proof that the work is done.
Start with part 1Why Claude Code
- It works in your real projectClaude Code reads your files, runs your commands and edits your code where it lives. No copying snippets in and out of a chat window.
- It can check its own workIt runs the tests, the linter and the build, reads the errors and fixes them. You review a result that has already been through your checks.
- You set the rulesPermissions, hooks, skills and a written spec decide what it may touch and what "done" means. That is what makes it safe to hand over real work.
What you will learn, and how long it takes
54 minutes of reading in all, about 5 minutes a part. Each stage fits in one sitting, and you can stop after any of them with something that works.
- How it worksKnow where Claude runs, what it remembers, and when to start fresh, resume or fork.Start at part 1
- Set it up safelyGive it house rules, recipes, alarms, connections and keys, and keep its desk clear.Start at part 3
- Work from the specWrite a spec with acceptance criteria, keep data honest, prove each criterion and hand over cleanly.Start at part 7
- Share it with a teamPack the whole setup as one installable kit and roll it out a step at a time.Start at part 11
What you will have at the end
- A short CLAUDE.md, with plan first as the default
- Locked doors for secrets, and a knock before anything is published
- Skills that write specs, plans and handoffs the same way every time
- Alarms that run the type check and verify before Claude says done
- Reviewers that check every acceptance criterion and report evidence
- The whole setup as one kit you can install in any repository
All parts
- Where Claude runsOne Claude conversation runs in four places at once. Explained like a new colleague with a brain at head office, a desk in the cloud, a locked workroom in your house and a walkie-talkie in your pocket.
- Sessions and forksHow Claude remembers, explained with a shared notebook, a photocopy and an assistant with a sticky note. When to start fresh, when to resume, when to fork, and when to hand a side job to a helper.
- Skills, hooks and subagentsHow to steer Claude in a project, explained like onboarding a new colleague. House rules on the fridge, recipe cards in a drawer, smoke alarms that always go off, specialists you send out, and the keys you hand over.
- MCP servers and pluginsHow Claude reaches other systems and how to package your setup, explained with phone lines to other departments, checking the street sign, a ready-packed toolbox and an app store. With animated diagrams and a picker.
- Permissions and safetyWhat Claude may do without asking, what it must ask for, and what stays locked, explained with keys, a knock on the door and the walls of the room. With animated diagrams and a picker.
- Context and costWhy a long session gets slower, vaguer and more expensive, and how to keep Claude's desk clear with /clear, /compact, helpers and short rules. With animated diagrams and a picker.
- Specs as the source of truthSpec-driven development with Claude Code, explained like building from the architect's drawings. Principles, a spec with numbered acceptance criteria, a plan you approve, and tasks that point back. With diagrams and a picker.
- Contract firstHow to stop Claude inventing field names, explained like a menu the kitchen must cook from. A contract file, generated types, a rule in CLAUDE.md and a type check hook. With diagrams and a picker.
- Verify against the specHow to prove Claude's work is done, explained like an inspector walking the house with the drawings. One verify command, tests named after acceptance criteria, a Stop hook, reviewer subagents and an evidence table.
- Handoffs and memoryHow tomorrow's Claude session starts where today's left off, explained like a shift handover. CLAUDE.md, auto memory, a handoff note, tasks and decision records. With diagrams and a picker.
- Your setup as a kitPacking everything from this series into one Claude Code plugin you can install in any project, explained like the manual and toolkit a new branch of a shop opens with. With a folder map, diagrams and a picker.
- Rolling it outTaking a spec-first Claude Code setup from one person to a whole team in four weeks, explained like a kitchen learning a new menu, and measuring what you can actually see. With diagrams, a checklist and a picker.