Architecture decision records
Skill yeaight7/agent-powerups/plugins/documentation-systems/skills/architecture-decision-records
Use when a significant architectural choice is being finalized, revisited, or reversed -- technology selection, structural patterns, or trade-offs that future maintainers or agents might unknowingly undo.From its SKILL.md
npx -y skills add yeaight7/agent-powerups --skill architecture-decision-recordsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `ls docs/adr/` and 1 more.
SKILL.md
2.9 KB, 636 tokens by cl100k_base, as published. Nobody here has run it
Purpose
Code tells you how a system works. ADRs tell you why it works that way, preventing future maintainers (and AI agents) from suggesting "improvements" that were already tried and discarded.
When to Use
- Finalizing a major design decision (e.g., "Choosing Postgres over MongoDB", "Using custom event bus over Redis")
- Reversing or superseding a previous decision
- A reviewer or agent proposes a change that contradicts an existing constraint
Inputs
- The decision, the alternatives considered, and the constraints that drove it
- The ADR directory (conventionally docs/adr/)
Workflow
-
Check for an existing ADR first — the decision may already be recorded or superseded:
ls docs/adr/ # existing records rg -ln "<topic keyword>" docs/adr/ # is this decision already covered? -
Create the record at
docs/adr/YYYY-MM-DD-<short-title>.md— date-prefixed for ordering, kebab-case title. -
Fill the structure — keep it under 300 words; focus on constraints, not theory:
# <Decision title> ## Status Accepted | Superseded by <newer ADR filename> ## Context What is the problem? What constraints apply? ## Decision What are we doing? ## Consequences What trade-offs are we accepting? What becomes harder? -
Handle supersession explicitly. When reversing a decision, do NOT edit history: write a new ADR, mark the old one "Superseded by" with a link to the new file, and state what changed.
-
Link from where the decision bites — a one-line pointer near the affected module or in the architecture doc, so the why is discoverable from the how.
Output
- A dated ADR file with Status / Context / Decision / Consequences
- Superseded ADRs updated with forward links — never deleted or rewritten
Verification
- File saved under docs/adr/ with a date-prefixed kebab-case name
- Status, Context, Decision, and Consequences sections all present; body under ~300 words
- Consequences state real trade-offs, not just benefits
- Superseded decisions marked and forward-linked, not edited or removed
- Decision discoverable from the affected code or architecture doc
Failure Modes
- Retroactive rewriting — editing an old ADR to match a new decision destroys the historical why; supersede instead.
- Theory essays — pages of architecture philosophy nobody reads; constraints fit in 300 words.
- Consequence-free records — a Decision without trade-offs is advocacy, not a record.
- Orphaned ADRs — records nobody can find from the code they govern.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most architecture codebase skills give in 636 tokens
Counted across 858 of the 1,304 authors here whose files we hold, read 2026-09-06
- Apply the deletion test to identify shallow modulesin 32 of 858, across 31 files
- Read domain glossary and ADRs before exploringin 22 of 858, across 19 files
- Use Tailwind and Mermaid via CDN for reportsin 21 of 858, across 18 files
- Document architecture decision recordsin 20 of 858, across 12 files
- Offer to record ADRs for rejected candidatesin 17 of 858, across 14 files
- Limit primary navigation to four to seven itemsin 17 of 858, across 7 files
- Write HTML report to the system temp directoryin 17 of 858, across 14 files
- Read product marketing context before asking questionsin 16 of 858, across 6 files
- Use Mermaid graph TD for visual sitemapsin 15 of 858, across 5 files
- Ensure every page has at least one internal linkin 15 of 858, across 5 files
- Use ASCII tree format for page hierarchy draftsin 15 of 858, across 5 files
- Enforce lowercase URLs with hyphensin 15 of 858, across 5 files
Said here and by no other author read
- Create a new dated ADR file
- Keep ADR content under 300 words
- Focus on constraints and trade-offs
- Mark old ADRs as superseded
- Link ADRs from affected code modules
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.