adr

Detect existing ADRs and scaffold new ones with correct numbering and structure.

1|2|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/alunduil/alunduil-chezmoi --skill adr-alunduil
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adr
Source: https://github.com/alunduil/alunduil-chezmoi/tree/main/dot_claude/skills/adr
Command: npx skills add https://github.com/alunduil/alunduil-chezmoi --skill adr-alunduil

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ADRs help teams capture architectural decisions with rationale and context, ensuring durable governance and traceability across codebases.

Core Features & Use Cases

  • Detect existing ADRs and template preferences (Nygard or MADR) in the repository and adapt recommendations.
  • Recommend an appropriate ADR structure, scaffold new ADR skeletons with the correct numbering, and verify placement (docs/adr or equivalent).
  • Enforce ADR conventions (title, context, decision, consequences) and guide updates as decisions evolve.

Quick Start

Create or update an ADR in the repository using the standard MADR or Nygard templates.

Frequently Asked Questions about adr

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

FAQPage Schema
How do I write an architectural decision record for my repository?

To write an architectural decision record, you must structure the document with a title, context, decision, and consequences. ADRs are typically stored in a dedicated directory like docs/adr to maintain traceability and governance across the codebase.

What is the difference between Nygard and MADR templates for decision records?

Nygard and MADR templates provide different structural approaches for decision records. Nygard offers a concise format focusing on context and consequences, while MADR provides a detailed structure with fields for rejected alternatives and compliance validation.

When do I need to create an architectural decision record?

You need to create an architectural decision record when a structural choice has significant impact and warrants formal documentation. If a decision affects multiple components or requires durable traceability, formal ADR documentation captures the rationale for future reference.

How do I scaffold a new ADR file with the correct numbering?

To scaffold a new ADR file with correct numbering, place it in the docs/adr directory and increment the sequence number from the last existing record. The file status should default to Proposed until the decision is formally reviewed.

Can I use an existing ADR template preference in my software engineering project?

You can use existing ADR template preferences by detecting Nygard or MADR formats already present in the repository. Adapting recommendations to match your current template ensures structural consistency across all architectural decision documentation.

What are the required sections for a valid architectural decision record?

The required sections for a valid architectural decision record are a title, context, decision, and consequences. Enforcing these conventions ensures the ADR captures the complete rationale and impact, defaulting the file status to Proposed until reviewed.