new-adr
Skill12 starsChanged 6 months agoMITView on GitHub
Use this skill when the user asks to create, write, draft, or open a new ADR (architecture decision record). Triggers on phrases like "new ADR", "write an ADR for…", "record this decision", "let's ADR this". Do NOT use for RFCs (use `new-rfc`) or feature specs (use `new-spec`).
5 other projects use a version of this.
Adopted by
Most recently taken up by
- eugenelim/agent-ready-repotheir own version, first seen Oct 3, 2026
- RemiMyrset/rootstheir own version, first seen Oct 2, 2026
- pjlangley/fftheir own version, first seen Sep 23, 2026
- brayandiazc/project-starter-template-en-aitheir own version, first seen Sep 7, 2026
- brayandiazc/project-starter-template-es-aitheir own version, first seen Sep 7, 2026
Used with
Projects with it also use release.
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.
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- eugenelim/agent-ready-repo★ 24same name
- brayandiazc/project-starter-template-es-ai★ 15same name
- pjlangley/ff★ 4same name
- brayandiazc/project-starter-template-en-ai★ 3same name
- RemiMyrset/roots★ 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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- bug-fixSkill
- new-rfcSkill
- new-specSkill
- security-checklistsSkill
- update-conventionsSkill
- work-loopSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
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
- Very specific: line 8
Create a new ADR in docs/adr/ from the template, with the next sequential number.
- Distinctive: line 22
If any of these checks fail, push back rather than proceeding.
- Very specific: line 58
Update docs/adr/README.md to add the new ADR to the table.
“Common” is measured: kept by at least 6 in 10 of the 5 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
Skill: new-adr
Create a new ADR in docs/adr/ from the template, with the next sequential
number.
When to invoke
Before invoking, confirm:
- The decision is about architecture or shared infrastructure, not a single feature's internals (that's a spec).
- The decision has been made or is being formally proposed. ADRs are not a venue for open-ended discussion — that's an RFC.
- There is a concrete tradeoff — at least one viable alternative was considered. If there's only one option, you don't need an ADR.
If any of these checks fail, push back rather than proceeding.
Procedure
Find the next number. The bundled helper prints the next 4-digit ordinal —
0001if no ADRs exist yet, max-plus-one otherwise. It parses the full digit prefix, so a00099-foo.mdcorrectly yields0100(not0010):python3 scripts/next-ordinal.py docs/adr(The script lives next to this
SKILL.mdunderscripts/. Python is preferred overls | grep | sed | sortso the snippet works the same way on native Windows, macOS, and Linux.)- Pick a kebab-case title from the user's description. Keep it short and
declarative —
0007-use-postgres-for-primary-store.md, not0007-decision-about-the-database.md. - Copy this skill's bundled
assets/adr.mdintodocs/adr/and rename toNNNN-<title>.md. (Paths are skill-relative — theassets/folder lives next to thisSKILL.mdwherever your IDE installed the skill.) - Fill in the frontmatter (status
Proposed, today's date, deciders). - Help the user draft the four sections (Context, Decision, Consequences,
Alternatives). Push back if any section is empty or hand-wavy:
- Context with no constraints listed → ask what's actually constraining this choice.
- Decision without a single declarative sentence at the top → write one.
- Consequences without honest negatives → ask what we're giving up.
- Alternatives without rejection reasons → ask why each was rejected.
- Update
docs/adr/README.mdto add the new ADR to the table. - Tell the user to mark the ADR
Accepted(and commit) once the relevant reviewers have signed off.
Anti-patterns to refuse
- "Make this ADR say we're definitely using X" before discussion has happened → that's an RFC, not an ADR. Suggest opening one instead.
- Editing an existing accepted ADR → ADRs are immutable. If a decision is being
reversed, write a new ADR that supersedes it, and update the old ADR's
status to
Superseded by ADR-NNNN(status only — leave the body untouched).
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.

