Agent skill · Documentation

architecture-decision-records

ADR methodology, templates, decision capture workflows, and architectural governance patterns

Cosmic Stack3,294★ · 2 repos on radarProfile →
claude-codeMIT
Install
npx skills add cosmicstack-labs/mercury-agent-skills --skill architecture-decision-records --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 15 KB
Bundled scripts: none
Version: 1.0.0
Declared author: cosmicstack-labs
Path: categories/development/architecture-decision-records/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 364
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Architecture Decision Records Capture architectural decisions systematically so your team understands not just what was decided, but why — and what alternatives were considered. ## Core Principles ### 1. Decisions Are More Important Than Diagrams A diagram shows the current architecture. An ADR explains *why* it is that way. When someone asks "why did we do it this way?" the ADR is the answer. ### 2. Capture Context, Not Just Conclusions Every architectural decision exists in a web of constraints, tradeoffs, and alternatives. If you only record the conclusion, future engineers will wonder if you considered the obvious alternative — and they might reverse it without understanding why the original choice was made. ### 3. Lightweight Is Sustainable An ADR doesn't need to be a 10-page document. A structured 1-page record is infinitely better than nothing. If the process is heavy, people won't follow it. ### 4. Accept and Track Superseded Decisions Architecture evolves. An ADR that gets superseded is a success — it means the system adapted. Old ADRs remain valuable as historical records of the team's thinking. --- ## ADR Maturity Model | Level | Capture | Storage | Review | Enforcemen

What's inside
Steps it walks through
  1. Core Principles
  2. 1. Decisions Are More Important Than Diagrams
  3. 2. Capture Context, Not Just Conclusions
  4. 3. Lightweight Is Sustainable
  5. 4. Accept and Track Superseded Decisions
  6. ADR Maturity Model
  7. Actionable Guidance
  8. The Standard ADR Template
  9. The Lightweight ADR Template
  10. ADR Workflow
  11. Storing ADRs with Code
  12. ADR Index Template
  13. Advanced ADR Patterns
  14. Architecture Governance Patterns
Commands it runs
Create the ADR file
mkdir -p docs/adr/
cp templates/adr-template.md docs/adr/ADR-043-use-graphql-for-public-api.md
ADR naming convention
Use leading zeros for sorting: ADR-001, ADR-002, ..., ADR-043
Run ADR linting in CI
npx adr-lint docs/adr/
Example output:
adr-tools (command-line)
Install
More from mercury-agent-skills
All skills →
About this skill
What does the architecture-decision-records skill do?

ADR methodology, templates, decision capture workflows, and architectural governance patterns

How do I install it?

Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill architecture-decision-records --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going