adr-create
Skill0 starsChanged 6 days agoMITView on GitHub
Scaffold a new Architecture Decision Record under docs/site/adr/ with auto-numbered filename, standard frontmatter (Status / Date / Deciders / optional Consulted / Supersedes / Superseded by), and the canonical sections (Context, Decision, Consequences, Alternatives considered, Related). Use when the user wants to capture a significant architectural decision, or asks "let's ADR that.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- faparicior/sdlc-skillstheir own version, first seen Oct 20, 2026
- Svampen/claude-skillstheir own version, first seen Oct 11, 2026
- maurigre/mgr-methodtheir own version, first seen Jul 15, 2026
- jpoindexter/theft-kittheir own version, first seen May 20, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- faparicior/sdlc-skills★ 2same name
- maurigre/mgr-method★ 2same name
- jpoindexter/theft-kit★ 1same name
- Svampen/claude-skills★ 0same 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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- gh-issue-from-findingSkill
- live-verifySkill
- new-monitor-kindSkill
- security-scanSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 2 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Create a new ADR in docs/site/adr/ that follows the conventions documented in docs/site/adr/README.md and is consistent with the ADRs …
- Very specific: line 22
Determine the next ADR number: Run the bundled helper — .claude/skills/adr-create/next-number.sh — which reads docs/site/adr/NNNN-*.md, …
- Very specific: line 31
Add a row to the "Index" table at the end — three columns: | NNNN | Title | Status |.
- Very specific: line 32
If the new ADR amends an earlier one, also append (amended by NNNN — <one-line scope>) to the amended ADR's Status cell, and add an inline …
- Very specific: line 86
Status field is required: Default to Accepted unless --status says otherwise.
- Very specific: line 98
Don't reuse a number. If docs/site/adr/0005-*.md exists, the next one is 0006, never 0005a or 0005-v2.
- Distinctive: line 99
Don't auto-fill Decision/Context with boilerplate.
- Distinctive: line 100
Don't invent a "Pending"/reservation section in the README — the index lists written ADRs only.
“Common” is measured: kept by at least 6 in 10 of the 4 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-create
Purpose
Create a new ADR in docs/site/adr/ that follows the conventions documented in docs/site/adr/README.md and is consistent with the ADRs already in the repo.
Usage
User invokes this skill with a short topic for the ADR. Optional args:
--status accepted|proposed|superseded|deprecated(default:Accepted)--consulted "@user1, @user2"(omit if engineering-only decision)--supersedes 0007(omit if not superseding)
Steps
- Determine the next ADR number. Run the bundled helper —
.claude/skills/adr-create/next-number.sh— which readsdocs/site/adr/NNNN-*.md, finds the highest number, increments by 1, and zero-pads to 4 digits (prints0001when the dir is empty/missing). Use its output verbatim instead of re-inferring the number by hand. - Derive a kebab-case slug from the user's topic. Drop articles. Examples:
- "Severity tier weights" →
severity-tier-weights - "Use Pydantic Settings for config" →
use-pydantic-settings-for-config
- "Severity tier weights" →
- Create the file at
docs/site/adr/NNNN-<slug>.mdusing the template below. Today's date in ISO format (YYYY-MM-DD). Deciders defaults to the current GitHub handle, resolved viagh api /user --jq .login(prepend@). Do NOT usegit config user.name— that returns a display name (e.g. "Ada Lovelace") which produces an invalid@mention. Ifgh apifails (no auth, offline), fall back to asking the user for their GitHub handle. - Update the index at
docs/site/adr/README.md:- Add a row to the "Index" table at the end — three columns:
| [NNNN](NNNN-slug.md) | Title | Status |. - If the new ADR amends an earlier one, also append
(amended by NNNN — <one-line scope>)to the amended ADR's Status cell, and add an inline> **Amendment (YYYY-MM-DD, ADR-NNNN):**blockquote at the amended section of the older ADR (the documented convention — see 0028→0024, 0031→0013, 0033→0027).
- Add a row to the "Index" table at the end — three columns:
- Stage but do not commit. The user runs
git add+ the commit themselves per working-agreement #1 (one functionality per commit, manual commit step). - Print next steps:
- "Open
docs/site/adr/NNNN-<slug>.mdand fill in Context / Decision / Consequences / Alternatives." - "Branch suggestion:
docs/adr-NNNN-<slug>" (branch names follow CONTRIBUTING'sdocs/<desc>prefix — the docs/site/ move changed file paths, not branch naming) - "PR title suggestion:
docs: add ADR NNNN — <human title>"
- "Open
Template
# ADR NNNN — <Human-readable title>
- **Status:** Proposed
- **Date:** YYYY-MM-DD
- **Deciders:** @<github-handle>
- **Consulted:** <optional, e.g. @product-owner, @security-team>
- **Amends:** <optional, e.g. ADR-0024 — partial override; pair with an inline amendment blockquote there>
- **Supersedes:** <optional, e.g. ADR-0007>
- **Superseded by:** <optional, e.g. ADR-0042>
## Context
<What problem are we deciding about? What forces are at play (constraints, requirements, prior decisions)? Keep to 1–3 paragraphs.>
## Decision
**<One-sentence statement of the decision, in bold.>**
<Then the details: how it works, what's in scope, what's out of scope.>
## Consequences
**Positive**
- <bullet>
- <bullet>
**Negative**
- <bullet>
- <bullet>
## Alternatives considered
- **<Alternative 1>** — rejected. <Why.>
- **<Alternative 2>** — rejected. <Why.>
## Related
- <Link to related ADRs, issues, PRs, or code paths.>Rules
- Status field is required. Default to
Acceptedunless--statussays otherwise. Valid values:Proposed,Accepted,Deprecated,Superseded by ADR-NNNN. - Always render Status in title-case in the file, regardless of the CLI arg casing. The
--statusarg is lowercase (accepted/proposed/superseded/deprecated); map it to the title-case form before writing (accepted→Accepted,superseded→Superseded by ADR-NNNN).Deprecatedneeds no superseding ADR — use it when a decision is withdrawn without a replacement. - Date is today's date in ISO format.
- Consulted, Supersedes, Superseded by are optional — include the label even if empty so future editors see the slot.
- Body sections in this exact order: Context → Decision → Consequences (with Positive/Negative subheadings) → Alternatives considered → Related.
- Slug must match the convention in
docs/site/adr/README.md: lowercase, kebab-case, no leading article. - Filename matches title:
NNNN-<slug>.mdwhere the slug is also derivable from the H1 title. - README index is the source of truth for which ADRs exist. Always update it.
- Do not commit. Stage only. The user commits manually so they can review the diff.
Anti-patterns to avoid
- Don't reuse a number. If
docs/site/adr/0005-*.mdexists, the next one is0006, never0005aor0005-v2. - Don't auto-fill Decision/Context with boilerplate. Leave them as the template placeholders so the user must write the actual content.
- Don't invent a "Pending"/reservation section in the README — the index lists written ADRs only; a planned-but-unwritten decision lives as an issue, not an index row.
Test scenarios
Worked examples so the skill behaves consistently:
- Plain decision.
adr-create "use Pydantic Settings for config"with0022as the latest (a worked example — the real head is far past that) → helper prints0023; createdocs/site/adr/0023-use-pydantic-settings-for-config.mdwith the template'sStatus: Proposed(pass--status acceptedfor a decided one), today's date, Deciders resolved fromgh api /user; add the index row; stage only. - Proposed status + consulted.
adr-create "adopt OpenTelemetry" --status proposed --consulted "@product-owner"→Status: Proposed(title-cased from the lowercase arg),Consulted: @product-owner; Supersedes/Superseded-by labels left as empty placeholders. - Superseding an old ADR.
adr-create "revised severity weights" --status accepted --supersedes 0005→ new ADR getsSupersedes: ADR-0005; remind the user (in next-steps output) to flip ADR-0005's status toSuperseded by ADR-NNNNin a follow-up edit. - Deprecation without replacement.
adr-create "retire the X seam" --status deprecated→Status: Deprecated, no Superseded-by needed. - Empty repo / first ADR.
docs/site/adr/missing → helper prints0001; create0001-<slug>.md.
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.

