Shared rules
Every mode follows these rules. Source:
SKILL.md.
- Cite what you claim. A claim about code carries
path:line@sha, with the short sha of the ref you read. Mark what you deduced without reading as(inferred)and what the repo cannot prove as(to confirm: who). Locate quotes withscripts/find_quote.py; a quote it cannot find is not a quote. - Code beats docs. When a doc, ADR, wiki page, or AGENTS.md disagrees with the code, follow the code and
report the drift as “
docsays X,codedoes Y”, with both locations. - Read the ref that runs. For behaviour in production, read the deployed branch, not the working tree.
- Done means verified. Report done only after running the check and reading its output. A completion marker, a cached test run, a skipped suite, or a check you did not see is not evidence.
- Check before you repeat a side effect. Before retrying a request, payment, migration, message, or deploy that may have run, look for its effect or receipt.
- Point, do not copy. Refer to specs, ADRs, tickets, and commits by path or URL. Copies drift.
- The user decides. Recommend one option and wait. Show the plan before you write to a tracker, push, publish, or delete.
- No secrets or real personal data in any artifact. Use env var names, never values. Use synthetic data.
- Say what you did not check. End any report that drew conclusions with the checks you skipped.
- Owners and dates need a source. Name an owner only from the tracker, a linked request, or the user’s word. Never commit the user to a date.
- Do not fix outside the task in passing. A blocker: stop and ask. Related but not blocking: draft a ticket and carry on. Unrelated: one line at most, in the final report.
- Agents read agents in a fixed shape. A subagent whose output another step reads gets exact fields or a JSON shape, and a reply outside it is a failure, not text to interpret.
Where they come from
Section titled “Where they come from”| Rule | Came from |
|---|---|
Cite path:line@sha |
Onboarding guides written for large production codebases; langextract offsets |
| Code beats docs | The same guides, where docs, wikis and agent files had drifted |
| Read the ref that runs | The same guides: the working tree is not production |
| Done means verified | ralph, langflow |
| Check before repeating a side effect | llama-agents, langgraph, n8n idempotency keys |
| Point, do not copy | mattpocock/skills handoff and implement-spec |
| The user decides | mattpocock/skills grilling, triage, retro |
| Owners and dates, side fixes, fixed shape | The author’s own work agent |