ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 5/5

adr-writing

Use when writing or formatting an ADR document using the MADR template, applying Definition of Done (E.C.A.D.R.) criteria, or verifying ADR completeness. Triggers on "write the ADR", "format as MADR", "check ADR quality", "mark gaps in ADR". Also triggers when a decision has been extracted and needs to become a document. Does NOT extract decisions from conversations (use adr-decision-extraction) or orchestrate the full extract-confirm-write workflow (use write-adr).

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/anderskev/adr-writing
Or

What This Skill Does

The adr-writing skill provides an automated, standardized approach to generating Architectural Decision Records (ADRs) within the OpenClaw ecosystem. By adhering to the MADR (Markdown Architectural Decision Records) template, this skill ensures that all technical decisions are documented with consistency, clarity, and historical traceability. The agent follows a multi-step workflow—sequence allocation, context exploration, template population, and a rigorous Definition of Done (DoD) verification—to transform raw technical discussions into professional, reviewable documentation. It minimizes the overhead of technical debt management by prompting for missing information and ensuring that every decision is backed by explicit context, rationale, and consequences.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/anderskev/adr-writing

Use Cases

This skill is ideal for:

  • Converting informal Slack or GitHub PR discussions into formal architectural records.
  • Standardizing documentation across large teams using the MADR format.
  • Ensuring that every major design choice is vetted against the E.C.A.D.R. criteria before being committed.
  • Managing complex project evolution where legacy decisions need to be captured or superseded.

Example Prompts

  1. "Analyze the recent PR #452 regarding the database migration and generate an ADR using the adr-writing skill."
  2. "I need to document our decision to switch from REST to GraphQL for the new mobile API. Use the adr-writing skill and help me fill out the considered options."
  3. "Review the current state of our infrastructure decisions; identify any gaps in the existing documentation and draft a new ADR for the load balancing strategy."

Tips & Limitations

  • Pre-allocation: If you are running multiple ADR generation tasks simultaneously, remember to use the --count flag with the sequence script to avoid index collisions.
  • Gap Filling: Do not fear the 'gap' prompts; they are designed to highlight what you do not yet know. Marking these early prevents the 'illusion of completeness' often found in rushed documentation.
  • Iterative Refinement: While the skill provides a strong draft, architectural decisions are often social as much as technical; always use the output as a starting point for stakeholder review rather than a final product.

Metadata

Author@anderskev
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-anderskev-adr-writing": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#adr#documentation#architecture#developer-productivity#engineering-standards
Safety Score: 5/5

Flags: file-read, file-write