Agent skill
jj:describe
Generate and set a commit description for a commit in jj
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/jj-describe
SKILL.md
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
jj show <rev> --summaryandjj diff -r <rev> --statto get change overview (use@-for parent) - Analyze changes:
- Small (≤5 files, ≤200 lines): run
jj diff -r <rev>directly - Large: use
/jj-contextfor structured summary
- Small (≤5 files, ≤200 lines): run
- Determine project prefix from file paths
- Generate a one-line description:
<prefix>: <lowercase verb> <what changed> - Run
jj describe <rev> -m "<description>"(e.g.,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:
src/authfor authentication codelib/utilsfor utility librariesservices/apifor API servicesdb/migrationsfor database changes
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?