# Documentation and adrs

> Documentation and adrs is an open-source agent skill for developer tools. Guides agents to record architectural decisions, ADRs, API docs and changelogs. 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/ajyadav013/claude-kit/tree/main/skills/documentation-and-adrs
- **Repository:** https://github.com/ajyadav013/claude-kit
- **GitHub stars:** 13
- **License:** MIT
- **Skill name:** documentation-and-adrs
- **Collection:** https://github.com/ajyadav013/claude-kit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill teaches an agent to capture the reasoning behind a codebase rather than only its code. It centers on Architecture Decision Records stored under docs/decisions with sequential numbering, a template covering context, decision, alternatives and consequences, and a lifecycle where superseded decisions are kept rather than deleted. It also covers a time-boxed approach for back-filling decisions in an existing project from git history, limited to those that still constrain the code.

Beyond ADRs, the skill sets conventions for inline comments that explain intent and known gotchas, typed API documentation in JSDoc or docstring form, OpenAPI snippets for REST endpoints, README structure, and changelog entries for shipped features. It includes guidance on keeping generated documentation in sync with its source and a quality checklist for prose an agent writes, such as avoiding unsupported quality claims and invented references.

The skill is instructional only: it ships no scripts and sets no tool permissions. It expects the agent to work with the repository's git history, source files and existing docs, and its examples use TypeScript and Python.

## When your agent uses it

> Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

## What it can access

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

- [Instructions only, no scripts](https://github.com/ajyadav013/claude-kit/tree/HEAD/skills/documentation-and-adrs)
- [License: MIT](https://github.com/ajyadav013/claude-kit/tree/HEAD/skills/documentation-and-adrs)

## Features

- **Architecture decision records:** Templates and a lifecycle for recording significant technical choices with alternatives and consequences.
- **Retroactive decision backfill:** A method for reconstructing the few past decisions that still bind an existing codebase, using git history.
- **Intent-focused code comments:** Rules for commenting the why, documenting gotchas, and avoiding restated or commented-out code.
- **API documentation patterns:** Typed docstring and OpenAPI examples for documenting public functions and REST endpoints.
- **README and changelog structure:** Suggested sections for project READMEs and release notes for shipped features.
- **Generated-doc quality gate:** A checklist for removing filler, unverified claims and invented references from agent-written docs.

## Good for

- Record why the team chose a database or framework
- Write an ADR for a new authentication strategy
- Document a public API function with parameters and errors
- Backfill decision records for an existing project
- Restructure a README with quick start and commands
- Draft a changelog entry for a shipped feature

## Install

### Claude Code

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

```sh
/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kit
```

Or copy only this skill to `~/.claude/skills/documentation-and-adrs`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.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.

### Codex

Copy the skill folder to `~/.agents/skills/documentation-and-adrs` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.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.

### Cursor

Copy the skill folder to `~/.cursor/skills/documentation-and-adrs` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.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.

### Gemini CLI

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

```sh
gemini skills install https://github.com/ajyadav013/claude-kit.git --path skills/documentation-and-adrs
```

Or copy the folder to `~/.gemini/skills/documentation-and-adrs` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/documentation-and-adrs`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git
```

Then copy `claude-kit/skills/documentation-and-adrs` into your agent's skills folder as `documentation-and-adrs`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Documentation and adrs trigger?

It is meant for architectural decisions, changes to public APIs, shipping user-facing features, and recording context future engineers and agents will need.

### Where are ADRs stored?

The skill specifies docs/decisions/ with sequential numbering, such as ADR-001.

### Does Documentation and adrs run any scripts?

No. The skill ships no scripts and only provides instructions and templates.

### Does Documentation and adrs need any tools?

The skill does not set allowed tools. Its backfill steps use git log commands.

### 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 claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.

### 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 log and Decision writing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Documentation and adrs](https://ai-powered.com/skills/documentation-and-adrs): Documentation and adrs is an open-source agent skill for developer tools.
- [Architecture decision records](https://ai-powered.com/skills/architecture-decision-records): Architecture decision records is an open-source agent skill for developer tools.
- [Docs adr](https://ai-powered.com/skills/docs-adr): Docs adr 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.
- [Decision writing](https://ai-powered.com/skills/decision-writing): Decision writing is an open-source agent skill for developer tools.
- [Kmg adr guide](https://ai-powered.com/skills/kmg-adr-guide): Kmg adr guide is an open-source agent skill for developer tools.
- [System design edho ferdian](https://ai-powered.com/skills/system-design-edho-ferdian): System design edho ferdian is an open-source agent skill for developer tools.
- [Decision backfill](https://ai-powered.com/skills/decision-backfill): Decision backfill is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/documentation-and-adrs-ajyadav013-2
