
Adr workflow
Scaffolds, accepts, supersedes and indexes Architectural Decision Records
Adr workflow is an open-source agent skill for developer tools. It is available on Codex.
- Scripts
- Python
- Platforms
- Codex
- GitHub stars
- 6
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Adr workflow
This skill manages the lifecycle of Architectural Decision Records in a project. A bundled Python helper handles the file operations deterministically: numbering and scaffolding new ADRs, stamping acceptance and supersession status in frontmatter and prose, regenerating the index in the decisions README, and auditing that index for stale entries or duplicate numbers. The agent is left to write the substance of each record, such as context, options and consequences.
The skill is built around project conventions. It checks that the repository already has a jig scaffold before creating anything and routes the user to setup or migration commands otherwise. New ADRs are reserved on origin/main by default, with a branch and pull request fallback when pushes are refused, and the helper works from feature branches and linked worktrees as well.
It expects a git repository with a docs/decisions directory, Python 3 available to run the helper script, and optionally a refinement-todo file for linking resolved deferred decisions. The skill is MIT licensed and ships with the jig plugin for Codex.
When your agent uses it
Scaffold, accept, index, and link Architectural Decision Records (ADRs). Use when the user says "write an ADR", "record this decision", "resolve [deferred item] with an ADR", "supersede ADR-NNNN", or otherwise wants to capture a hard-to-reverse decision in `docs/decisions/`. Also use when a refinement-todo entry needs to be marked RESOLVED with a link back to the ADR. Do NOT use for ad-hoc design discussion that hasn't crystallized into a decision yet — wait until the choice is firm.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (102 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
Copy the skill folder to ~/.claude/skills/adr-workflow to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/adr-workflow &&
cp -R "$tmp/hosts/codex/plugins/jig/skills/adr-workflow" ~/.claude/skills/adr-workflow &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/adr-workflow inside it instead.
Copy the skill folder to ~/.agents/skills/adr-workflow to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/adr-workflow &&
cp -R "$tmp/hosts/codex/plugins/jig/skills/adr-workflow" ~/.agents/skills/adr-workflow &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/adr-workflow inside it instead.
Copy the skill folder to ~/.cursor/skills/adr-workflow to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/adr-workflow &&
cp -R "$tmp/hosts/codex/plugins/jig/skills/adr-workflow" ~/.cursor/skills/adr-workflow &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/adr-workflow inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ramboz/jig.git --path hosts/codex/plugins/jig/skills/adr-workflowOr copy the folder to ~/.gemini/skills/adr-workflow yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/adr-workflow:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/adr-workflow &&
cp -R "$tmp/hosts/codex/plugins/jig/skills/adr-workflow" ~/.copilot/skills/adr-workflow &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/adr-workflow inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ramboz/jig.gitThen copy jig/hosts/codex/plugins/jig/skills/adr-workflow into your agent's skills folder as adr-workflow. Agents that support SKILL.md read one folder per skill.
What it does
- Scaffold new ADRs
- Creates a numbered ADR file from the template with a slug collision check.
- Accept and supersede records
- Updates status fields atomically and links replaced decisions to their successors.
- Regenerate the index
- Rebuilds the decisions README index from the ADR files present.
- Audit index consistency
- Read-only check for stale index entries and duplicate ADR numbers.
- Resolve deferred todos
- Strikes through a matching refinement-todo heading and links it to the ADR.
- Reserve numbers on trunk
- Reserves the next ADR number on origin/main, falling back to a pull request.
Good for
- Write an ADR recording a hard-to-reverse architecture choice
- Supersede an accepted ADR with a new decision
- Regenerate the decisions index after editing records
- Check the ADR index for duplicate numbers before merging
- Mark a deferred refinement item resolved by a new ADR
Adr workflow FAQ
What does the skill need before creating an ADR?
It first confirms the project has a jig scaffold with scaffold.json. Greenfield projects are routed to the scaffold-init command and existing spec layouts to the migrate command.
Does Adr workflow edit accepted ADRs?
No. Accepted ADRs are treated as immutable, and the only allowed change is the pair of supersession lines written by the supersede subcommand.
What language is the helper script in?
The mechanics live in a Python script, adr.py, which the agent runs from the command line.
When should the skill not trigger?
It is meant to be skipped for ad-hoc design discussion that has not yet become a firm decision.
How do I install Adr workflow in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/adr-workflow to use it in all your projects, or to .claude/skills/adr-workflow in one project.
Does Adr workflow run scripts?
Yes. It runs Python scripts. Its scripts contain network calls. 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 Adr workflow?
Codex. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Adr workflow?
The closest alternatives to Adr workflow are Architecture decision records, Docs adr, Create architectural decision record, Decision log and Solution design.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ramboz/jig

Walks an agent through diagnosing, proving and fixing a reported bug with a regression
- Open source
- 6 GitHub stars
- Developer tools

Runs a six-category ambiguity audit on a spec and asks up to five questions
- Open source
- 6 GitHub stars
- Developer tools

Runs a static lint pass on Python or Node projects and reports normalized findings
- Open source
- 6 GitHub stars
- Developer tools

Recommends the right contract artifact and validator for each external API surface
- Open source
- 6 GitHub stars
- Developer tools

Builds a standardized prompt for a fresh reviewer subagent to check work against its spec
- Open source
- 6 GitHub stars
- Developer tools

Persists session terms, learnings and lightweight decisions into a project memory layer
- Open source
- 6 GitHub stars
- Knowledge and memory





