MiniCTRMSearch

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.

Before you start

The lessons this one builds on: 501 Meet Claude Code: install, sign in, your first conversation, 502 Working well with Claude: plan, do, verify, commit; which model, how much effort.

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 / 15
Scaffolding first
CLAUDE.md

The file Claude reads every time

2 / 15
The file Claude reads every time
CLAUDE.md

Let Claude write the first draft

3 / 15
Let Claude write the first draft
CLAUDE.md

Rewrite it as hard rules

4 / 15
Rewrite it as hard rules
CLAUDE.md

The desk handbook, saved beside the rules

5 / 15
The desk handbook, saved beside the rules
Plans and decisions

Plans, and decisions that are expensive to reverse

6 / 15
Plans, and decisions that are expensive to reverse
Plans and decisions

Set up the two folders

7 / 15
Set up the two folders
Permissions, skills and hooks

Permissions for the commands you trust

8 / 15
Permissions for the commands you trust
Permissions, skills and hooks

A skill: a procedure by name

9 / 15
A skill: a procedure by name
Permissions, skills and hooks

A hook: a rule that always runs

10 / 15
A hook: a rule that always runs
Folder rules and your own memory

Folder rules, your rules, and Claude's own memory

11 / 15
Folder rules, your rules, and Claude's own memory
Folder rules and your own memory

How MiniCTRM did it

12 / 15
How MiniCTRM did it
What you have now

Ask what will change

13 / 15
Ask what will change
What you have now

Commit, and a note

14 / 15
Commit, and a note
What you have now

What you have now

15 / 15
What you have now

You have finished lesson 521, The repository and CLAUDE.md: rules, plans, ADRs, settings, skills and hooks.

Where next?

← → move · N notes · Home / End