The ticket carried out with skills. 3 prompts, 5 commits, 79 tests pass. The four criteria pass on the running app. Read the result here. The work starts in runway-2-skills-start.
.env:PORT=8165. A fresh clone says 8160. Seven folders run on one machine.- The Claude Code setup, plus five skills that take a ticket from reading to commit.
- The ticket is carried out and committed here. The prompts, answers and times are in the kit:
runs/runway-2-skills-done/. - git remote
origin: fetch works. The push address isDISABLED_demo_copy_no_push, so nothing can be pushed. README-SETUP.md,WALKTHROUGH.md,.vscode/anddocs/pr/are listed in.git/info/exclude, so git never shows them.
~/Projects/runway-2-skills-done
The steps of this page, in order, each with what to type. The colour of a step's number is its kind. Sections and groups open and close, on the page and in the list on the left, and the two stay the same. Tick a step when it is done, on the page or in the list. Every group and every section counts its done steps. The time beside a step, a group or a section is rounded: ~2 min, or ~2–3 min. A time marked planned is the time of the recorded reference run, which is the work of Claude Code only. Press Start and End on a step and your own time takes its place.
Platform These steps were prepared and run on macOS. They run the same on Linux. On Windows, work inside WSL 2 or a dev container. Other operating systems
Start the skill Skill
The skill holds no method of its own. It runs the team's skills in a fixed order: options, build with tests first, review by a separate agent, a script that shows the result, commit.
Open the Claude Code panel in the VS Code window of the folder (the Spark icon, top right of the editor). First give the ticket
The ticket for this session is GitHub issue 8. Read it with `gh issue view 8`, then show me its title and its acceptance criteria. Change nothing.
Then start the skill, without a number. It uses the ticket of the conversation
/ticket-to-commit
- After the first prompt: the title, RB-142, and the four acceptance criteria. Nothing is changed.
- The recorded run typed
/ticket-to-commit 8on one line. Here the ticket comes first, so the skill starts with the ticket already in the conversation and has nothing to ask. - In the Claude Code panel of VS Code, a skill picked from the
/list starts at once. Nothing can be typed after its name. So what the skill needs is given first, as a normal message. - It reads issue 8, researches the code and its history, and writes the approach note in
docs/approach/. No code and no tests. - A table of what every option answers the same way: released slots count, exactly at the limit is accepted, the HEAVY rule works in both directions, and the nearest flight is named.
- Three options. A: a service on the database, recommended. B: the check in the route, with the old switch kept. C: the service and a clean table, which needs
make seedand wipes the data file.
Stop 1. Two questions: which option, and may the check at the end create test flights and slots in the data file. Nothing is built before the answer.
- 90.9 s (1:31) of work by Claude Code.
Stop 1: choose the option Decision
This is the first of the two decisions. The reason goes into the answer, so the note records why, and not only what.
The answer of the recorded run, as one example. The choice is yours
A, yes. Question 1: option A. My reason: the rule must read the slots where they are stored, so it survives a restart and sees a cancellation at once. A removes both old attempts from the code, so there is one rule and not two. It changes no table, so nobody has to seed again and lose a data file. I accept that the column `slot_bucket` stays in the table, unwritten: say so in the code and in the note. I also accept your answers to the open questions: released slots count, exactly at the limit is accepted, the HEAVY rule looks at the earlier flight of each pair, `next_free_at` is the earliest accepted time at or after the requested time, and the response names the nearest flight. Question 2: yes. The script may create test flights and slots on the running app in this folder. Continue to stop 2 without asking me anything else.
- Then the skill works without a question: the branch
rb-142-slot-separation, tests first, the service, the route, the documents. - Seven of the first tests passed before any code existed. Claude rewrote them, so each one first asks for a slot that must be refused.
- Two reviews, each by a new separate agent, both Ready. The first had seven non-blocking findings, and the real ones were fixed, tests first.
- The show script printed one FAIL on its first run. The fault was in the script's check of the board page, not in the app.
- 79 passed. Before: 61 passed and 1 skipped.
Stop 2. A summary in seven parts: criteria, numbers, see it yourself, decisions, earlier attempts, open, the commit plan. Nothing is committed. The question: commit as planned, or change something first. Findings that need a person are part of the same question.
- 469.5 s (7:50) of work by Claude Code.
Look before the yes Look
The second decision is only a decision when the person has looked. The summary names one command for the script and one for the change.
Take both commands from the summary. In the recorded run
.venv/bin/python scripts/show_rb-142-minimum-separation.py git status --short && git diff --stat
- This step is the person's: it has no prompt and no reference time.
- The script prints five lines, all PASS. The fourth criterion has two lines.
- The address of the board stands in the summary. With
--keepthe script leaves its slots on the board. - Part 6 of the summary holds behaviour the ticket does not mention. In the recorded run: A, a flight within 120 seconds of its own released slot is refused. B, a second request without a time in the same minute is refused.
- The pull request text is in
docs/pr/, for the person to read.
The skill is still waiting at stop 2.
Stop 2: commit, and answer the open findings Decision
The second decision: the commit, and one answer for every finding that needs a person.
The answer of the recorded run, as one example
Commit as planned. Finding A: keep it as it is. A released slot means the runway was used at that time, whoever the flight was. Write one line about it in the pull request text. Finding B: keep it as it is. It follows from the first acceptance criterion. Write it in the pull request text as a behaviour the tower should know about. Do not open a ticket. Do not push.
- Five commits: the rule (it replaces the RB-97 check), the RB-118 code removed with the column kept, the documents, the note with the script, and the setup.
make testends with 79 passed, and the lint passes.- Both answers are written into the pull request text, in a section about behaviour the tower should know about. No ticket was opened.
- The recorded
git status --shortshowed one entry,?? docs/pr/. In this folderdocs/pr/is listed in.git/info/exclude, so the output is empty.
The skill ends here. Nothing is pushed: the push address of this folder is switched off.
git log --oneline main..HEADandcat docs/pr/*.md.
- 35.8 s (0:36) of work by Claude Code.
A fresh clone holds no file for Claude Code. Every item below says who added it, in one of these ways.
- Part of the prepared setup The memory file, the settings, the hooks, the skills and the architecture view. Written for Runway Board, from its code. In the prepared folders setups/make.sh copies it from the kit. In the fresh clone, section B builds it with prompts.
- Claude Code wrote it, during the ticket Made or changed while the ticket was carried out. A person read it before the commit.
- Made when the folder was built Belongs to this copy only: its port, its data, its notes. Git never shows it.
The repository comes with its history, and the ticket cannot be done well without it. This history is constructed for teaching. Counted from git: 54 commits, from June 2026 to November 2026, by 3 authors: Ilse Brandt (20), Tomas Wrona (20), Nadia Okoye (14).
A first attempt at the rule exists: RB-97, a list in memory.
Commits db99fd3 and 5da9dbe added a separation check to POST /slots that keeps recent slots in the memory of the process. Commit 7b5dc34 (RB-103) switched it off by default. The ticket has to say what happens to this code.
git log --oneline --grep RB-97 --grep RB-103
A second attempt exists: RB-118, a minute bucket.
Commit e1826f8 added the column slot_bucket, 77a2cc4 a test that is skipped, and 01a5996 a note that the work is parked. The column is written on every new slot and nothing reads it.
git log --oneline --grep RB-118
The README names a command that is gone.
Commit 2d93bb8 removed make reset-db and made make seed the only reset. make seed drops every table before it loads the sample data.
git show --stat 2d93bb8
The history shows how commits are named.
One short line, lowercase, the ticket key first when there is one. The commits of the ticket follow that style.
git log --oneline -12
Where it is used Every cadence reads the history before it proposes anything. Steps: C2 · step 1, Start the skill.
CLAUDE.mdThe memory filePart of the prepared setupHow to run and test, the traps, the layout, and what needs a person's yes.
| Who added it | Part of the prepared setup. In the prepared folders setups/make.sh copies it from the kit. In the fresh clone, section B builds it with prompts. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
CLAUDE.md
CLAUDE-SETUP.mdA first hour with this setupPart of the prepared setupFor a team member who is new to it: what is here for Claude Code, and how to try each part.
| Who added it | Part of the prepared setup. In the prepared folders setups/make.sh copies it from the kit. In the fresh clone, section B builds it with prompts. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
CLAUDE-SETUP.md
.claude/settings.jsonThe shared settingsPart of the prepared setupThe deny rules and the hooks. The same for everyone on the team.
| Who added it | Part of the prepared setup. In the prepared folders setups/make.sh copies it from the kit. In the fresh clone, section B builds it with prompts. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
.claude/settings.json
.claude/hooks/ruff-format-file.shHook: format the edited Python filePart of the prepared setupAfter Claude Code edits a .py file, ruff formats that one file.
| Who added it | Part of the prepared setup. In the prepared folders setups/make.sh copies it from the kit. In the fresh clone, section B builds it with prompts. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
.claude/hooks/ruff-format-file.sh
.claude/hooks/ · 5 filesHook: the guard for the data filePart of the prepared setupIt blocks make seed and the other commands that wipe the data file, and allows the same command on a scratch file.
| Who added it | Part of the prepared setup. In the prepared folders setups/make.sh copies it from the kit. In the fresh clone, section B builds it with prompts. |
|---|---|
| The steps | No step on this page. |
| Files | .claude/hooks/guard-check.sh committed .claude/hooks/guard-data-file.sh committed .claude/hooks/guard_check.py committed .claude/hooks/guard_data_file.py committed .claude/hooks/guard_examples.txt committed |
| Git | Committed on this branch. |
.claude/hooks/guard_data_file.py
.claude/skills/ticket-approach/ · 2 filesSkill: /ticket-approachPart of the prepared setupStart a ticket: the approach note. Planning only. The one file it creates is the note in docs/approach. No code, no tests, no stubs.
| Who added it | Part of the prepared setup. In the prepared folders setups/make.sh copies it from the kit. In the fresh clone, section B builds it with prompts. |
|---|---|
| The steps | No step on this page. |
| Files | .claude/skills/ticket-approach/SKILL.md committed .claude/skills/ticket-approach/template.md committed |
| Git | Committed on this branch. |
.claude/skills/ticket-approach/SKILL.md
.claude/skills/review-change/SKILL.mdSkill: /review-changePart of the prepared setupReview a change before the commit. Read-only. It reports and fixes nothing: the person decides what to change.
| Who added it | Part of the prepared setup. In the prepared folders setups/make.sh copies it from the kit. In the fresh clone, section B builds it with prompts. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
.claude/skills/review-change/SKILL.md
.claude/skills/ticket-to-commit/SKILL.mdSkill: /ticket-to-commitPart of the prepared setupOne ticket from reading to commits. It holds no method of its own. It runs the other skills in a fixed order.
| Who added it | Part of the prepared setup. From the kit's skill layer: the steps of cadence 1, written down once so that one command starts them. |
|---|---|
| The steps | C2 · step 1, Start the skill |
| Git | Committed on this branch. |
.claude/skills/ticket-to-commit/SKILL.md
.claude/skills/ticket-options/SKILL.mdSkill: /ticket-optionsPart of the prepared setupA ticket as two or three options. It reads the ticket, researches the repository, and proposes two or three complete ways, with one recommendation.
| Who added it | Part of the prepared setup. From the kit's skill layer: the steps of cadence 1, written down once so that one command starts them. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
.claude/skills/ticket-options/SKILL.md
.claude/skills/build-change/SKILL.mdSkill: /build-changePart of the prepared setupBuild the decided note, tests first. It stops when the Decision line of the note is empty.
| Who added it | Part of the prepared setup. From the kit's skill layer: the steps of cadence 1, written down once so that one command starts them. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
.claude/skills/build-change/SKILL.md
.claude/skills/show-change/SKILL.mdSkill: /show-changePart of the prepared setupShow the change on the running app. One script, run with one command. One PASS or FAIL line per acceptance criterion.
| Who added it | Part of the prepared setup. From the kit's skill layer: the steps of cadence 1, written down once so that one command starts them. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
.claude/skills/show-change/SKILL.md
.claude/skills/commit-change/SKILL.mdSkill: /commit-changePart of the prepared setupCommit, after a person's yes. Part 1 brings CLAUDE.md up to date, plans one logical change per commit, and writes the pull request text.
| Who added it | Part of the prepared setup. From the kit's skill layer: the steps of cadence 1, written down once so that one command starts them. |
|---|---|
| The steps | No step on this page. |
| Git | Committed on this branch. |
.claude/skills/commit-change/SKILL.md
docs/approach/ · 2 filesThe approach noteClaude Code wrote it, during the ticketThe ticket, the options, the decisions and the tests, written before the code.
| Who added it | Claude Code wrote it, during the ticket. Written by Claude Code. The Decision lines are a person's. |
|---|---|
| The steps | C2 · step 2, Stop 1: choose the option |
| Files | docs/approach/2026-11-26-rb-142-minimum-separation.md committed docs/approach/2026-11-27-issue-3-closed-since-utc.md committed |
| Git | Committed on this branch. |
docs/approach/2026-11-26-rb-142-minimum-separation.md
tests/ · 7 filesThe tests of the changeClaude Code wrote it, during the ticketOne or more tests for each acceptance criterion, with fixed slot times.
| Who added it | Claude Code wrote it, during the ticket. Written before the code. |
|---|---|
| The steps | No step on this page. |
| Files | tests/conftest.py committed tests/test_board.py committed tests/test_buckets.py deletedtests/test_runways.py committed tests/test_separation.py committed tests/test_sequence.py committed tests/test_slots.py committed |
| Git | Committed on this branch. Removed by the change. |
tests/conftest.py
runway_board/ · 9 filesThe code of the changeClaude Code wrote it, during the ticketThe separation rule, and what happened to the two earlier attempts.
| Who added it | Claude Code wrote it, during the ticket. Written in small steps, with the tests of each step run after it. |
|---|---|
| The steps | No step on this page. |
| Files | runway_board/config.py committed runway_board/models.py committed runway_board/routes/board.py committed runway_board/routes/runways.py committed runway_board/routes/slots.py committed runway_board/schemas.py committed runway_board/seed.py committed runway_board/services/buckets.py deletedrunway_board/services/separation.py committed |
| Git | Committed on this branch. Removed by the change. |
runway_board/config.py
scripts/ · 2 filesThe show scriptClaude Code wrote it, during the ticketOne PASS or FAIL line per acceptance criterion, against the running app.
| Who added it | Claude Code wrote it, during the ticket. Written after the review. |
|---|---|
| The steps | C2 · step 3, Look before the yes |
| Files | scripts/show_issue-3-closed-since-utc.py committed scripts/show_rb-142-minimum-separation.py committed |
| Git | Committed on this branch. |
scripts/show_issue-3-closed-since-utc.py
other files · 3 filesOther files of the workClaude Code wrote it, during the ticketFiles that the work changed and that have no story of their own here.
| Who added it | Claude Code wrote it, during the ticket. Changed during the work. |
|---|---|
| The steps | No step on this page. |
| Files | .env.example committed ARCHITECTURE.md committed README.md committed |
| Git | Committed on this branch. |
.env.example
.envThe settings of this folderMade when the folder was builtThe port of this folder and the address of the data file.
| Who added it | Made when the folder was built. make install copies it from .env.example. The kit writes the port. |
|---|---|
| Git | Only in this folder. Git leaves it out, so no commit can contain it. |
.env
runway_board.dbThe data fileMade when the folder was builtAll data of this folder, in one SQLite file.
| Who added it | Made when the folder was built. Made by make seed when the folder was built. |
|---|---|
| Git | Only in this folder. Git leaves it out, so no commit can contain it. |
README-SETUP.mdWhat this folder isMade when the folder was builtThe state of the folder and how it differs from a fresh clone.
| Who added it | Made when the folder was built. Written by setups/make.sh. |
|---|---|
| Git | Only in this folder. Git leaves it out, so no commit can contain it. |
README-SETUP.md
.vscode/settings.jsonWindow title and colourMade when the folder was builtThe VS Code window of this folder has the colour of this page's bar.
| Who added it | Made when the folder was built. Written by setups/vscode.sh. |
|---|---|
| Git | Only in this folder. Git leaves it out, so no commit can contain it. |
.vscode/settings.json
.claude/settings.local.jsonThe local settingsMade when the folder was builtThe permission mode of this machine.
| Who added it | Made when the folder was built. Written when the folder was marked as trusted. |
|---|---|
| Git | Only in this folder. Git leaves it out, so no commit can contain it. |
docs/prThe pull request textMade when the folder was builtWhat changed and why, for a person to read. It is not part of a commit.
| Who added it | Made when the folder was built. Written by Claude Code at the commit step. |
|---|---|
| The steps | C2 · step 4, Stop 2: commit, and answer the open findings |
| Git | Only in this folder. Git leaves it out, so no commit can contain it. |
Each acceptance criterion on the running app
One PASS or FAIL line per criterion. The script exists once the change is built. If it says the app does not answer, run ./start.sh first
.venv/bin/python scripts/show_*.py
The board, as the tower team sees it
open http://127.0.0.1:$(grep '^PORT=' .env | cut -d= -f2)/board
All tests
Before the ticket: 61 pass, 1 is skipped
make test
The lint and the format
make lint && .venv/bin/ruff format --check .
The files of the change
Before the commit
git status --short && git diff --stat
The commits of the change
After the commit
git log --oneline origin/main..HEAD && git status --short
/ticket-to-commitOne ticket from reading to commitsTake one ticket from reading to commits by running the team's skills in order (options, build tests first, independent review, a script that shows the result, commit). A person decides twice, the option at the start and the commit at the end. Started only by a person.
- It holds no method of its own. It runs the other skills in a fixed order.
- It stops twice for a person: the option at the start, the commit at the end.
- Between the two stops it asks nothing.
| How to start it | Type /ticket-to-commit in Claude Code, then: issue number, ticket text, or a path to a file with the ticket. |
|---|---|
| Who can start it | A person only. Claude Code cannot start it by itself (disable-model-invocation: true). |
| In the steps | C2 · step 1, Start the skill |
| Git | In git. |
.claude/skills/ticket-to-commit/SKILL.md
/build-changeBuild the decided note, tests firstImplement a decided approach note, tests first. Write the tests, see them fail for the right reason, then write the code in small steps until the tests and the lint pass. Makes no commit.
- It stops when the Decision line of the note is empty.
- The tests come first and must fail for the right reason. A new test that passes before the code proves nothing.
- Every slot time in a test is a fixed value. No test reads the real clock.
- It makes no commit.
| How to start it | Type /build-change in Claude Code, then: path to the approach note in docs/approach/; empty = the newest note. |
|---|---|
| Who can start it | A person only. Claude Code cannot start it by itself (disable-model-invocation: true). |
| In the steps | Run from /ticket-to-commit. |
| Git | In git. |
.claude/skills/build-change/SKILL.md
/commit-changeCommit, after a person's yesMake a reviewed change ready for commit and commit it after a person's yes. Brings CLAUDE.md up to date, plans one logical change per commit, commits, and writes the pull request text. Never pushes.
- Part 1 brings CLAUDE.md up to date, plans one logical change per commit, and writes the pull request text.
- Part 2 commits, only after the person has seen the plan and said yes.
- It never pushes.
| How to start it | Type /commit-change in Claude Code, then: prepare | commit; empty = prepare, ask, then commit. |
|---|---|
| Who can start it | A person only. Claude Code cannot start it by itself (disable-model-invocation: true). |
| In the steps | Run from /ticket-to-commit. |
| Git | In git. |
.claude/skills/commit-change/SKILL.md
/review-changeReview a change before the commitReview the change of a ticket before a commit (tests, acceptance-criteria coverage, CLAUDE.md conventions, missed edge cases, unrelated edits) and end with Ready or Not ready. Read-only; edits nothing.
- Read-only. It reports and fixes nothing: the person decides what to change.
- It runs make test, make lint and the format check, and records each result exactly.
- For every acceptance criterion it names the test that proves it.
- The last line is Ready or Not ready.
| How to start it | Type /review-change in Claude Code, then: optional path to the approach note in docs/approach/. |
|---|---|
| Who can start it | A person only. Claude Code cannot start it by itself (disable-model-invocation: true). |
| In the steps | Run from /ticket-to-commit. |
| Tools | Only these: Read Grep Glob Bash(git diff *) Bash(git status *) Bash(git ls-files *) Bash(git log *) Bash(git show *) Bash(make test) Bash(make lint) Bash(.venv/bin/python -m pytest *) Bash(.venv/bin/ruff check *) Bash(.venv/bin/ruff format --check *) Bash(.claude/hooks/guard-check.sh) |
| Git | In git. |
.claude/skills/review-change/SKILL.md
/show-changeShow the change on the running appWrite one script that a person runs to see the change work against the running app, one PASS or FAIL line per acceptance criterion. Tests prove the code in isolation; this shows the behaviour through HTTP and on the board page.
- One script, run with one command. One PASS or FAIL line per acceptance criterion.
- It goes through HTTP, as a client does, and checks the board page too.
- It uses the running app, or starts one and stops it again.
| How to start it | Type /show-change in Claude Code, then: path to the approach note in docs/approach/; empty = the newest note. |
|---|---|
| Who can start it | A person only. Claude Code cannot start it by itself (disable-model-invocation: true). |
| In the steps | Run from /ticket-to-commit. |
| Git | In git. |
.claude/skills/show-change/SKILL.md
/ticket-approachStart a ticket: the approach noteWrite a short approach note for a ticket in docs/approach/, then walk the person through its open decisions. Planning only; writes no code or tests.
- Planning only. The one file it creates is the note in docs/approach. No code, no tests, no stubs.
- It reads CLAUDE.md, the code and the git history first, and cites what it finds as path:line.
- It walks the person through the open decisions. It never fills a Decision line itself.
| How to start it | Type /ticket-approach in Claude Code, then: issue number or ticket text; empty = the ticket already in the conversation. |
|---|---|
| Who can start it | A person only. Claude Code cannot start it by itself (disable-model-invocation: true). |
| In the steps | Run from /ticket-options. |
| Tools | Only these: Read Grep Glob Write Bash(git log *) Bash(git blame *) Bash(git show *) Bash(git grep *) Bash(ls *) Bash(gh issue view *) Bash(gh issue list *) |
| Git | In git. |
.claude/skills/ticket-approach/SKILL.md · template.md
/ticket-optionsA ticket as two or three optionsRead a ticket, research the repository, and propose two or three complete ways to implement it, with one recommendation. Writes the approach note and asks the person one question. Planning only; writes no code or tests.
- It reads the ticket, researches the repository, and proposes two or three complete ways, with one recommendation.
- It writes the approach note and asks the person one question: which option.
- Planning only. No code and no tests.
| How to start it | Type /ticket-options in Claude Code, then: issue number, ticket text, or a path to a file with the ticket; empty = the ticket already in the conversation. |
|---|---|
| Who can start it | A person only. Claude Code cannot start it by itself (disable-model-invocation: true). |
| In the steps | Run from /ticket-to-commit. |
| Git | In git. |
.claude/skills/ticket-options/SKILL.md
Guard: the data file is not wiped by accidentIt runs before every shell command of Claude Code. It blocks make seed, the other ways to run the seed script, and the common ways to remove the data file.
- The reason: make seed drops every table of runway_board.db before it loads the sample data. The README only says it loads data.
- The same command on a scratch file is allowed: DATABASE_URL=sqlite:///./scratch.db make seed.
- The rule is a small Python file with 56 example commands. guard-check.sh runs them all.
| Event | PreToolUse, tools: Bash |
|---|---|
| Command | "${CLAUDE_PROJECT_DIR}/.claude/hooks/guard-data-file.sh" |
| Registered in | .claude/settings.json |
| Git | In git. |
.claude/hooks/guard-data-file.sh · guard_data_file.py · guard_examples.txt · guard-check.sh
Format the edited Python fileIt runs after every Edit or Write of Claude Code and formats the one .py file that was edited.
- A file that was changed through the shell is not seen by this hook. The gate is the check at the end: ruff format --check.
| Event | PostToolUse, tools: Edit|Write |
|---|---|
| Command | "${CLAUDE_PROJECT_DIR}/.claude/hooks/ruff-format-file.sh" |
| Registered in | .claude/settings.json |
| Git | In git. |
.claude/hooks/ruff-format-file.sh
CLAUDE.mdThe memory fileLoaded into every Claude Code session in this repository.
- How to run and test, the traps, the layout, the conventions, and what needs a person's yes.
- Every line was checked by running it. A wrong line here is repeated in every session.
- Claude Code reads it and usually follows it. Nothing forces it to. The settings and the hooks do the forcing.
| Size | 76 lines |
|---|---|
| Git | In git. |
CLAUDE.md
CLAUDE-SETUP.mdA first hour with this setupFor a team member who is new to the setup.
- What the repository holds for Claude Code, and how to try each part.
| Size | 64 lines |
|---|---|
| Git | In git. |
CLAUDE-SETUP.md
.claude/settings.jsonThe shared settingsIn the repository, so the same for everyone on the team.
- The deny rules: editing .env, and git push.
- The hooks are registered here: which event, which tool, which script.
| Never allowed | Edit(./.env) Write(./.env) Bash(git push *) Bash(git push) |
|---|---|
| Git | In git. |
.claude/settings.json
.claude/settings.local.jsonThe local settingsOnly on this machine. Git leaves the file out.
- The permission mode of this machine. Not part of the team's setup.
| Default mode | bypassPermissions |
|---|---|
| Git | Only in this folder. Git leaves it out, so no commit can contain it. |
.claude/settings.local.json
Give the ticket first
Before any skill that works a ticket
The ticket for this session is GitHub issue 8. Read it with `gh issue view 8`, then show me its title and its acceptance criteria. Change nothing.
Start a ticket with an approach note
Folders with the setup. The ticket is in the conversation
/ticket-approach
Review the change
It ends with Ready or Not ready
/review-change
The whole ticket, with two stops
Folders of cadence 2 and 3. The ticket is in the conversation
/ticket-to-commit
See the plan before any edit
Plan mode. Or click the mode indicator under the prompt box and choose Plan
/plan
CadenceThe rhythm of the work: how often a person decides, and how much the tool does between two decisions.
- The ticket is the same in all three cadences, so only the way of working changes.
| In this repository | Three: step by step, with skills, with the architecture view. |
|---|---|
| Not the same as | A process. It is one ticket, done three ways. |
Memory fileCLAUDE.md. Claude Code loads it into every session in this repository.
- Claude Code reads it and usually follows it. Nothing forces it to.
| In this repository | How to run and test, the traps, the layout, and what needs a person's yes. |
|---|---|
| Not the same as | The settings, which are enforced. |
CLAUDE.md
Deny ruleA line in .claude/settings.json that names something Claude Code may never do.
| In this repository | Two things are denied: editing .env, and git push. |
|---|---|
| Not the same as | A hook, which runs a script and can look at the whole command. |
.claude/settings.json
HookA script that Claude Code runs by itself at a fixed moment, for example before every shell command.
- A hook that runs before a tool call can block the call. Claude Code then reads the reason.
| In this repository | The guard for the data file runs before every shell command. The format hook runs after Edit or Write. |
|---|---|
| Not the same as | A git hook. That one belongs to git and runs at a commit. |
.claude/settings.json
SkillA routine written down once, in .claude/skills/<name>/SKILL.md, and started by its slash name.
- Every skill of this setup can be started only by a person.
| In this repository | Two in the base setup. Five more that run a ticket. Five more for the architecture view. |
|---|---|
| Not the same as | A prompt, which is typed again every time. |
Approach noteA short file in docs/approach, written before any code: the ticket, the options, the decisions, the tests.
- Claude Code never fills a Decision line. A person does.
| In this repository | Written by /ticket-approach or /ticket-options. |
|---|---|
| Not the same as | A plan in the conversation, which is gone when the session ends. |
Acceptance criterionOne numbered sentence of the ticket that a test or a request can show.
- Each one gets one or more tests, and one PASS or FAIL line of the show script.
| In this repository | RB-142 has four. |
|---|---|
| Not the same as | A test. The criterion says what must be true. The test proves it. |
Reference runThe recorded run of a cadence: every prompt, every answer, and the seconds Claude Code worked.
- The seconds do not include the time a person needs to read an answer and to decide.
| In this repository | In the kit, under runs/. A planned time on this page is a reference time. |
|---|---|
| Not the same as | Your own time, which the page measures with Start and End. |
Start it, or start it again
In the background
./start.sh
Stop it
./start.sh stop
Is it running?
./start.sh status
Health check
Expect {"status":"ok","db":"ok"}
curl -s http://127.0.0.1:$(grep '^PORT=' .env | cut -d= -f2)/health
One test
.venv/bin/python -m pytest tests/test_slots.py::test_assign_slot -q
Without the test that reads the real clock
That test fails when the minute changes while it runs
.venv/bin/python -m pytest -m "not wallclock" -q
The guard's own examples
Folders with the setup
.claude/hooks/guard-check.sh
Sample data on a scratch file
The data file stays as it is
DATABASE_URL=sqlite:///./scratch.db make seed
Wipe the data file and load the sample data
It drops every table first. A person types it. The guard hook blocks it for Claude Code
make seed
Read the ticket
RB-142 is GitHub issue 8
gh issue view 8
Where a word came into the code
Change the word
git log --oneline -S'slot_bucket'
Where this folder pushes
The push address is DISABLED_demo_copy_no_push
git remote -v