# Architecture decision records

> Architecture decision records is an open-source agent skill for developer tools. Records architecture decisions as numbered ADR files with alternatives and consequences. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/architecture-decision-records
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** architecture-decision-records
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/architecture-decision-records)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/architecture-decision-records)

## Features

- **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

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/architecture-decision-records`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/architecture-decision-records` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/architecture-decision-records` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/architecture-decision-records
```

Or copy the folder to `~/.gemini/skills/architecture-decision-records` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/architecture-decision-records`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then 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.

## 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.

## Alternatives

- [Docs adr](https://ai-powered.com/skills/docs-adr): Docs adr is an open-source agent skill for developer tools.
- [Create architectural decision record](https://ai-powered.com/skills/create-architectural-decision-record): Create architectural decision record is an open-source agent skill for developer tools.
- [Decision log](https://ai-powered.com/skills/decision-log-berkcangumusisik): Decision log is an open-source agent skill for developer tools.
- [Adr workflow](https://ai-powered.com/skills/adr-workflow-ramboz): Adr workflow is an open-source agent skill for developer tools.
- [Solution design](https://ai-powered.com/skills/solution-design): Solution design is an open-source agent skill for developer tools.
- [Architecture reasoning](https://ai-powered.com/skills/architecture-reasoning): Architecture reasoning is an open-source agent skill for developer tools.
- [Prd v06 architecture design](https://ai-powered.com/skills/prd-v06-architecture-design): Prd v06 architecture design is an open-source agent skill for design and media.
- [Arch review](https://ai-powered.com/skills/arch-review-ramboz): Arch review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/architecture-decision-records
