MA

Automates the creation, numbering, and index maintenance of architectural decision documents.

Install

mkdir -p .claude/skills/managing-adrs && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16265" && unzip -o skill.zip -d .claude/skills/managing-adrs && rm skill.zip

Installs to .claude/skills/managing-adrs

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create and manage Architecture Decision Records (ADRs) with auto-numbering, template detection, and index maintenance. Use when user mentions "ADR", "architecture decision", "document this decision", "create ADR", editing ADR files (docs/adr/, doc/adr/, .adr/), or discussing architectural choices and tradeoffs.
312 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Auto-detect project's ADR directory.
  • Auto-number Architecture Decision Records.
  • Adapt to project's existing ADR template style.
  • Automatically update README.md with an ADR table index.
  • Mark old ADRs as 'Superseded' and link new ones.
  • Create new ADRs with required and optional sections.

How it works

This skill discovers ADR directories, detects template styles, auto-numbers new ADRs, and maintains an index in README.md.

Inputs & outputs

You give it
User request to document a decision or supersede an existing ADR, with a title or old/new ADR numbers
You get back
New ADR file, updated README.md index, or updated status of an existing ADR

When to use managing-adrs

  • Documenting a technical decision
  • Updating project architecture logs
  • Creating new ADR files

About this skill

Architecture Decision Records

Create and manage Architecture Decision Records following project conventions with automatic numbering and index maintenance.

Auto-Invoke Triggers

This skill automatically activates when:

  1. Keywords: "ADR", "architecture decision", "document this decision", "record the decision"
  2. Editing ADR files: Files in docs/adr/, doc/adr/, architecture/decisions/, .adr/
  3. Discussing architectural choices: Framework selection, technology decisions, pattern choices

What This Skill Delivers

1. ADR Creation

  • Auto-detect project's ADR directory
  • Auto-number ADRs (scan existing, increment)
  • Adapt to project's existing template style
  • Offer MADR 4.0 enhancements as optional additions

2. Directory Discovery

Search order for ADR directories:

  1. docs/adr/
  2. doc/adr/
  3. architecture/decisions/
  4. .adr/
  5. Create docs/adr/ if none exists

3. Template Detection

Analyze existing ADRs to detect:

  • Naming convention: NNNN-kebab-case-title.md or NNN-title.md
  • Section structure: Status, Context, Decision, Consequences
  • Optional sections: Decision Drivers, Pros/Cons, Confirmation

4. Index Maintenance

Automatically update README.md with ADR table:

NumberTitleStatusDate

5. Supersession Workflow

When replacing an ADR:

  • Mark old ADR status as "Superseded by [ADR-NNNN]"
  • Link new ADR with "Supersedes [ADR-NNNN]"
  • Update README.md index

Core Template Sections

Required (Minimal)

  • Status: Proposed | Accepted | Deprecated | Superseded
  • Date: ISO 8601 format (YYYY-MM-DD)
  • Context and Problem Statement: 2-3 sentences describing the situation
  • Decision: What was decided and why
  • Consequences: Positive and negative impacts

Optional Enhancements (MADR 4.0)

  • Technical Story: Link to issue/spec (e.g., #123)
  • Decision Drivers: Bulleted list of forces/concerns
  • Decision Makers: Who made this decision
  • Consulted: Stakeholders whose opinions were sought
  • Informed: Stakeholders who need to know
  • Considered Options: List of alternatives evaluated
  • Pros and Cons: Detailed analysis per option
  • Confirmation: How to validate the decision was implemented

Quick Start

Create New ADR

# Auto-invoke by saying:
"Document the decision to use PostgreSQL over MongoDB"
"Create an ADR for our authentication approach"
"I need to record why we chose React Query"

Supersede Existing ADR

"Supersede ADR-0005 with a new caching strategy"
"Replace our database decision ADR with the new approach"

Scripts

Located in scripts/ directory, using uv for execution:

adr_create.py

uv run scripts/adr_create.py --title "Use PostgreSQL for persistence"
uv run scripts/adr_create.py --title "..." --template madr --create-dir

adr_index.py

uv run scripts/adr_index.py --dir docs/adr
uv run scripts/adr_index.py --dir docs/adr --dry-run

adr_supersede.py

uv run scripts/adr_supersede.py --old 5 --new 12 --dir docs/adr

Output Example

# ADR-0012: Use PostgreSQL for Data Persistence

## Status
Accepted

## Date
2026-01-10

## Context and Problem Statement
We need a reliable database solution for our microservices architecture
that supports complex queries and ACID transactions.

## Decision
Chosen option: PostgreSQL, because it provides the best balance of
ACID compliance, query flexibility, and team familiarity.

## Consequences
**Positive:**
- Full ACID transaction support
- Mature ecosystem and tooling

**Negative:**
- Horizontal scaling requires more setup

Progressive Disclosure

Related Resources

When not to use it

  • When the user is not discussing architecture decisions or ADRs.
  • When editing ADR files outside of specified directories.
  • When the task is not related to documenting architectural choices.

Limitations

  • The skill searches for ADR directories in a predefined order.
  • It adapts to existing template styles but can offer MADR 4.0 enhancements.
  • Supersession workflow requires marking old ADRs and linking new ones.

How it compares

This workflow automates the creation, numbering, and indexing of ADRs, ensuring consistency and reducing manual overhead compared to a generic document creation process.

Compared to similar skills

managing-adrs side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
managing-adrs (this skill)05moReviewIntermediate
deepwiki-rs259moReviewIntermediate
repo-research-analyst16moReviewIntermediate
c4-component14moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by diegosouzapw

View all by diegosouzapw

helm-chart-scaffolding-v2

diegosouzapw

Helm Chart Scaffolding workflow skill. Use this skill when the user needs Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications and the operator should preserve the upstream workflow, copied support files, and provenance before

00

cc-skill-coding-standards-v2

diegosouzapw

Coding Standards & Best Practices workflow skill. Use this skill when the user needs Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development and the operator should preserve the upstream workflow, copied support files, and provenance before

00

worktree-setup

diegosouzapw

Automatically invoked after `git worktree add` to create data/shared symlink and data/local directory. Required before starting work in any new worktree.

00

parsehub-automation

diegosouzapw

Automate Parsehub tasks via Rube MCP (Composio). Always search tools first for current schemas.

00

signalwire-agents-sdk

diegosouzapw

Expert assistance for building SignalWire AI Agents in Python. Automatically activates when working with AgentBase, SWAIG functions, skills, SWML, voice configuration, DataMap, or any signalwire_agents code. Provides patterns, best practices, and complete working examples.

00

agent-sales-engineer

diegosouzapw

Expert sales engineer specializing in technical pre-sales, solution architecture, and proof of concepts. Masters technical demonstrations, competitive positioning, and translating complex technology into business value for prospects and customers.

00

Search skills

Search the agent skills registry