Install in seconds
Install this skill
Copy the command and run it in your terminal. You can review the source before installing.
terminal
git clone https://github.com/magnus919/agent-skills

Works with Git. The repository opens in your current directory.

πŸ“
WritingPython

ADR Authoring

by magnus919

Write, review, and maintain architecture decision records with clear context, alternatives, consequences, and lifecycle governance. Use when a consequential technical decision must remain understandable.

10 stars0 forksAdded 2026/07/18
agent-skillsagentskillsai-agentsautomationllm

Documentation

README

ADR Authoring

Architecture Decision Records for capturing design rationale. ADRs supply the temporal dimension β€” decisions over time β€” that structure-only views (C4) miss.

ADR-to-Pyramid Mapping

ADR State Pyramid Layer Path
Navigation index L1 (Summary) 01-summary/adr-index.md
Active ADRs L2 (Analysis) 02-analysis/architecture-decisions/ADR-NNN.md
Superseded ADRs L3 (Dossiers) 03-dossiers/adr-superseded.md

Without ADRs, an agent sees a snapshot of the structure but cannot reconstruct the path that led to it. Active ADRs in L2 provide the decision rationale. Superseded ADRs in L3 preserve the history of rejected alternatives.

ADR Lifecycle

ADRs progress through six stages, each with a gate criterion:

Initiating β†’ Researching β†’ Evaluating β†’ Implementing β†’ Maintaining β†’ Sunsetting
Stage Status Pyramid Layer Consumer
Initiating proposed L2 (02-analysis/) Engineers evaluating
Researching proposed L2 (02-analysis/) Engineers evaluating
Evaluating proposed L2 (02-analysis/) Engineers deciding
Implementing accepted L2 (02-analysis/) Implementers, reviewers
Maintaining accepted L2 (02-analysis/) New team members, auditors
Sunsetting deprecated/superseded L3 (03-dossiers/) Historians

All live ADRs (proposed + accepted) stay in L2. Only superseded/deprecated ADRs move to L3. Proposed ADRs that are rejected should be moved to L3 with status rejected and a note on why.

Alternative Lifecycle: AWS ADR Process

AWS Prescriptive Guidance defines a complementary lifecycle with a structured review process for teams that prefer formal immutability over living documents.

States: proposed β†’ accepted | rejected | superseded

Key difference: AWS treats ADRs as strictly immutable once accepted. Changing a decision requires a new ADR that supersedes the old one. The community ADR repo's teamwork advice prefers mutable living documents with date-stamped updates. Choose the model that fits your team's culture.

AWS Review Process:

  1. Proposal β€” any team member creates an ADR in proposed state. The author is the ADR owner.
  2. Review meeting β€” dedicated time slot with structured format:
    • 10-15 minutes silent reading β€” each member reads the ADR and adds comments
    • Comment read-out β€” the owner reads each comment aloud; team discusses
    • Action points β€” identified issues get an assignee; tracked to resolution
  3. Decision β€” three outcomes:
    • Accepted β†’ owner adds timestamp, version, stakeholder list. State β†’ accepted. Immutable.
    • Rework β†’ state stays proposed. Owner resolves action points and re-schedules review.
    • Rejected β†’ owner documents rejection reason (prevents future re-litigation). State β†’ rejected. File moves to L3.
  4. Superseding β€” new decision invalidates an accepted ADR? Create a new ADR. On acceptance, update old ADR status to superseded and move it to L3.
[Identify need] β†’ [Draft (proposed)] β†’ [10-15m silent read] β†’ [Discuss]
                      ↓                     ↓                     ↓
                 [Rework/review] ← [Needs rework]          [Accepted] β†’ [Immutable]
                                                           [Rejected] β†’ [L3]

Template Selection

When Template Sections
Quick decision, single rationale Nygard Status, Context, Decision, Consequences
Multi-option trade-off analysis MADR Decision Drivers, Considered Options, Pros/Cons, Links
High-stakes, regulatory, compliance Tyree & Akerman 12 sections: Issue, Positions, Argument, Implications, etc.
Vendor/procurement decision Business Case Evaluation criteria, Cost/SWOT, Recommendations
QA/contract-driven environment Planguage Tag, Gist, Priority, Stakeholders, Risks

Full catalog with section-by-section guidance in references/adr-format.md.

File Naming Conventions

Use present tense imperative verb phrases, lowercase-dashes, .md extension:

001-choose-database.md
002-format-timestamps.md
003-manage-secrets.md

Status lives in the document header, not the filename β€” status changes shouldn't require renames.

Teamwork & Governance

  • Who can create: Any team member who has read the ADR process docs
  • What justifies: Decisions affecting future "why", cross-team coordination, long-term maintainability, external interfaces
  • What does NOT: Limited scope/time/risk, already covered by standards, temporary workarounds/POCs
  • Roles per ADR: Primary contact, secondary contact, accountable team
  • Living documents preferred: Insert new info with date stamps rather than superseding ADRs for every update. Immutability is ideal in theory; mutability works better in practice.

See references/adr-format.md for the full governance model and teamwork questions.

Contents

  • references/adr-format.md β€” template catalog (11 formats: Nygard, MADR, Tyree & Akerman, Business Case, Planguage, Alexandrian, ITD, arc42, EdgeX, Gareth Morgan, NHS Wales), template selection decision tree, lifecycle stages, file naming, team governance, examples reference
  • references/adr-to-pyramid-mapping.md β€” activeβ†’L2, supersededβ†’L3, consumer routing
  • references/fitness-functions.md β€” decisions as code: ArchUnit, ArchUnitTS, AI-assisted fitness functions, pyramid mapping (fitness functions β†’ L3)
  • references/decision-sustainability.md β€” 5 sustainability criteria + 8 guidelines for evaluating ADR quality before acceptance
  • references/project-setup-guide.md β€” bootstrapping ADRs in a new project: directory setup, README index, CONTRIBUTING.md/AGENTS.md docs, issue-first PR workflow with worked example

Canonical Reference

Portability

This skill is intentionally host-neutral. Use your agent's normal mechanisms to load the references, templates, and scripts listed here. Do not assume a particular profile system, task orchestrator, memory service, or response-handoff format.

More from magnus919

Other Claude Code skills by this author in the directory.

βš–οΈ
2w ago

Agent Council

Spawn a panel of expert AI agents to debate any question using a structured protocol with iterative cross-examination and convergence detection, producing a decision landscape with confidence diagnostics.
AI Engineering
+67%100
πŸ”
2w ago

Agent Evals and Observability

Design, run, review, or release framework- and vendor-neutral evaluations and observability for AI agents. Use when defining agent evals, datasets, graders, trajectory review, regression analysis, release gates, production traces, or privacy-aware telemetry.
Quality
+67%100
πŸ“˜
2w ago

Agent Skills

Defines the Agent Skills open format, including directory structure, SKILL.md schema, naming conventions, and progressive disclosure model. Use this reference when creating, reviewing, or editing agent skills to follow the standard.
AI Engineering
+67%100
πŸ“‘
2w ago

API Design and Evolution

Guides the design, documentation, review, and evolution of consumer-facing APIs and event interfaces, including contract authoring, compatibility assessment, and deprecation planning.
DevOps
+67%100
🎬
2w ago

ARR CLI

CLI tool for managing Radarr (movies) and Sonarr (TV series) media libraries. Use for listing, adding, searching, checking queues, quality profiles, and more.
Automation
+67%100
πŸ›οΈ
2w ago

Artifact Pyramids

Organize durable agent research outputs as summaries, analysis, and evidence dossiers. Use when producing multi-layer research artifacts or coordinating research handoffs.
AI Engineering
+67%100