adr-writer

Write, validate, and commit MADR 4.0.0 Architecture Decision Records.

1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/michelve/hugin-cowork --skill adr-writer-michelve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adr-writer
Source: https://github.com/michelve/hugin-cowork/tree/main/skills/adr-writer
Command: npx skills add https://github.com/michelve/hugin-cowork --skill adr-writer-michelve

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of documenting architectural decisions by writing, validating, and committing Architecture Decision Records (ADRs) in the standardized MADR 4.0.0 format.

Core Features & Use Cases

  • ADR Creation: Generates complete ADRs with mandatory sections (frontmatter, context, options, decision, consequences).
  • Validation: Ensures ADRs adhere to the MADR 4.0.0 format and specific phrasing rules.
  • Commit & Indexing: Commits ADRs to docs/decisions/ and updates the decision index.
  • Supersede Flow: Manages the process of superseding existing ADRs with new ones.
  • Use Case: When a team decides to adopt a new database technology, this skill can be used to formally document the decision, the options considered, and the rationale behind the choice.

Quick Start

Use the adr-writer skill to write an ADR for adopting a new caching strategy.

Frequently Asked Questions about adr-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document architectural decisions in MADR format?

To document architectural decisions in MADR format, this skill generates complete Architecture Decision Records with mandatory sections including frontmatter, context, options, decision, and consequences. It validates the records against MADR 4.0.0 phrasing rules and commits them directly to your docs/decisions/ directory.

What is the process to supersede an existing architecture decision record?

Superseding an existing architecture decision record involves creating a new ADR that references and replaces the old one. This skill manages the supersede flow by generating the new record, updating the decision index, and committing the changes to maintain traceability.

Does the ADR writer validate mandatory sections and phrasing rules?

Yes, the ADR writer validates mandatory sections and phrasing rules. It checks that your architecture decision records strictly adhere to the MADR 4.0.0 format, ensuring all required components like frontmatter, context, options, decision, and consequences are present and correctly structured.

Can I integrate web research for supporting evidence when writing an ADR?

You can integrate web research for supporting evidence when writing an ADR. This skill incorporates web research capabilities to gather supporting evidence for your architectural decisions and logs session IDs to ensure full traceability of the gathered context.

Where are architecture decision records committed and how is the index updated?

Architecture decision records are committed to the docs/decisions/ directory. After writing and validating the ADR in MADR 4.0.0 format, the skill automatically updates the decision index to reflect the new or superseded records.

When should I use a standardized decision record instead of informal technical documentation?

You should use a standardized decision record instead of informal technical documentation when a team makes a significant architectural choice, such as adopting a new database technology. It formally documents the decision, the options considered, and the rationale behind the choice for future reference.