# Document

> Document is an open-source agent skill for developer tools. Drafts PR bodies, changelog entries, release notes and postmortems from git diffs. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/awrshift/agent-memory-kit/tree/main/plugins/memory-kit/skills/document
- **Repository:** https://github.com/awrshift/agent-memory-kit
- **GitHub stars:** 33
- **License:** MIT
- **Skill name:** document
- **Collection:** https://github.com/awrshift/agent-memory-kit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-03

## About

This skill writes the human-facing text that accompanies a code change: a pull request body, a changelog entry, a release note or a postmortem. It works from the repository's own git diff and git log output gathered during the run, not from the agent's memory of earlier edits, and it reads a governing spec when one exists so acceptance criteria can be matched to real hunks.

The workflow picks a mode from an argument or asks once, determines the commit range (uncommitted work, a branch against main or master, a tag range, or the commits touching an incident), reads the diff area by area, and then fills a template for the chosen document type. Drafts are required to point at file paths, symbol names or commit shas, to mark unstated rationale and unverified results as such, and to keep failing checks in the text. Before a PR body or release note is handed over, the skill runs a bundled Python script that confirms the named paths and commits exist.

It expects a git repository with a readable history and, for release notes or changelogs, an existing CHANGELOG.md or docs folder to follow. It is a Claude Code plugin skill that reads files and runs git commands; it is restricted to Read, Grep and Glob tools and is designed not to edit code, tests, specs or configuration.

## When your agent uses it

> Write the human-facing prose about a change — PR body · changelog entry · release note · postmortem — and put it in the right file. Use when the user says "write the PR", "PR description", "PR body", "changelog", "changelog entry", "release note", "release notes", "postmortem", "write up the incident", "напиши PR", "описание PR", "чейнджлог", "релиз-ноут", "постмортем". Every draft is built ONLY from `git diff` / `git log` output this skill runs itself — never from the session's memory of what it did, never from what it intended. Writes no code, no tests, no specs; it never edits an implementation file and never edits a spec.

## What it can access

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

- [Instructions only, no scripts](https://github.com/awrshift/agent-memory-kit/tree/HEAD/plugins/memory-kit/skills/document)
- [Asks for: Read, Grep, Glob](https://github.com/awrshift/agent-memory-kit/blob/HEAD/plugins/memory-kit/skills/document/SKILL.md)
- [License: MIT](https://github.com/awrshift/agent-memory-kit/tree/HEAD/plugins/memory-kit/skills/document)

## Features

- **Mode selection:** Chooses between PR body, changelog entry, release note and postmortem from an argument or a single question.
- **Diff-based range reading:** Determines the git range for uncommitted work, a branch, a tag or an incident and reads the diff before drafting.
- **Spec-linked acceptance:** Matches acceptance criteria from a project plan against real hunks when a governing spec exists.
- **Evidence-pointing drafts:** Requires each claim in the text to cite a file path, line, or commit rather than paraphrase from memory.
- **Named-things check:** Runs a bundled script that verifies referenced paths and commits exist before handover.
- **Surgical file insertion:** Places entries into CHANGELOG.md, docs/releases or docs/postmortems without reflowing neighbouring text.

## Good for

- Write a PR description for my current branch based on its commits
- Add an entry under Unreleased in CHANGELOG.md for the merged work
- Draft release notes for the latest tag
- Write up a postmortem for yesterday's login outage
- Summarise what a set of commits changed for reviewers

## Install

### Claude Code

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

```sh
/plugin marketplace add awrshift/agent-memory-kit
/plugin install memory-kit@memory-kit
```

Or copy only this skill to `~/.claude/skills/document`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/document &&
cp -R "$tmp/plugins/memory-kit/skills/document" ~/.claude/skills/document &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/document` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/document` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/document &&
cp -R "$tmp/plugins/memory-kit/skills/document" ~/.agents/skills/document &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/document` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/document` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/document &&
cp -R "$tmp/plugins/memory-kit/skills/document" ~/.cursor/skills/document &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/document` 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/awrshift/agent-memory-kit.git --path plugins/memory-kit/skills/document
```

Or copy the folder to `~/.gemini/skills/document` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/document`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/document &&
cp -R "$tmp/plugins/memory-kit/skills/document" ~/.copilot/skills/document &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/document` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git
```

Then copy `agent-memory-kit/plugins/memory-kit/skills/document` into your agent's skills folder as `document`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs a git repository with history, and it reads SKILL.md-style templates bundled in the plugin. It is restricted to Read, Grep and Glob tools and runs git commands to read diffs.

### Does Document change my code or specs?

No. The skill states it never edits implementation files, tests, configuration or specs, and it does not run git commit, git push or gh pr create unless asked.

### Where does Document write its output?

PR bodies are printed in chat unless a file is requested. Changelog entries go into CHANGELOG.md under Unreleased, release notes into docs/releases, and postmortems into docs/postmortems, with existing project conventions taking precedence.

### Does Document work with other AI coding agents?

It is packaged as a Claude Code plugin skill, and it follows the shared SKILL.md format used by other agents.

### How do I install Document in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/document to use it in all your projects, or to .claude/skills/document in one project. Or install the memory-kit plugin, which includes it: /plugin marketplace add awrshift/agent-memory-kit, then /plugin install memory-kit@memory-kit.

### Does Document 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 Document?

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 Document?

The closest alternatives to Document are PR, PR writer, Lovable drafts, Make PR easy to review and Conventional commit review.

## Where this comes from

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

## Alternatives

- [PR](https://ai-powered.com/skills/pr): PR is an open-source agent skill for developer tools.
- [PR writer](https://ai-powered.com/skills/pr-writer): PR writer is an open-source agent skill for developer tools.
- [Lovable drafts](https://ai-powered.com/skills/lovable-drafts): Lovable drafts is an open-source agent skill for developer tools.
- [Make PR easy to review](https://ai-powered.com/skills/make-pr-easy-to-review): Make PR easy to review is an open-source agent skill for developer tools.
- [Conventional commit review](https://ai-powered.com/skills/conventional-commit-review): Conventional commit review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-flutter): Code review is an open-source agent skill for developer tools.
- [Release notes](https://ai-powered.com/skills/release-notes-zeitlos): Release notes is an open-source agent skill for developer tools.
- [Japanese writing drafter](https://ai-powered.com/skills/japanese-writing-drafter-chachamaru127): Japanese writing drafter is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/document-awrshift
