adr-scribe
Skill4 starsChanged 7 months agoMITView on GitHub
Interactively draft, retro-document, and review Architecture Decision Records (ADRs). The skill detects the usage mode (interview for a new decision, retro-documenting from a PR or code, or reviewing an existing ADR) and enforces the use of the Michael Nygard MADR template. Output format is Markdown. Destination is negotiated (default local filesystem in docs/adr/).
In this repositoryOne other file it gives its agents.
- c4-modelSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
If the context is ambiguous, ask:
- Very specific: line 40
Every ADR must follow the structure defined in adr-template.md (the Michael Nygard MADR format):
- Very specific: line 53
Default: local filesystem, in docs/adr/ (e.g., docs/adr/0001-use-redis-for-caching.md).
- Distinctive: line 54
If an MCP is connected, you can propose saving it to Notion, Google Drive, etc.
- Distinctive: line 57
Max 3 questions per batch: Never drown the user in a form.
- Distinctive: line 61
Explicit trade-offs: Ensure the *Consequences* section includes both positive and negative impacts.
- Distinctive: line 62
Never deliver without validation: Always present a draft and ask: *"Does this accurately reflect the decision?"* before writing the final …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
ADR Scribe — documenting architectural decisions
While C4 diagrams document what the architecture is, an Architecture Decision Record (ADR) documents why it was built that way. This skill acts as a technical scribe to help you capture important architectural decisions consistently.
Mode detection (router)
Always start by identifying the mode.
Signals to infer without asking
| User signal | Mode |
| "We just decided to use X", "Document this decision", "I want to write an ADR" | Interview |
| "Here's a PR that changed our auth", "Infer the decision from this code" | Retro-Document |
| "Is this ADR complete?", pastes an existing ADR | Review |
If the context is ambiguous, ask:
"Do you want to: (a) interview me to draft a new ADR, (b) retro-document a decision from an existing PR/codebase, or (c) review an existing ADR?"
File to load based on the mode
Once the mode is known, read the corresponding file to apply its detailed flow:
| Mode | File |
| Interview | mode-interview.md |
| Retro-Document | mode-retro-document.md |
| Review | mode-review.md |
The Template (Non-negotiable)
Every ADR must follow the structure defined in adr-template.md (the Michael Nygard MADR format):
- Title
- Status (Proposed, Accepted, Deprecated, Superseded)
- Context
- Decision
- Consequences
Common contract
Output format
Default: Markdown document.
Destination
Default: local filesystem, in docs/adr/ (e.g., docs/adr/0001-use-redis-for-caching.md).
If an MCP is connected, you can propose saving it to Notion, Google Drive, etc. Confirm before writing.
Dialogue rules
- Max 3 questions per batch. Never drown the user in a form.
- Reformulate before assuming: "If I understand correctly, the main reason we chose X is Y. Is that right?"
- Offer options when the user hesitates: "Did you consider option Z? What were its drawbacks?"
- Incremental drafts: Show a partial structure (e.g., just the Context) and validate as you go.
- Explicit trade-offs. Ensure the Consequences section includes both positive and negative impacts. If the user only provides positives, prompt them: "What are the downsides or maintenance burdens of this choice?"
- Never deliver without validation. Always present a draft and ask: "Does this accurately reflect the decision?" before writing the final file.
Common pitfalls to avoid
- Writing after the fact without context — guessing why a decision was made instead of asking the stakeholders.
- Listing only one option — if there's no alternative, it's not a decision, it's a constraint.
- Missing negative consequences — every decision has trade-offs. An ADR without negative consequences is incomplete.
- Leaving status as "Proposed" indefinitely — remind the user to update statuses as the architecture evolves.
Bundled references
Documentation for the selected mode (load with Read after detection):
mode-interview.md— dialogued draftingmode-retro-document.md— inferring from code/PRmode-review.md— critique of an existing ADR
Cross-cutting references:
adr-template.md— the MADR template to usereview-checklist.md— checklist for completenessexamples/0001-use-postgresql-over-mongodb.md— filled-out example
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.

