Agent skill

Architectural Decision Records

by intent-driven-dev in intent-driven-dev/intent-driven-template

A skill your agent uses when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision…

MITAuto-check passedDevelopment

Install Architectural Decision Records

skills CLI
$ npx skills add intent-driven-dev/intent-driven-template --skill architectural-decision-records -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install intent-driven-dev/intent-driven-template architectural-decision-records --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/intent-driven-dev/intent-driven-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/architectural-decision-records .claude/skills/architectural-decision-records && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
architectural-decision-records
GitHub stars
159
Token cost
~1k tokens
SKILL.md length
392 words
Files
7
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision…

  • Works in 8 steps: Identify the single decision. Split… → Check preferences.md for preferred-style. → If preferred-style: unset, ask the user… → …
  • Updating architectural decisions
  • SKILL.md covers Overview, When to Use, Workflow and Template Choice, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Architectural Decision Records is an agent skill from intent-driven-dev/intent-driven-template. Use when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision history.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files (for example `preferences.md`, `templates/custom.md` and `templates/madr-full.md`).

It sits in Development, covering Architecture decision records. The repository describes itself as: OpenSpec and OpenCode template for intent-driven development with specs, ADRs, C4 diagrams, Gherkin, TDD, Multi-Model Adversarial Spec Authoring, Glossary for Domain Terms, and… The licence is MIT.

When your agent uses it

  • Updating architectural decisions
  • Architecture decision history

Example prompts

  • “/architectural-decision-records”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Identify the single decision. Split multiple decisions into multiple ADRs.
  2. Check preferences.md for preferred-style.
  3. If preferred-style: unset, ask the user which style to use, then record it in preferences.md before drafting.
  4. Use the matching file under templates/.
  5. Capture known facts only: context, requirements, constraints, options, rationale, decision makers, consequences.
  6. If facts are missing, mark them as Unknown or ask a focused question; do not invent context, options, or quality attributes.
  7. Write honest consequences: benefits, downsides, follow-up.
  8. Preserve history: supersede old accepted ADRs; do not rewrite them away.

What it can do on your machine

Read from SKILL.md and the folder at commit 73f54d5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Architectural Decision Records loads about 1k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 392 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from intent-driven-dev/intent-driven-template at commit 73f54d5, republished under its MIT licence (© intent-driven-dev). 392 words, ~1,020 tokens.

Download SKILL.mdSave it as .claude/skills/architectural-decision-records/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
architectural-decision-records
description
Use when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision history.

Architectural Decision Records

Overview

An Architectural Decision Record captures one architecturally significant decision, its rationale, tradeoffs, and consequences. Optimize for future readers reconstructing decision history.

When to Use

Use when creating, updating, reviewing, or explaining an ADR, architecture decision, decision log, tradeoff analysis, rationale, consequences, alternatives, or status.

Do not use ADRs for transient implementation details, meeting notes, or insignificant decisions. If significance is unclear, ask what future maintainers will need to know.

Workflow

  1. Identify the single decision. Split multiple decisions into multiple ADRs.
  2. Check preferences.md for preferred-style.
  3. If preferred-style: unset, ask the user which style to use, then record it in preferences.md before drafting.
  4. Use the matching file under templates/.
  5. Capture known facts only: context, requirements, constraints, options, rationale, decision makers, consequences.
  6. If facts are missing, mark them as Unknown or ask a focused question; do not invent context, options, or quality attributes.
  7. Write honest consequences: benefits, downsides, follow-up.
  8. Preserve history: supersede old accepted ADRs; do not rewrite them away.

Template Choice

SituationTemplate
Detailed tradeoff recordtemplates/madr-full.md
Concise tradeoff recordtemplates/madr-minimal.md
Classic lightweight ADRtemplates/nygard.md
One-sentence summarytemplates/y-statement.md
Project-specific styletemplates/custom.md
Too little evidenceADR review notes/questions, not accepted ADR

Status Values

StatusUse when
ProposedUnder review
AcceptedTeam committed
DeprecatedHistorically relevant but no longer recommended
SupersededReplaced by another ADR; link it
Show full SKILL.md (167 more words)Show less

Preference Prompt

If no preference is recorded, ask:

Which ADR style should I use and remember for this project: MADR full, MADR minimal, Nygard, Y-Statement, or custom?

After the user answers, update preferences.md with the selected preferred-style. Do not ask again unless the user asks to change style.

Review Checklist

  • One decision, not a bundle
  • Significant: affects structure, quality attributes, constraints, or evolution
  • Context explains why it existed
  • Rejected options/tradeoffs are explicit
  • Rationale is tied to requirements, not preference
  • Downsides and follow-up work are recorded
  • Status is clear
  • Unknowns are marked, not invented

Example

markdown
# ADR-012: Use PostgreSQL for Orders

## Status

Accepted

## Context

Orders need relational constraints, consistency, and reporting joins. The team operates PostgreSQL well.

## Considered Options

- PostgreSQL: integrity, SQL reporting, familiar operations; migrations required.
- MongoDB: flexible schema; weaker fit for consistency and joins.

## Decision

We will use PostgreSQL because consistency, joins, and operational familiarity matter more than schema flexibility.

## Consequences

- Positive: Integrity and reporting align with needs.
- Negative: Schema changes need migrations.
- Follow-up: Define migration practice.

Common Mistakes

MistakeFix
Several decisions in one ADRSplit them.
Sales pitchInclude rejected options and negative consequences.
Invented contextMark unknowns or ask.
Treating status as decorationUse status to show lifecycle and link superseding ADRs.
Rewriting historyKeep old ADR; create/link superseding ADR.
Omitting alternatives under pressureInclude at least the rejected option and why it lost.

Sources

adr.github.io: home, ADR templates, AD practices. See templates/ for captured template variants.

© intent-driven-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files in .agents/skills/architectural-decision-records of intent-driven-dev/intent-driven-template.

  • SKILL.md
  • preferences.md
  • templates/custom.md
  • templates/madr-full.md
  • templates/madr-minimal.md
  • templates/nygard.md
  • templates/y-statement.md

Open the folder on GitHubat commit 73f54d5

Compare with similar skills

Architectural Decision Records next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Architectural Decision Records compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Architectural Decision Records this skillintent-driven-dev/intent-driven-template159—~1kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
Cto AdvisorIbrahim-3d/orchestrator-supaconductor3804 repos~2.4kAutomated safety check: PassMIT
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0
Domain Modelingbrim-borium/spotify_sdk1665 repos~806Automated safety check: PassApache-2.0
Design Doc MermaidSpillwaveSolutions/design-doc-mermaid1751 repos~5.6kAutomated safety check: PassNone

Similar skills

  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Cto Advisor

    Ibrahim-3d/orchestrator-supaconductor

    Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.

    380 GitHub starsUsed in 4 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Improve Codebase Architecture

    ywwynm/EverythingDone

    Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.

    144 GitHub starsUsed in 15 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Domain Modeling

    brim-borium/spotify_sdk

    Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.

    166 GitHub starsUsed in 5 repos~806 tokens
    DevelopmentAuto-check passed
  • Design Doc Mermaid

    SpillwaveSolutions/design-doc-mermaid

    Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.

    175 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed
  • Learning Opportunities

    DrCatHicks/learning-opportunities

    Facilitates deliberate skill development during AI-assisted coding.

    2.5k GitHub stars~2.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from intent-driven-dev/intent-driven-template

All 10 skills in this repo
  • Acceptance Test Authoring

    intent-driven-dev/intent-driven-template

    A skill your agent uses when creating or modifying acceptance tests, configuring cucumber-js or behave runners, writing or refactoring step definitions, linting executable Gherkin specs, choosing an…

    159 GitHub stars~2k tokensUpdated 3 days ago
    Auto-check passed
  • Adversarial Authoring

    intent-driven-dev/intent-driven-template

    A skill your agent uses when rules or instructions mention "adversarial-authoring", "adversarial authoring", "must use adversarial-authoring skill", "model council", "cross-model review", or…

    159 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • Gherkin Authoring

    intent-driven-dev/intent-driven-template

    A skill your agent uses when drafting, reviewing, or improving Gherkin, Cucumber scenarios, BDD acceptance criteria, feature examples, Scenario Outlines, Backgrounds, Rules, Doc Strings, Data…

    159 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Glossary

    intent-driven-dev/intent-driven-template

    A skill your agent uses when authoring or reviewing specs, requirements, design docs, ADRs, tasks, glossary entries, domain terms, technical terms, or wording consistency across artifacts

    159 GitHub stars~767 tokensUpdated 3 days ago
    Auto-check passed
  • Openspec Bulk Apply Change

    intent-driven-dev/intent-driven-template

    A skill your agent uses when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge.

    159 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Spec As Source

    intent-driven-dev/intent-driven-template

    A skill your agent uses when a user or project explicitly adopts OpenSpec spec-as-source, fenced Gherkin specifications as executable acceptance tests, or acceptance-test-first OpenSpec tasks.

    159 GitHub stars~746 tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Architectural Decision Records

What does Architectural Decision Records do?

A skill your agent uses when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision…. Architectural Decision Records is an agent skill from intent-driven-dev/intent-driven-template. Use when documenting, drafting, reviewing, or updating architectural decisions, ADRs, decision logs, tradeoffs, rationale, consequences, alternatives, or architecture decision history.

When should I use Architectural Decision Records?

Architectural Decision Records fits situations like: updating architectural decisions; architecture decision history.

How do I install Architectural Decision Records in Claude Code?

Run `npx skills add intent-driven-dev/intent-driven-template --skill architectural-decision-records -a claude-code`. Or copy the skill folder (.agents/skills/architectural-decision-records in intent-driven-dev/intent-driven-template) into .claude/skills/architectural-decision-records in your project. Claude Code loads it when a task matches its description.

How do I install Architectural Decision Records in Codex?

Run `npx skills add intent-driven-dev/intent-driven-template --skill architectural-decision-records -a codex`. Or copy the skill folder (.agents/skills/architectural-decision-records in intent-driven-dev/intent-driven-template) into .agents/skills/architectural-decision-records in your project. Codex loads it when a task matches its description.

Can I use Architectural Decision Records in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add intent-driven-dev/intent-driven-template --skill architectural-decision-records -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/architectural-decision-records, .gemini/skills/architectural-decision-records, .github/skills/architectural-decision-records and .opencode/skills/architectural-decision-records in your project.

What does Architectural Decision Records need to run?

SKILL.md names no scripts, command-line tools or credentials: Architectural Decision Records is instructions for the agent only.

Does Architectural Decision Records access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Architectural Decision Records safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Architectural Decision Records use?

Architectural Decision Records is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Architectural Decision Records use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Architectural Decision Records?

Skills that share tags, products or a category with Architectural Decision Records: PR Design Doc (OpenHands/OpenHands, 90k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 380 stars), Improve Codebase Architecture (ywwynm/EverythingDone, 144 stars) and Domain Modeling (brim-borium/spotify_sdk, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Architectural Decision Records?

intent-driven-dev (a GitHub organization) maintains it in intent-driven-dev/intent-driven-template, which has 159 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 4, 2026.

Source: intent-driven-dev/intent-driven-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.