← ClaudeAtlas

adr-writerlisted

Authors concise, immutable Architecture Decision Records (ADRs) in docs/adr/ during Phase 5 with trade-off analysis and architectural reduction checks.
Raele24/ai-engineering-framework · ★ 0 · AI & Automation · score 76
Install: claude install-skill Raele24/ai-engineering-framework
# ADR Writer — Architecture Decision Record Skill ## 1. Purpose Capture consequential technical decisions, considered alternatives, and trade-offs in `docs/adr/ADR-xxxx-<slug>.md` during **Phase 5 (`docs/WORKFLOW.md`)**. ## 2. When to Activate - Introducing or replacing a third-party dependency, framework, or runtime. - Changing database schemas, storage formats, or state handoff contracts. - Modifying authentication, authorization, encryption, or security boundaries. - Altering public API contracts, CLI flags, or cross-module boundaries. ## 3. Execution Protocol 1. Check existing files in `docs/adr/` to determine the next sequential 4-digit number (`ADR-0004`, etc.). 2. Copy structure from [`templates/ADR.template.md`](../../../templates/ADR.template.md). 3. **Mandatory Baseline Comparison:** Always evaluate a "Minimal / Standard Library Baseline" option alongside third-party libraries (Architectural Reduction principle). 4. Specify deterministic verification criteria in Section 5 (`Compliance & Verification`) so `code-reviewer` and `scripts/validate.py` can check adherence. 5. If replacing a previous decision, keep the old ADR file intact, update its status to `Superseded by ADR-YYYY`, and reference it in the new ADR. ## 4. Validation Criteria - ADR file matches `templates/ADR.template.md` sections (`Context`, `Considered Options`, `Decision Outcome`, `Consequences`, `Compliance`). - Human approval recorded at `Gate-02`.