agentsclimarketplace

Adr authoring

Skill magnus919/agent-skills/adr-authoring

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

Install
npx -y skills add magnus919/agent-skills --skill adr-authoring

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.7 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it

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 StatePyramid LayerPath
Navigation indexL1 (Summary)01-summary/adr-index.md
Active ADRsL2 (Analysis)02-analysis/architecture-decisions/ADR-NNN.md
Superseded ADRsL3 (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
StageStatusPyramid LayerConsumer
InitiatingproposedL2 (02-analysis/)Engineers evaluating
ResearchingproposedL2 (02-analysis/)Engineers evaluating
EvaluatingproposedL2 (02-analysis/)Engineers deciding
ImplementingacceptedL2 (02-analysis/)Implementers, reviewers
MaintainingacceptedL2 (02-analysis/)New team members, auditors
Sunsettingdeprecated/supersededL3 (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

WhenTemplateSections
Quick decision, single rationaleNygardStatus, Context, Decision, Consequences
Multi-option trade-off analysisMADRDecision Drivers, Considered Options, Pros/Cons, Links
High-stakes, regulatory, complianceTyree & Akerman12 sections: Issue, Positions, Argument, Implications, etc.
Vendor/procurement decisionBusiness CaseEvaluation criteria, Cost/SWOT, Recommendations
QA/contract-driven environmentPlanguageTag, 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.

What ships with it: 8 files

53.0 KB alongside SKILL.md

evals/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.