MiniCTRM - Build Tutorial 521: The repository and CLAUDE.md: rules, plans, ADRs, settings, skills and hooks
→ to begin · N for the speaker notes
On a phone: Next or a swipe left to begin, Notes for the words.
What you'll learn
A CLAUDE.md of hard rules with the desk handbook beside it, a plans folder and a decisions folder, permission rules for the commands you trust, a ship skill, and a hook that runs the tests after every change.
CLAUDE.md – The rules file Claude reads at the start of every conversation, and the desk handbook beside it.
Plans and decisions – One folder for plans, one for decisions that are expensive to reverse.
Permissions, skills and hooks – Stop answering the same question; a procedure by name; a rule that always runs.
Folder rules and your own memory – Rules for one folder, rules for you alone, and what Claude remembers by itself.
Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.
Welcome
Scaffolding first
1 / 15CLAUDE.md
The file Claude reads every time
2 / 15CLAUDE.md
Let Claude write the first draft
3 / 15CLAUDE.md
Rewrite it as hard rules
4 / 15CLAUDE.md
The desk handbook, saved beside the rules
5 / 15Plans and decisions
Plans, and decisions that are expensive to reverse
6 / 15Plans and decisions
Set up the two folders
7 / 15Permissions, skills and hooks
Permissions for the commands you trust
8 / 15Permissions, skills and hooks
A skill: a procedure by name
9 / 15Permissions, skills and hooks
A hook: a rule that always runs
10 / 15Folder rules and your own memory
Folder rules, your rules, and Claude's own memory
11 / 15Folder rules and your own memory
How MiniCTRM did it
12 / 15What you have now
Ask what will change
13 / 15What you have now
Commit, and a note
14 / 15What you have now
What you have now
15 / 15
You have finished lesson 521, The repository and CLAUDE.md: rules, plans, ADRs, settings, skills and hooks.