
Docs adr
Records architecturally significant decisions as ADRs, persisted to memory and an audit
Docs adr is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 19
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Docs adr
This skill guides an agent to recognise when a change makes a structural decision, such as a technology choice, a boundary or a trade-off that constrains later work, and to capture it as an Architecture Decision Record. Each record is expected to carry the context that forced the choice, the decision itself and its consequences, following the Nygard-style structure the skill references.
When a later decision reverses an earlier one, the agent is directed to write a new record and mark the old one as superseded rather than editing history. The skill also asks the agent to decide the record's significance before writing it, so routine local changes are not logged as decisions.
The decision is meant to be stored through the host project's governed memory and audit ledger, with each durable write passing a secret scan and human approval. The skill ships with a reference file for the ADR structure and lifecycle, and it relies on the mokata pipeline for those gates and records.
When your agent uses it
mokata · Documentation & ADRs — an architecture decision is persisted to memory + the ledger, not lost.
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 (14 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 mokata plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add JasGujral/mokata-oss
/plugin install mokata@mostackOr copy only this skill to ~/.claude/skills/docs-adr:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/docs-adr &&
cp -R "$tmp/src/mokata/skills/docs-adr" ~/.claude/skills/docs-adr &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/docs-adr inside it instead.
Copy the skill folder to ~/.agents/skills/docs-adr to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/docs-adr &&
cp -R "$tmp/src/mokata/skills/docs-adr" ~/.agents/skills/docs-adr &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/docs-adr inside it instead.
Copy the skill folder to ~/.cursor/skills/docs-adr to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/docs-adr &&
cp -R "$tmp/src/mokata/skills/docs-adr" ~/.cursor/skills/docs-adr &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/docs-adr inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/JasGujral/mokata-oss.git --path src/mokata/skills/docs-adrOr copy the folder to ~/.gemini/skills/docs-adr yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/docs-adr:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/docs-adr &&
cp -R "$tmp/src/mokata/skills/docs-adr" ~/.copilot/skills/docs-adr &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/docs-adr inside it instead.
Get the folder:
git clone --depth 1 https://github.com/JasGujral/mokata-oss.gitThen copy mokata-oss/src/mokata/skills/docs-adr into your agent's skills folder as docs-adr. Agents that support SKILL.md read one folder per skill.
What it does
- Significance filter
- Guidance for telling architecturally significant decisions apart from reversible, local choices that need no record.
- ADR structure
- Expects each record to include context, decision and consequences, not only the outcome.
- Superseding records
- Directs changes of course into a new record that marks the earlier one as superseded.
- Governed persistence
- Stores the decision in project memory and an audit ledger through a human-approved write gate.
- Docs reconciliation link
- Points to a companion skill that checks whether surrounding docs still match the code.
Good for
- Record why the team chose one database over another
- Write an ADR for a new service boundary
- Document a trade-off that constrains future API design
- Supersede an old architecture decision with a new record
- Check whether a change needs a decision record before merging
Docs adr FAQ
When does Docs adr trigger?
It engages when an approach makes an architecturally significant decision, when work touches an ADR, decision record or changelog, or when a future reader would ask why something was built a certain way. It is not meant for routine in-file changes or prose-only documentation.
Does Docs adr write ADR files automatically?
The skill tells the agent to capture the decision as an ADR and to persist its essence to memory and the audit ledger. Those writes pass through a secret scan and human approval before they are stored.
How are changed decisions handled?
The skill says past ADRs should not be edited. A new record is written and the old one is marked superseded, linking the two.
Does Docs adr run any scripts?
No scripts are included in the skill folder.
How do I install Docs adr in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/docs-adr to use it in all your projects, or to .claude/skills/docs-adr in one project. Or install the mokata plugin, which includes it: /plugin marketplace add JasGujral/mokata-oss, then /plugin install mokata@mostack.
Does Docs adr 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 Docs adr?
Claude Code. 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 Docs adr?
The closest alternatives to Docs adr are Architecture decision records, Decision log, Create architectural decision record, Adr workflow and Solution design.
Where this comes from
- Description: from the skill's own SKILL.md.
More from JasGujral/mokata-oss

Makes the agent design API contracts first and check callers before changing them
- Open source
- 19 GitHub stars
- Developer tools

Gives an agent NestJS rules for guards, DTO validation, modules and tests
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent through Socratic exploration of an approach before any spec or code
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent to capture live browser console, network and page state for tests
- Open source
- 19 GitHub stars
- Developer tools

Guides the agent to reproduce a reported bug with a failing test before fixing it
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent on CI/CD pipelines, release builds and pinned supply-chain posture
- Open source
- 19 GitHub stars
- Developer tools





