adr
Skill1 starsChanged 7 months agoMITView on GitHub
Manage Architecture Decision Records under docs/adr/. Create new ADRs from a template, list existing ones, mark superseded, and update the index. Use this whenever you make a non-trivial architectural choice that future teammates will want to understand.
90 other projects use a version of this.
Adopted by
Most recently taken up by
- GustavoAlecio/claude-setuptheir own version, first seen Nov 8, 2026
- computerlovetech/skillstheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- axodouble/skillstheir own version, first seen Nov 8, 2026
- RodrigoAnciaes/golem-sddtheir own version, first seen Nov 8, 2026
- n1kben/agentstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use fdr, runbook 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.
thiagofgfSkillfdr
Use when creating, changing, reviewing, retiring, auditing, or backfilling implemented user-visible feature behavior, permissions, feature-specific rationale, tradeoffs, or relationships to architectural decisions.
Also in 3 projects that use this
AnthropicSkillrunbook
Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.
Also in 5 projects that use this
drewdrewthisSkillsweep
Search for similar patterns, anti-patterns, or issues elsewhere in the codebase after a fix or feature. Use after implementing a fix to catch the same bug in other places, or proactively to audit for a known pattern.
Also in 4 projects that use this
vndeeSkillproduct-spec
Use when starting a new feature, product, or project — before any architecture or code, to define what to build and why
Also in 3 projects that use this
OpenAISkillthreat-model
Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user explicitly asks to create, update, or persist a repository threat model. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.
Also in 6 projects that use this
montymiSkilltech-spec
Parse and review Technical Specification documents for completeness, consistency, and implementation readiness
Also in 3 projects that use this
Other versions90 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 90
- CrowdDotDev/crowd.dev★ 3.4ksame name
- chattocorp/chatto★ 2.9ksame name
- Cosmian/kms★ 372same name
- linuxfoundation/insights★ 288same name
- rvdbreemen/OTGW-firmware★ 213same name
- sd0xdev/sd0x-dev-flow★ 192same name
- sd0xdev/sd0x-harness★ 192same name
- irahardianto/awesome-agv★ 157same name
- jellydn/my-ai-tools★ 127same name
- EmeaAppGbb/spec2cloud★ 100same name
80 more not listed
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 repository53 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- agent-deploySkill
- agent-discoverSkill
- agent-eval-trendSkill
- agent-exchange-listSkill
- agent-specSkill
- agent-testSkill
- agent-vs-flow-vs-apexSkill
- before-vs-after-triggerSkill
- code-reviewSkill
- complexitySkill
- coverage-trendSkill
- dead-codeSkill
- dependency-graphSkill
- deploySkill
- destructive-changesSkill
- diff-deploySkill
- erdSkill
- field-impactSkill
- flaky-test-finderSkill
- flow-auditSkill
- flow-vs-apexSkill
- fls-auditSkill
- gateway-configSkill
- generate-docsSkill
- limit-usageSkill
- lwc-vs-reactSkill
- mcp-tool-vs-restSkill
- notifySkill
- onboardSkill
- org-diffSkill
- org-exploreSkill
- package-versionSkill
- pattern-packSkill
- perf-reviewSkill
- permset-auditSkill
- pr-prepareSkill
- queueable-vs-batchSkill
- quick-deploySkill
- react-initSkill
- release-notesSkill
- scratch-orgSkill
- security-scanSkill
- sequence-diagramSkill
- sf-initSkill
- sharing-reviewSkill
- slack-agentSkill
- soql-analyzerSkill
- test-coverageSkill
- test-dataSkill
- test-planSkill
- trust-evalSkill
- trust-layer-auditSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 75 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
Run index to update docs/adr/README.md
- Very specific: line 47
Read every ${ADR_DIR}/[0-9]*.md and parse the front-matter for id, title, status, date.
- Very specific: line 59
Verify ADR <id> exists. Update its status: to Superseded by <next-id>
- Very specific: line 60
Create a new ADR via new <new-title> with status Accepted (or Proposed)
- Distinctive: line 85
One decision per ADR: If you find yourself writing about two decisions, split them
“Common” is measured: kept by at least 6 in 10 of the 75 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
You are managing Architecture Decision Records (ADRs) for this project. ADRs are short Markdown files capturing one decision each — the context, options considered, decision, and consequences. They live in docs/adr/ and are numbered sequentially (0001-..., 0002-...).
Read Project Config First
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/config.sh"
ADR_DIR="docs/adr"
mkdir -p "$ADR_DIR"Input
$ARGUMENTS:
new <title>— create a new ADR with the next sequential number; use the templatelist— list existing ADRs in a table (id, title, status, date)supersede <id> <new-title>— mark<id>as superseded and create a new ADRindex— regeneratedocs/adr/README.mdfrom the contents of the directory- (empty) — show usage
Steps
new <title>
- Find the next ID:
NEXT_ID=$(ls "$ADR_DIR"/[0-9][0-9][0-9][0-9]-*.md 2>/dev/null | sed -E 's:.*/([0-9]{4})-.*:\1:' | sort -n | tail -1) NEXT_ID=$(printf "%04d" $((10#${NEXT_ID:-0} + 1))) - Slugify the title: lowercase, spaces →
-, strip punctuation - Copy the template from
${CLAUDE_PLUGIN_ROOT}/templates/docs/adr/0000-template.mdto${ADR_DIR}/${NEXT_ID}-${SLUG}.md - Substitute placeholders in the new file:
{{id}}→ e.g.,0007{{title}}→ the user-provided title{{date}}→YYYY-MM-DD(today){{status}}→Proposed
- Open the file path in the response so the user can fill it in
- Run
indexto updatedocs/adr/README.md
list
Read every ${ADR_DIR}/[0-9]*.md and parse the front-matter for id, title, status, date. Print a Markdown table:
| ID | Title | Status | Date |
|------|-----------------------------|-------------|------------|
| 0001 | Use Named Credentials | Accepted | 2026-02-14 |
| 0002 | Custom Metadata for config | Accepted | 2026-03-01 |
| 0003 | Replace ProcessBuilder X | Superseded by 0007 | 2026-03-08 |supersede <id> <new-title>
- Verify ADR
<id>exists. Update itsstatus:toSuperseded by <next-id> - Create a new ADR via
new <new-title>with statusAccepted(orProposed) - In the new ADR's "Context" section, add a line: "Supersedes ADR-
<id>" - Re-run
index
index
Walk the directory, parse each ADR's front-matter, and write ${ADR_DIR}/README.md:
# Architecture Decision Records
This index is generated by `/argo:adr index`. Edit the source ADRs, not this file.
| ID | Title | Status | Date |
|----|-------|--------|------|
| 0001 | [Use Named Credentials](0001-use-named-credentials.md) | Accepted | 2026-02-14 |
| ...ADR Template
Lives at ${CLAUDE_PLUGIN_ROOT}/templates/docs/adr/0000-template.md. The skill copies and substitutes; users edit the body.
Rules
- One decision per ADR. If you find yourself writing about two decisions, split them
- Don't delete superseded ADRs. Mark them and link forward — the history is the value
- Keep them short. The point is "future-me can reconstruct the reasoning in 60 seconds." Aim for under one screen
- Link to code, not the other way around. Code references the ADR ("see ADR-0007"), but the ADR is stable and self-contained
- No tracker/jira links as the only context. External links rot — paraphrase the relevant context inline
Consumers
@architect,@data-architect,@integration-architect— read ADRs before designing to honor prior decisions/argo:code-review— flags code that contradicts an ADR (e.g., hardcoded endpoint when ADR-0001 mandated Named Credentials)/argo:release-notes— picks up new ADRs since the last release as architecture-change notes
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.

