Skip to content
affaan-m avatar

Architecture Decision Records

Structured ADR workflow that writes numbered decision records to docs/adr/ with a maintained index.

CCM score
76 of 100
skills.sh installs
12.4K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers capturing decisions during sessions and reading existing ADRs to answer why the codebase is shaped as it is
  • Includes a markdown ADR template with context, alternatives considered, consequences, and a lifecycle from proposed to superseded
  • Enforces user confirmation before creating the docs/adr/ directory or writing any ADR file
  • Suits teams that want decision rationale stored alongside the code rather than in chat threads or PR comments

Install

$ npx -y skills add affaan-m/ecc --skill architecture-decision-records -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Architecture Decision Records

Capture architectural decisions as they happen during coding sessions. Instead of decisions living only in Slack threads, PR comments, or someone's memory, this skill produces structured ADR documents that live alongside the code.

When to Activate

  • User explicitly says "let's record this decision" or "ADR this"
  • User chooses between significant alternatives (framework, library, pattern, database, API design)
  • User says "we decided to..." or "the reason we're doing X instead of Y is..."
  • User asks "why did we choose X?" (read existing ADRs)
  • During planning phases when architectural trade-offs are discussed

ADR Format

Use the lightweight ADR format proposed by Michael Nygard, adapted for AI-assisted development:

# ADR-NNNN: [Decision Title]

**Date**: YYYY-MM-DD
**Status**: proposed | accepted | deprecated | superseded by ADR-NNNN
**Deciders**: [who was involved]

## Context

What is the issue that we're seeing that is motivating this decision or change?

[2-5 sentences describing the situation, constraints, and forces at play]

## Decision

What is the change that we're proposing and/or doing?

Details

Repository
github.com/affaan-m/ecc
Categories
Technical Documentation, Agent Workflow & Planning
First seen
Jul 14, 2026

Questions

What does the architecture-decision-records skill do?

It captures architectural decisions made during coding sessions as numbered ADR markdown files in docs/adr/, recording context, alternatives considered, and consequences. It also keeps an index README so future developers can see why the codebase is shaped the way it is.

When should I use the architecture-decision-records skill?

Use it when you say record this decision or ADR this, choose between frameworks or databases, discuss trade-offs, or ask why the codebase is shaped this way. The skill then reads existing ADRs to answer those questions.

How do I install the architecture-decision-records skill?

Run npx -y skills add affaan-m/ecc --skill architecture-decision-records -y in your project. Once installed, the agent can write decision records as structured ADR files alongside your code.

Where does architecture-decision-records rank in its category?

It sits in the Technical Documentation category, in the top 50 on that category page. Other skills that lead the category include domain-modeling, archify and writing-guidelines, and it differs by focusing on capturing architectural decisions as numbered ADR files.

More from affaan-m/ecc

All 257

Similar to Architecture Decision Records

More Technical Documentation