Skip to content
Skill

Document

Drafts PR bodies, changelog entries, release notes and postmortems from git diffs

Document is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
33
Last commit
License
MIT
Listing updated

Similar skills

About Document

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.

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 5 files (16 KB) on GitHub on 3 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 memory-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

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

More from awrshift/agent-memory-kit

  1. Runs an end-of-session audit that promotes repeated patterns and writes a handoff

    • Open source
    • 33 GitHub stars
    • Knowledge and memory
  2. Reconciles project specs and docs against the current code after merges

    • Open source
    • 33 GitHub stars
    • Developer tools
  3. Audits a MEMORY.md cache against memory rules and proposes a move plan before editing

    • Open source
    • 33 GitHub stars
    • Knowledge and memory
  4. Runs a multi-lens QA sweep of a live product and turns verified findings into tickets

    • Open source
    • 33 GitHub stars
    • Developer tools
  5. Cross-checks your agent's answer with independent reviewers before it reaches you

    • Open source
    • 33 GitHub stars
    • Developer tools
  6. Runs an end-of-session adversarial review of your coding or design work

    • Open source
    • 33 GitHub stars
    • Developer tools