/memory-kit:documentfrom Multi-Agent Driven Development Kit
Writes human-facing prose about code changes — PR bodies, changelog entries, release notes, and postmortems — using only git diff/log output. Invoked by name or when user mentions these document types.
Ships in Multi-Agent Driven Development Kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You write what a human reads about a change: a PR body, a changelog entry, a release note, a postmortem. One rule governs all four — every sentence traces to a hunk or a commit you read in this invocation. What you remember building is not evidence; the diff is.
Argument: pr · changelog · release-note · postmortem.
No argument → look at the repo first, then ask ONE question with a recommendation:
pr,changelog,release-noteorpostmortem? Recommendpr— branch<branch>is<n>commits ahead of<base>and has no open PR.
How to pick the recommendation: uncommitted diff or a branch ahead of base → pr · a tag with
no file in docs/releases/ → release-note · merged work missing from CHANGELOG.md's
Unreleased → changelog · the user named an incident, outage or regression → postmortem.
Ask once, then proceed.
No drafting before these commands ran in this session.
| Situation | Range |
|---|---|
| uncommitted work | HEAD (plus git diff --cached; untracked files via git status --porcelain) |
| a branch to merge | <base>..HEAD, base = main if git rev-parse --verify main succeeds, else master |
| a release | tag range <prev-tag>..<tag> — list with git tag --sort=-v:refname | head -5 |
| an incident | the commits the incident touched plus the fix commit, by date or by path |
git diff --stat <range>
git diff <range>
git log --format='%h %ad %s' --date=short --no-merges <range>
git log --format='%h %s%n%b' --no-merges <range> # bodies carry the WHY, when an author wrote one
Big diff (--stat over ~2000 changed lines): read --stat first, then git diff <range> -- <path>
area by area. Never describe a file whose hunks you did not read. Quote from this output in the
draft — file paths, symbol names, commit shas — rather than paraphrasing it from a distance.
If the changed paths belong to a project that has one: projects/<name>/plans/*.md — or the path
that project's README.md map names for plans/specs, the map wins over the default. Pick the
spec whose Slices name the touched files. Read its Goal, Acceptance and Non-goals; pull:
AC-n ids this change serves (match the AC text against real hunks, not against the slice title),Verified cells already filled — those pointers are your "How verified" evidence,No spec, or no AC that matches → the AC section reads no spec — n/a. Do not invent an id, and
do not write or amend a spec: the integrator owns those files.
Copy the section order and the cues; the templates are cue sheets, not prose to polish.
| Mode | Template |
|---|---|
pr | templates/pr.md |
changelog | templates/changelog.md |
release-note | templates/release-note.md |
postmortem | templates/postmortem.md |
Resolve them from the plugin: ${CLAUDE_PLUGIN_ROOT}/skills/document/templates/<name>.md.
Audience differs per mode and changes the vocabulary: a PR body is read by a reviewer who will read the diff next (file paths, commit shas, gate output) · a changelog entry by a maintainer scanning versions (one line, one pointer) · a release note by a user who never sees the code (no file paths, no internal names) · a postmortem by whoever is on call next time (timeline, cause, what to change).
These are the reason this skill exists. A pretty document that overstates the change is worse than no document.
path + what changed, or path:line) or a commit
(abc1234). A bullet with no pointer is not finished.rationale: not stated and move on.Before a PR body or a release note is handed over, run the draft through the named-things check:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/claim-refs-check.py" <draft file, or - for stdin> --repo <repo root>.
Exit 1 lists every path and commit the draft names that does not exist — fix the text first. It proves the
named things exist, not that the sentences are true. (one project's working practice; no count)
| Mode | Destination |
|---|---|
pr | print the body in chat. Write .git/PR_BODY.md only if the user asks for a file — then tell them gh pr create --body-file .git/PR_BODY.md |
changelog | CHANGELOG.md at the repo root — insert under ## [Unreleased], in the right Added / Changed / Fixed / Removed subsection. Missing file → create it with the Keep a Changelog header from the template |
release-note | docs/releases/<version>.md (<version> exactly as the tag reads, without a leading v if the existing files drop it) |
postmortem | docs/postmortems/YYYY-MM-DD-<slug>.md |
If the project's README.md map already names a home for that class, that row wins — write
there, and say in the summary that the map, not the default, decided the path. Same for a repo
that already keeps release notes in docs/CHANGELOG.md or RELEASES.md: follow what exists.
Never create a second home for a class that already has one.
Edits into an existing file are surgical: insert your entry, leave neighbouring prose, ordering and formatting untouched. Never reflow a file to make your insert look native.
Four lines, this order; drop "Heads up" when there is genuinely nothing:
projects/*/plans/*.md) — status lines included. The integrator owns them..claude/memory/MEMORY.md, context/handoffs/, projects/*/BACKLOG.md or the
findings registry — close-session and code-sync own those. A postmortem proposes registry
rows in its own text; it does not append them.git commit, git push or gh pr create unless the user asked for that too.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub awrshift/agent-memory-kit --plugin memory-kit10 skills in this plugin
/close-sessionEnd-of-session ritual — audit today's patterns against accumulated memory, propose promotions, refresh MEMORY.md, and write the session handoff. Use when the user says "/memory-kit:close-session", "закрой сессию", "закрываем", "we're done for today", "wrap up"./code-syncReconcile the project's documents with what the code now shows, after a merge or at the end of a build: spec statuses (building → done only with a named gate, or → stale with the reason), assumed specs owed ratification, the project README map and its Last verified date. Surgical edits only. Use when the user says "/memory-kit:code-sync", "sync the docs", "sync specs with code", "синхронизируй доки с кодом", "что устарело в спеках", or right after merging an executor branch.
/Other plugins' skills for the same job