
Architecture decision records
Records architecture decisions as numbered ADR files with alternatives and consequences
Architecture decision records is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 66
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Architecture decision records
This skill helps an agent capture significant architectural choices as numbered Markdown ADR documents stored under docs/adr/, so the reasoning lives next to the code instead of in chat threads or pull request comments. Each record follows a lightweight ADR layout covering context, the decision itself, alternatives that were considered with their pros, cons and reasons for rejection, and the resulting positive, negative and risk consequences. It also defines statuses such as proposed, accepted, deprecated and superseded, with superseded entries required to link their replacement.
The workflow asks for confirmation before creating the docs/adr directory, its README index and a template file, and it only writes a decision once the user approves the draft. When asked why the codebase is shaped a certain way, the agent reads the index and matching records before answering, and offers to record a new one if none exists. The guidance also covers which decisions merit a record and which are too trivial.
No scripts are bundled; the skill is a SKILL.md with a format and workflow, and it expects the agent to have file read and write access in the project. It also suggests hooks into planner and code reviewer roles, such as flagging architectural changes that arrive without an ADR.
When your agent uses it
Capture architectural decisions as numbered ADR markdown files in docs/adr/ with context, alternatives considered, consequences, and an index README. Use when the user says 'record this decision' or 'ADR this', chooses between frameworks or databases, discusses trade-offs, or asks why the codebase is shaped this way.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (7 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafathOr copy only this skill to ~/.claude/skills/architecture-decision-records:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/architecture-decision-records &&
cp -R "$tmp/.agents/skills/architecture-decision-records" ~/.claude/skills/architecture-decision-records &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/architecture-decision-records inside it instead.
Copy the skill folder to ~/.agents/skills/architecture-decision-records to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/architecture-decision-records &&
cp -R "$tmp/.agents/skills/architecture-decision-records" ~/.agents/skills/architecture-decision-records &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/architecture-decision-records inside it instead.
Copy the skill folder to ~/.cursor/skills/architecture-decision-records to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/architecture-decision-records &&
cp -R "$tmp/.agents/skills/architecture-decision-records" ~/.cursor/skills/architecture-decision-records &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/architecture-decision-records inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/architecture-decision-recordsOr copy the folder to ~/.gemini/skills/architecture-decision-records yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/architecture-decision-records:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/architecture-decision-records &&
cp -R "$tmp/.agents/skills/architecture-decision-records" ~/.copilot/skills/architecture-decision-records &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/architecture-decision-records inside it instead.
Get the folder:
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.gitThen copy REA_Skill/.agents/skills/architecture-decision-records into your agent's skills folder as architecture-decision-records. Agents that support SKILL.md read one folder per skill.
What it does
- Numbered ADR documents
- Produces markdown decision records with sequential numbering stored in docs/adr/.
- Alternatives and consequences
- Each record documents rejected options, trade-offs, and positive, negative and risk outcomes.
- Index README maintenance
- Appends each new record to a central index table with status and date.
- Decision lifecycle statuses
- Tracks proposed, accepted, deprecated and superseded states with links to replacements.
- Consent-based file creation
- Asks before creating directories or writing files and discards drafts the user declines.
- Querying past decisions
- Reads existing ADRs to explain why a technology or pattern was chosen.
Good for
- Record the decision to use PostgreSQL instead of MongoDB
- Write an ADR comparing two frontend frameworks before we commit
- Explain why the service is structured as a monolith by checking past ADRs
- Document the authentication strategy we just agreed on
- Mark an old architecture decision as superseded and link the replacement
Architecture decision records FAQ
Does the skill create files automatically?
No. It asks for confirmation before creating docs/adr, the index README and a template, and only writes a decision file after the user approves the draft.
Where are the records stored?
In docs/adr/ inside the project, numbered as NNNN-decision-title.md with an index README listing them.
When does Architecture decision records activate?
When the user says to record or ADR a decision, chooses between significant alternatives, says they decided something, or asks why the code is shaped a certain way.
Does Architecture decision records need any scripts or extra tools?
No scripts are included. It relies on the agent reading and writing markdown files in the project.
How do I install Architecture decision records in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/architecture-decision-records to use it in all your projects, or to .claude/skills/architecture-decision-records in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.
Does Architecture decision records run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Architecture decision records?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Architecture decision records?
The closest alternatives to Architecture decision records are Docs adr, Create architectural decision record, Decision log, Adr workflow and Solution design.
Where this comes from
- Description: from the skill's own SKILL.md.
More from smartworldarafath/REA_Skill

Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android
- Open source
- 66 GitHub stars
- Developer tools

Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity
- Open source
- 66 GitHub stars
- Developer tools

Compare coding agents head-to-head on your own tasks by pass rate, cost and time
- Open source
- 66 GitHub stars
- Developer tools

Guides an agent to design tool sets, observations and error recovery for better completion
- Open source
- 66 GitHub stars
- Developer tools

Gives an agent a structured capture-diagnose-recover loop for failing runs
- Open source
- 66 GitHub stars
- Developer tools

Lets an AI agent make x402 payments within per-task budgets and spending policies
- Open source
- 66 GitHub stars
- Finance and payments





