/active-descriptions:describefrom active-descriptions
Collaborative jj change description workflow. Use when writing, drafting, or reviewing a jj change description, or when stale descriptions are flagged by the staleness hooks. Analyzes the diff and conversation history, then applies the description via jj describe.
Ships in active-descriptions. 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.
Write change descriptions as a joint artifact, co-authored by human and agent. Each contributes what they're uniquely positioned to know, at the moment when that knowledge is freshest.
Audience: the next reader who lacks today's context — whether human investigator or AI agent bootstrapping into the codebase. Immediate reviewers benefit too, but the durable value is in the historical record. Tooling (changelogs, release-notes generators) is a secondary consumer; serve it through structural consistency, not by writing for machines.
Format: Conventional Commits. VCS reference: jj cheatsheet.
The commit step is not just documentation. It is a natural pause for reflection on the work itself. Legitimate outcomes include:
Treat description-writing as a moment to evaluate the work, not just record it.
This plugin never stops you to describe. When a turn ends with changes you
edited whose diff has moved on since they were described, you get a note at
the start of your next turn. Describe them when the work reaches a stopping
point, not mid-task. jj git push is refused while a change it would publish
has an out-of-date description, so describe (or acknowledge) those before
pushing. Leave alone any flagged change that is another session's unfinished
work.
Treat each change you describe as a describe target:
Handle multiple flagged changes sequentially.
The diff must be able to change the description. Run jj diff (or
jj diff -r <change>) in a read-only tool call and wait for its output.
Read the full relevant diff; a file list, --stat, or truncated output
is not enough. Fetch missing portions before proceeding.
Then reason about the returned evidence before composing the description:
This gives you a rich but incomplete picture. The gaps are what the human knows but never said aloud.
This is a causal checkpoint, not command ordering. Do not put the diff
and jj describe or jj commit in the same shell command, tool call,
batch, or orchestration script, even if execution is sequential. A
prewritten message supplied alongside the diff cannot incorporate its
output. Separate commands within one tool call do not satisfy this rule.
Use the intervening reasoning to decide whether the observed scope, rationale, validation claims, or change boundaries require revision. The message need not change if the evidence supports it; do not invent revisions to demonstrate compliance. User-facing narration of the internal reasoning is not required.
Only after inspecting the returned diff and reasoning about it, compose
or revise the full description using that evidence and the conversation
history. Apply it via jj describe in a later, separate tool call.
If using jj commit to apply a description and advance the working copy,
the same separation applies.
If the change is edited after inspection, read the updated diff and reassess the description before applying it. For a path-limited commit, inspect and describe precisely the selected changes.
Match depth to the change. Not every commit warrants a lengthy body. Reason about proportionality for each specific change in its specific context rather than following fixed categories.
Title: The effect, not the implementation. What changed for the user or system. The "how" goes in the body.
fix: add mutex to guard database handlefix: prevent database corruption during simultaneous sign-upsBody: Inverted pyramid. Most important information first. The reader should be able to stop at any depth and have gotten maximum value.
When a body warrants headings, use this canonical vocabulary so that
readers — human and automated — can navigate predictably. Format
headings as ## Heading (Markdown ATX-style), never with underlines
or bold text as a heading substitute.
| Heading | Use when... |
|---|---|
| Motivation | The "why" isn't obvious from the title alone |
| Background | Context the reader needs but can't get from the diff |
| Approach | The "how" involves non-obvious design choices |
| Alternatives considered | Other approaches were seriously considered or attempted |
| Findings | Implementation revealed surprising behavior or constraints |
| Testing | Verification goes beyond "tests pass" |
| References | Issues, docs, related changes |
Not every description needs headings. Not every headed description needs all of these. But when you reach for a heading, reach for one from this table — don't invent synonyms. Consistency across the history makes the entire commit log more navigable.
Content to include — a menu, not a checklist. Exercise judgment about which items each specific change warrants:
Fixes #1234, related changes. Summarize linked
issues.Content to leave out:
Self-contained. The next reader will have zero access to the original conversation — whether they are a human investigator or a fresh agent session. The description + diff must be sufficient on their own. The commit log is the closest thing to persistent memory across sessions; treat every description as a cache entry. If context would otherwise live only in chat, PR comments, or the conversation history, it belongs in the description.
No noise. Every sentence must survive: "Would this help someone reading this at 2 AM while debugging production?" Say exactly what the diff can't say; omit what the diff already says. Color and context that wouldn't survive this filter can still be included — at the end, clearly separated — so it doesn't bury actionable information.
Prose quality. Prefer active voice, strong verbs, and positive phrasing. Cut every word that doesn't earn its place.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub get-real-xr/agent-plugins --plugin active-descriptions