PurposeBring developers up to speed on agentic coding with Claude Code: one plan, one small exercise, three cadences.BySam Muthu
All pages
  1. HomeThe ticket and the three recordings
  2. ScenarioThe ticket, in three pictures
  3. 3 · PlatformCadence 3 · with an architecture view: the steps
  4. 3 · DoneCadence 3 · the finished result
  5. 2 · SkillsCadence 2 · with skills: the steps
  6. 2 · DoneCadence 2 · the finished result
  7. 1 · StepsCadence 1 · step by step: the steps
  8. 1 · DoneCadence 1 · the finished result
  9. 0 · WorkspaceBefore the cadences: the workspace and the setup
  10. Any OSOne setup for Windows, macOS and Linux
  11. IndexEvery page, with what it holds
Cadence 2: the ticket with skillsworking notes · RB-142 slot separationrunway-2-skills-start

The setup and five more skills. Ticket untouched. One command runs the steps. A person decides twice: the option, and the commit.

What is different in this folder
  • .env: PORT=8164. 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. Laid on top and left uncommitted.
  • git remote origin: fetch works. The push address is DISABLED_demo_copy_no_push, so nothing can be pushed.
  • README-SETUP.md, WALKTHROUGH.md, .vscode/ and docs/pr/ are listed in .git/info/exclude, so git never shows them.

~/Projects/runway-2-skills-start

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

1 Terminal: typed in a terminal1 Claude Code: typed into Claude Code1 Skill: a skill, started by its slash name1 Decision: a person decides, then types it1 Look: a person reads or checks1 Git: version control

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
Expect
  • After the first prompt: the title, RB-142, and the four acceptance criteria. Nothing is changed.
  • The recorded run typed /ticket-to-commit 8 on 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 seed and wipes the data file.
Where the skill stops

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.

Reference run
  • 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.
Expect
  • 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.
Where the skill stops

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.

Reference run
  • 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
Expect
  • 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 --keep the 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.
Where the skill stops

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.
Expect
  • 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 test ends 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 --short showed one entry, ?? docs/pr/. In this folder docs/pr/ is listed in .git/info/exclude, so the output is empty.
Where the skill stops

The skill ends here. Nothing is pushed: the push address of this folder is switched off.

Check by hand
  • git log --oneline main..HEAD and cat docs/pr/*.md.
Reference run
  • 35.8 s (0:36) of work by Claude Code.
How a file got here

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.
What the git history says, before the ticket

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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

.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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

.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 itPart 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 stepsNo step on this page.
Files
.claude/hooks/guard-check.sh new
.claude/hooks/guard-data-file.sh new
.claude/hooks/guard_check.py new
.claude/hooks/guard_data_file.py new
.claude/hooks/guard_examples.txt new
GitNew, not committed yet.

.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 itPart 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 stepsNo step on this page.
Files
.claude/skills/ticket-approach/SKILL.md new
.claude/skills/ticket-approach/template.md new
GitNew, not committed yet.

.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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

.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 itPart 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 stepsC2 · step 1, Start the skill
GitNew, not committed yet.

.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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

.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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

.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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

.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 itPart 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 stepsNo step on this page.
GitNew, not committed yet.

.claude/skills/commit-change/SKILL.md

.envThe settings of this folderMade when the folder was builtThe port of this folder and the address of the data file.
Who added itMade when the folder was built. make install copies it from .env.example. The kit writes the port.
GitOnly 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 itMade when the folder was built. Made by make seed when the folder was built.
GitOnly 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 itMade when the folder was built. Written by setups/make.sh.
GitOnly in this folder. Git leaves it out, so no commit can contain it.

README-SETUP.md

WALKTHROUGH.mdThe steps of this page, as MarkdownMade when the folder was builtThe same steps, to read inside the editor.
Who added itMade when the folder was built. Written by notes/build.py --folders.
GitOnly in this folder. Git leaves it out, so no commit can contain it.

WALKTHROUGH.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 itMade when the folder was built. Written by setups/vscode.sh.
GitOnly 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 itMade when the folder was built. Written when the folder was marked as trusted.
GitOnly in this folder. Git leaves it out, so no commit can contain it.
See the resultThe change is built. Now see that it works.

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
Claude Code in this folderWhat to type, and what this folder gives Claude Code.
/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.
What it tells Claude Code
  • 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 itType /ticket-to-commit in Claude Code, then: issue number, ticket text, or a path to a file with the ticket.
Who can start itA person only. Claude Code cannot start it by itself (disable-model-invocation: true).
In the stepsC2 · step 1, Start the skill
GitNew in this folder, not committed yet.

.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.
What it tells Claude Code
  • 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 itType /build-change in Claude Code, then: path to the approach note in docs/approach/; empty = the newest note.
Who can start itA person only. Claude Code cannot start it by itself (disable-model-invocation: true).
In the stepsRun from /ticket-to-commit.
GitNew in this folder, not committed yet.

.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.
What it tells Claude Code
  • 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 itType /commit-change in Claude Code, then: prepare | commit; empty = prepare, ask, then commit.
Who can start itA person only. Claude Code cannot start it by itself (disable-model-invocation: true).
In the stepsRun from /ticket-to-commit.
GitNew in this folder, not committed yet.

.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.
What it tells Claude Code
  • 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 itType /review-change in Claude Code, then: optional path to the approach note in docs/approach/.
Who can start itA person only. Claude Code cannot start it by itself (disable-model-invocation: true).
In the stepsRun from /ticket-to-commit.
ToolsOnly 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)
GitNew in this folder, not committed yet.

.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.
What it tells Claude Code
  • 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 itType /show-change in Claude Code, then: path to the approach note in docs/approach/; empty = the newest note.
Who can start itA person only. Claude Code cannot start it by itself (disable-model-invocation: true).
In the stepsRun from /ticket-to-commit.
GitNew in this folder, not committed yet.

.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.
What it tells Claude Code
  • 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 itType /ticket-approach in Claude Code, then: issue number or ticket text; empty = the ticket already in the conversation.
Who can start itA person only. Claude Code cannot start it by itself (disable-model-invocation: true).
In the stepsRun from /ticket-options.
ToolsOnly 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 *)
GitNew in this folder, not committed yet.

.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.
What it tells Claude Code
  • 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 itType /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 itA person only. Claude Code cannot start it by itself (disable-model-invocation: true).
In the stepsRun from /ticket-to-commit.
GitNew in this folder, not committed yet.

.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.
How it works
  • 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.
EventPreToolUse, tools: Bash
Command"${CLAUDE_PROJECT_DIR}/.claude/hooks/guard-data-file.sh"
Registered in.claude/settings.json
GitNew in this folder, not committed yet.

.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.
How it works
  • 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.
EventPostToolUse, tools: Edit|Write
Command"${CLAUDE_PROJECT_DIR}/.claude/hooks/ruff-format-file.sh"
Registered in.claude/settings.json
GitNew in this folder, not committed yet.

.claude/hooks/ruff-format-file.sh

CLAUDE.mdThe memory fileLoaded into every Claude Code session in this repository.
What it is for
  • 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.
Size78 lines
GitNew in this folder, not committed yet.

CLAUDE.md

CLAUDE-SETUP.mdA first hour with this setupFor a team member who is new to the setup.
What it is for
  • What the repository holds for Claude Code, and how to try each part.
Size64 lines
GitNew in this folder, not committed yet.

CLAUDE-SETUP.md

.claude/settings.jsonThe shared settingsIn the repository, so the same for everyone on the team.
What it is for
  • The deny rules: editing .env, and git push.
  • The hooks are registered here: which event, which tool, which script.
Never allowedEdit(./.env) Write(./.env) Bash(git push *) Bash(git push)
GitNew in this folder, not committed yet.

.claude/settings.json

.claude/settings.local.jsonThe local settingsOnly on this machine. Git leaves the file out.
What it is for
  • The permission mode of this machine. Not part of the team's setup.
Default modebypassPermissions
GitOnly 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
WordsA word comes up, and the short answer is here.
CadenceThe rhythm of the work: how often a person decides, and how much the tool does between two decisions.
More
  • The ticket is the same in all three cadences, so only the way of working changes.
In this repositoryThree: step by step, with skills, with the architecture view.
Not the same asA process. It is one ticket, done three ways.
Memory fileCLAUDE.md. Claude Code loads it into every session in this repository.
More
  • Claude Code reads it and usually follows it. Nothing forces it to.
In this repositoryHow to run and test, the traps, the layout, and what needs a person's yes.
Not the same asThe settings, which are enforced.

CLAUDE.md

Deny ruleA line in .claude/settings.json that names something Claude Code may never do.
In this repositoryTwo things are denied: editing .env, and git push.
Not the same asA 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.
More
  • A hook that runs before a tool call can block the call. Claude Code then reads the reason.
In this repositoryThe guard for the data file runs before every shell command. The format hook runs after Edit or Write.
Not the same asA 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.
More
  • Every skill of this setup can be started only by a person.
In this repositoryTwo in the base setup. Five more that run a ticket. Five more for the architecture view.
Not the same asA 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.
More
  • Claude Code never fills a Decision line. A person does.
In this repositoryWritten by /ticket-approach or /ticket-options.
Not the same asA 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.
More
  • Each one gets one or more tests, and one PASS or FAIL line of the show script.
In this repositoryRB-142 has four.
Not the same asA 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.
More
  • The seconds do not include the time a person needs to read an answer and to decide.
In this repositoryIn the kit, under runs/. A planned time on this page is a reference time.
Not the same asYour own time, which the page measures with Start and End.
Run and testStart the app, call it, test it.

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
The repositoryThe ticket and the history.

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