adr-author
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
How to write an Architecture Decision Record under docs/decisions/. Consult when the SA needs to record a non-trivial architectural choice during architecture authoring, especially when the choice involves a third-party dependency that requires human approval.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- Bioconductor/ai-agent-skillstheir own version, first seen Nov 24, 2026
- kevin-burns/claude-skillstheir own version, first seen Nov 15, 2026
- rajanrx/skillstheir own version, first seen Nov 8, 2026
- jaskirat1616/grok-skillstheir own version, first seen Nov 1, 2026
- JayRHa/agent-skillstheir own version, first seen Oct 15, 2026
- microsoft/hve-coretheir own version, first seen Oct 13, 2026
Used with
Projects with it also use 0-template, github-actions-builder and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JayRHaSkill0-template
Template for creating a new Agent Skill. Copy this folder, rename it to your skill's kebab-case name, and fill in every section. Use this as the starting point whenever you author a new skill for the AgentSkills library.
Also in 3 projects that use this
JayRHaSkillgithub-actions-builder
Builds reliable, fast, and secure GitHub Actions CI/CD workflows with dependency caching, build matrices, scoped secrets, concurrency control, and reusable/composite workflows. Use this skill when the user asks to "create a GitHub Actions workflow", "set up CI", "add CI/CD", "fix a flaky/slow GitHub Actions pipeline", "add a build matrix", "cache dependencies in CI", "write a reusable workflow", "configure deployment with environments and secrets", or mentions files under .github/workflows.
Also in 3 projects that use this
xmqywxSkillmeeting-summarizer
Transform meeting transcripts into structured summaries with action items, decisions, follow-ups, and efficiency analysis. Works with any meeting format.
Also in 3 projects that use this
pbc-osSkillsecrets-manager
Set up and configure cloud secrets management for your AI agent. Guides users through platform selection (GCP, AWS, Azure, 1Password, Doppler, HashiCorp Vault), account setup, CLI configuration, and secure credential storage.
Also in 3 projects that use this
zwjbendnSkillhabit-builder
Designs and manages healthy habits for sustainable weight loss through lifestyle change. Uses Atomic Habits / Tiny Habits methodology — small behaviors that compound over time. Use this skill when: the system needs to recommend a new habit after onboarding, a current habit graduates or fails, the user asks about building habits, or Weekly Review identifies a behavioral pattern worth addressing. Also use when evaluating habit progress, deciding when a habit has "graduated," or handling a restart after the user falls off. This skill does not send its own reminders — habit check-ins are woven into meal conversations managed by Notification Composer. This skill owns the check-in logic (when, how often, tone); Notification Composer provides the conversation vehicle.
Also in 3 projects that use this
- +7 more from JayRHa
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- microsoft/hve-core★ 1.6ksame name
- jaskirat1616/grok-skills★ 22same name
- JayRHa/agent-skills★ 12same name
- JayRHa/AgentSkills★ 12same name
- kevin-burns/claude-skills★ 12same name
- Bioconductor/ai-agent-skills★ 10same name
- rajanrx/skills★ 2same name
- Atypical-Consulting/AdrMcp★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
If a choice is "the obvious thing the team always does," no ADR.
- Distinctive: line 35
When the ADR introduces a third-party dependency that has not been approved in a prior ADR for this project, the ADR gains two required …
- Very specific: line 43
Use .claude/skills/third-party-dependency-evaluation/SKILL.md to evaluate options.
- Distinctive: line 60
When a later ADR depends on the same vendor approved by a prior ADR, cite the prior ADR's approval rather than re-triggering the flow:
- Distinctive: line 69
If the ADR introduces a new third-party dependency, follow the approval flow above before writing.
- Very specific: line 70
Use the template in references/template.md.
- Very specific: line 73
When a later decision supersedes this one, update *both* files: the new ADR cites Supersedes ADR-XXXX.
- Distinctive: line 77
Never delete an ADR. Status changes preserve history.
- Distinctive: line 78
Never renumber an ADR. References to ADR-0007 in code comments and docs would silently rot.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ADR Author
When to use
You are the SA, drafting docs/architecture.md or revising it during change synchronization. You face a choice that would surprise a new engineer joining the project, or that involves a trade-off you'd want a successor to understand. Per CLAUDE.md §3.2: every non-trivial choice gets an ADR. This skill defines the format and the trigger.
Inputs and outputs
- Inputs: a candidate architectural choice and the alternatives you're weighing
- Outputs: a numbered ADR file under
docs/decisions/, in the format inreferences/template.md
When a choice is "non-trivial"
A choice deserves an ADR when at least one is true:
- It's a one-way door (hard to reverse later — pricing model, data partition strategy, primary key shape)
- It commits the team to a vendor or stack (Postgres vs DynamoDB, Stripe vs Adyen, REST vs gRPC)
- It contradicts a previous default (the team usually does X; for this feature we're doing Y)
- A reasonable engineer would assume the opposite default
- It encodes a trade-off (cost vs latency, simplicity vs flexibility, build vs buy)
If a choice is "the obvious thing the team always does," no ADR. If you can't tell, write the ADR — it's cheap.
Third-party dependency ADRs (require human Approver)
When the ADR introduces a third-party dependency that has not been approved in a prior ADR for this project, the ADR gains two required fields:
Approver: <human name>— the Designated Dependency Approver named in SRS header per CLAUDE.md §2. Set by the user through the Orchestrator'sNEEDS_CONTEXTclarification flow; never set by the agent.Approval-Date: <ISO-8601>— the date the human approved the choice.
Per CLAUDE.md §10 hard rule, you must NOT write the ADR with Status: Accepted until the human has approved. The flow:
- While drafting architecture, you identify a needed third-party dependency.
- Use
.claude/skills/third-party-dependency-evaluation/SKILL.mdto evaluate options. - Halt and return
NEEDS_CONTEXTto the Orchestrator with the multi-choice proposal. - The Orchestrator relays to the Designated Dependency Approver.
- The Approver picks an option.
- Resume work. Write the ADR with
Status: Accepted,Approver: <name>,Approval-Date: <date>.
Default-vendor ADRs are a sub-case: when the dependency is the org-level default per .claude/skills/solution-defaults/, the ADR's Approver field cites the skill rather than naming a per-project human:
Approver: Org Engineering Standards (per .claude/skills/solution-defaults/)
Approval-Date: <date the default was declared — see the skill's Changelog>Defaults are pre-approved at the org level; no NEEDS_CONTEXT is needed for the choice. See .claude/skills/solution-defaults/ for the table of pre-approved defaults and deviation conditions.
For non-dependency ADRs (e.g., "use event sourcing for the audit log", "primary-key UUIDv7 vs ULID"), the Approver field is not required. The ADR follows the normal Proposed → Accepted path with SA + reviewers.
When a later ADR depends on the same vendor approved by a prior ADR, cite the prior ADR's approval rather than re-triggering the flow:
Refs: ADR-0007 (approves Stripe for payments)Procedure
- Choose the next sequential number from
docs/decisions/. Filenames:0001-<kebab-title>.md,0002-<kebab-title>.md, etc. Numbers are immutable; never renumber. - If the ADR introduces a new third-party dependency, follow the approval flow above before writing.
- Use the template in
references/template.md. IncludeApprover:andApproval-Date:if applicable. - Set Status to
Proposedif the choice is still under review;Acceptedonce SA + reviewers agree (and the human Approver has confirmed for dependency ADRs). - Reference the ADR from the relevant section of
docs/architecture.md(e.g., "Session storage: Postgres — see ADR-0007"). - When a later decision supersedes this one, update both files: the new ADR cites
Supersedes ADR-XXXX; the old ADR's Status changes toSuperseded by ADR-YYYY(do not delete the old file).
Hard rules
- Never delete an ADR. Status changes preserve history; deletion erases it.
- Never renumber an ADR. References to ADR-0007 in code comments and docs would silently rot.
- Status
Acceptedrequires explicit reviewer sign-off (SA can self-accept low-stakes non-dependency ADRs; high-stakes choices need a second engineer's review). - For third-party-dependency ADRs:
Acceptedis impossible without theApproverfield populated. The human is the gate. - An ADR without a
Consequencessection is incomplete — every choice has consequences, including good ones. List both. - An ADR without
Alternatives Consideredis incomplete. If you didn't consider alternatives, you didn't make a decision; you made a default.
References
references/template.md— copy-paste ADR template, including the Approver fields and worked examples- CLAUDE.md §3.2 — SA exit criteria (every non-trivial choice → ADR)
- CLAUDE.md §10 — hard rule that third-party dependencies require human Approver
.claude/skills/solution-defaults/SKILL.md— org-level pre-approved defaults; check before triggering the third-party-dependency-evaluation flow.claude/skills/third-party-dependency-evaluation/SKILL.md— what counts as third-party, dimensions to weigh, NEEDS_CONTEXT prompt format- Michael Nygard's original ADR essay (external) — the format here follows his
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.

