
Documentation and adrs
Guides agents to record architecture decisions and catch docs that drifted from code
Documentation and adrs 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
- 123K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Documentation and adrs
This skill teaches an agent to write architecture decision records that capture the context, constraints and rejected alternatives behind a choice, and to follow an existing ADR convention in a repository before falling back to a default layout. It also covers inline comments that explain intent, API documentation with types and OpenAPI, README structure, and changelog entries that are appended rather than rewritten.
For documentation drift, the skill gives a git-based procedure that compares the last commit touching a doc with the last commit touching the code it describes. It tells the agent to answer "can't tell" when history is unordered, renamed, or cut off by a shallow clone, instead of reporting the doc as current. A prose review step asks the agent to keep technical details and qualifiers intact while tightening wording.
The skill ships as a single SKILL.md with no scripts. It expects a git repository with history, and the drift check is written for a bash shell.
When your agent uses it
Records decisions and documentation, and detects when documentation has drifted from the code it describes. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, when docs may be stale or out of sync with the code they describe, when working out which module docs are still accurate, or when setting up a check so docs cannot silently go out of date again.
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 1 file (13 KB) on GitHub on 4 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 agent-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add chrisalehman/bionic
/plugin install agent-skills@bionicOr copy only this skill to ~/.claude/skills/documentation-and-adrs:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/documentation-and-adrs &&
cp -R "$tmp/skills/documentation-and-adrs" ~/.claude/skills/documentation-and-adrs &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/documentation-and-adrs inside it instead.
Copy the skill folder to ~/.agents/skills/documentation-and-adrs to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/documentation-and-adrs &&
cp -R "$tmp/skills/documentation-and-adrs" ~/.agents/skills/documentation-and-adrs &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/documentation-and-adrs inside it instead.
Copy the skill folder to ~/.cursor/skills/documentation-and-adrs to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/documentation-and-adrs &&
cp -R "$tmp/skills/documentation-and-adrs" ~/.cursor/skills/documentation-and-adrs &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/documentation-and-adrs inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/addyosmani/agent-skills.git --path skills/documentation-and-adrsOr copy the folder to ~/.gemini/skills/documentation-and-adrs yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/documentation-and-adrs:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/documentation-and-adrs &&
cp -R "$tmp/skills/documentation-and-adrs" ~/.copilot/skills/documentation-and-adrs &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/documentation-and-adrs inside it instead.
Get the folder:
git clone --depth 1 https://github.com/addyosmani/agent-skills.gitThen copy agent-skills/skills/documentation-and-adrs into your agent's skills folder as documentation-and-adrs. Agents that support SKILL.md read one folder per skill.
What it does
- Architecture decision records
- Templates and lifecycle rules for recording why a significant technical choice was made.
- Existing convention matching
- Guidance to follow a repository's ADR location, numbering and heading style before defaults.
- Documentation drift detection
- A git commit-ordering check that flags docs older than the code they describe.
- Intent-focused comments
- Rules for commenting why code does something and avoiding restated or commented-out code.
- API and README docs
- Patterns for typed function docs, OpenAPI entries and project README sections.
- Append-only changelogs
- Instructions to add dated change log entries that explain why a doc changed.
Good for
- Write an ADR for choosing a database or authentication approach
- Check whether a module's docs still match its current code
- Document a public API function with parameter and return types
- Review a README to confirm it explains setup and commands
- Add a dated changelog entry when correcting an outdated doc
Documentation and adrs FAQ
Does Documentation and adrs need any scripts or extra tools?
No scripts are bundled. The drift check uses git commands run in a bash shell against a repository with history.
Where does Documentation and adrs store ADRs?
By default in docs/decisions/ with sequential numbering, but an existing ADR location or naming convention in the repository takes precedence.
What happens with a shallow clone?
The skill says the drift check can be unreliable on a shallow clone, so the agent should fetch full history first when the answer matters.
Can Documentation and adrs rewrite an existing changelog?
No. The skill instructs the agent to append a dated entry and never rewrite or collapse earlier entries.
How do I install Documentation and adrs in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/documentation-and-adrs to use it in all your projects, or to .claude/skills/documentation-and-adrs in one project. Or install the agent-skills plugin, which includes it: /plugin marketplace add chrisalehman/bionic, then /plugin install agent-skills@bionic.
Does Documentation and adrs 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 Documentation and adrs?
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 Documentation and adrs?
The closest alternatives to Documentation and adrs are Documentation and adrs, Architecture decision records, Docs adr, Decision backfill and Kmg adr guide.
Where this comes from
- Description: from the skill's own SKILL.md.
More from addyosmani/agent-skills

Lets your coding agent inspect and test live browser pages through Chrome DevTools
- Open source
- 123K GitHub stars
- Browser automation

Guides an agent through red-green-refactor test-first development and bug reproduction
- Open source
- 123K GitHub stars
- Developer tools

Audits interfaces against WCAG 2.2 AA and guides fixing the violations found
- Open source
- 123K GitHub stars
- Developer tools

Guides designing stable, hard-to-misuse APIs, REST endpoints and module contracts
- Open source
- 123K GitHub stars
- Design and media

Sets up CI/CD quality gates, deployment strategies and rollback plans for agents
- Open source
- 123K GitHub stars
- Developer tools

Guides an agent through multi-axis code review before changes are merged
- Open source
- 123K GitHub stars
- Developer tools





