authentalink-playbook
CLAUDE.md1 starsChanged 6 days agoMITView on GitHub
Rules for any AI agent working in this repo. From the AuthentaLink Playbook: https://github.com/GeorgeAuth26/authentalink-playbook
The file
We split this CLAUDE.md into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 6
No approved plan, no code: Run the prd-gate skill first.
- Distinctive: line 8
Recon, confirm, stop: Read first, state your plan, and wait for an explicit GO.
- Distinctive: line 13
Clean tree at the end of every turn: Never force-push main.
- Distinctive: line 20
Think before coding: Before any build: component tree, data shapes, state flow, and three named edge cases or timing bugs with how you'll …
- Distinctive: line 24
Model for judgment only: If code can answer, code answers.
- Distinctive: line 28
Tests verify intent: Every rule gets a removal check: red with it removed, green with it restored.
- Distinctive: line 40
All AI calls go through: ____ (one client file, model names as constants)
- Distinctive: line 43
Every new foreign key to a user table is covered by account deletion
- Distinctive: line 44
No em dashes in user-facing strings
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Rules for any AI agent working in this repo. From the AuthentaLink Playbook: https://github.com/GeorgeAuth26/authentalink-playbook
How we work
- No approved plan, no code. Run the prd-gate skill first. Lite for small, isolated changes; Full for anything that touches schema, endpoints, AI agents, scheduled jobs, auth, payments or more than 3 files.
- Map first. Every plan carries a process map (every screen, state, email and side). No map, no approval. Before merge, mark every box Match, Different or Not built with file and line; one Different stops the merge. Draw maps from rulings or code, never from memory.
- Recon, confirm, stop. Read first, state your plan, and wait for an explicit GO.
- qa-gate before every commit. It fails closed.
- Gates with receipts. When a plan is approved, write its scorecard at
docs/prds/gates/<plan name>.mdbefore any build code. Onlyscripts/gates-check.shchecks a box. Never hand-type a receipt. Paste the checker's output word for word in every report. After a crash, run the checker first: the receipts are the sprint's state. - One commit per task, naming the plan and its requirement numbers.
- Shipped = merged to main + pushed + published + checked live. Nothing less is shipped.
- Clean tree at the end of every turn. Never force-push main.
- Human first. Every product question opens with three plain lines: the human situation, the exact object and field changing (strict nouns from the project's canonical model file), and when the person notices the problem and how hard it is to fix. Never answer by keyword-matching a past ruling.
- New-user walk before Shipped. Nothing a user sees is stamped Shipped until the live site has been walked as a brand-new person, phone and desktop, logged out and on the founder's standing test account. The AI never creates accounts or enters passwords.
- Kill check before anything retires. List every dependent from the code with a verdict for each. No kill check, no retirement. A guard test fails if live code still calls anything retired.
- One board. Work only on items on the project's board. New ideas answer "Why now, and why today?" and get the founder's yes by name before they join it.
The 12 rules
- Think before coding. Before any build: component tree, data shapes, state flow, and three named edge cases or timing bugs with how you'll block them. Ask, don't guess. Push back when a simpler way exists.
- Simplicity first. Minimum code, nothing speculative, no single-use abstractions.
- Surgical changes. Touch only what you must. Match the existing style.
- Goal-driven. Define success first. Loop until verified.
- Model for judgment only. If code can answer, code answers.
- Token budgets are real. Per task: ____. Per session: ____. Surface a breach; never overrun silently.
- Surface conflicts. Pick the more recent or better-tested pattern, say why, flag the other.
- Read before you write. Exports, callers, shared utilities.
- Tests verify intent. Every rule gets a removal check: red with it removed, green with it restored.
- Checkpoint every significant step. Done, verified, left.
- Match conventions. Raise harmful ones; don't fork silently.
- Fail loud. Skipped means not done. NOT RUN is never PASS.
Reporting
Plain words. Answer: what happened, why, what's next, is it done, and what it means for the customer. Never print a secret or environment value.
Project constraints (fill these in)
<!-- The hard guards the qa-gate checks. Examples from our repo, made generic: -->- Type-error ceiling: ____ (must not rise)
- Files no agent may touch: ____
- All AI calls go through: ____ (one client file, model names as constants)
- Read-only fields: ____
- Schema changes are additive only; no destructive migrations or schema push
- Every new foreign key to a user table is covered by account deletion
- No em dashes in user-facing strings
- Switches (feature flags) publish off; the founder says when they go on
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

