adr-ops

Solid

Author, index, and lint Architecture Decision Records — append-only memory that recovers the WHY behind a system's shape. Triggers on: adr, architecture decision record, decision log, record this decision, supersede an adr, why was this decided, adr template, next adr number.

AI & Automation 42 stars 7 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
54
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# ADR Ops An **Architecture Decision Record (ADR)** captures one architectural decision: what was decided, why, what was rejected, and what it costs. ADRs are **append-only project memory** — they exist so a future maintainer touching a subsystem can recover the *reasoning* behind its shape without archaeology through git history or chat logs. This skill encapsulates a battle-tested ADR protocol and generalizes it to **any repo**. The default location is `docs/adr/`, but every script takes `--dir` so a repo can keep records anywhere (`docs/decisions/`, `architecture/adr/`, …). --- ## When to write an ADR Write one when a change has **any** of these properties: - It **constrains future options** — a boundary, an invariant, a "we will always / never do X" rule that later work must respect. - **Multiple alternatives were seriously evaluated** and the choice is not obvious in hindsight. - The **rationale is non-obvious from the code** — the code shows *what*, the ADR preserves *why*. Write one decision per ADR. If a change bundles two separable decisions, write two. ### When NOT to write one - A bug fix, refactor, or feature that follows existing architecture without changing it — that is a commit message. - A reversible, low-stakes choice — that is a code comment. - A point-in-time event with no forward constraint (a benchmark run, an incident write-up) — that is an audit/log entry, not an ADR. > **Rule of thumb:** if someone could plausibly undo this next mo...

Details

Author
0xDarkMatter
Repository
0xDarkMatter/claude-mods
Created
10 months ago
Last Updated
1 weeks ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category