Claude-skill-registry jj:describe
Generate and set a commit description for a commit in jj
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/jj-describe-jbott-nix-config" ~/.claude/skills/majiayu000-claude-skill-registry-jj-describe && rm -rf "$T"
manifest:
skills/data/jj-describe-jbott-nix-config/SKILL.mdsource content
Describe a Commit
Generate and set a commit description. Defaults to
@ (working copy), but typically used on @- (parent) when working copy is empty.
Process
- Run
andjj show <rev> --summary
to get change overview (usejj diff -r <rev> --stat
for parent)@- - Analyze changes:
- Small (≤5 files, ≤200 lines): run
directlyjj diff -r <rev> - Large: use
for structured summary/jj-context
- Small (≤5 files, ≤200 lines): run
- Determine project prefix from file paths
- Generate a one-line description:
<prefix>: <lowercase verb> <what changed> - Run
(e.g.,jj describe <rev> -m "<description>"
)jj describe @- -m "..."
IMPORTANT: Always use a single-line commit message. Never use multi-line descriptions or bullet points.
Project Prefix Examples
Use the descriptive folder path identifying the subsystem:
for authentication codesrc/auth
for utility librarieslib/utils
for API servicesservices/api
for database changesdb/migrations
Good Description Examples
src/auth: add JWT token refresh logiclib/utils: fix date parsing for ISO formatsservices/api: add rate limiting middlewaredb/migrations: add users tabletests/integration: add checkout flow tests