code-commit
Installation
SKILL.md
Commit current changes using Jujutsu (jj).
Important
IMPORTANT: Always use jj (Jujutsu) commands. Only fall back to git if jj is not available.
Refer to the jj-reference skill for command syntax and Best Practices (explicit change IDs, logical grouping, etc.).
Process
- Analyze changes:
- Run
jj diff -sto see changed files - If the user specified specific files or paths, focus on those
- Run
jj log -r ::@ -n 20 --no-graph -T 'description ++ "\n---\n"'for message style - Use
jj difffor full diff view if needed - Analyze: Are changes logically related or distinct? Different subsystems/features? Mixed concerns (refactor + feature, fix + cleanup)?
- IMPORTANT: Only describe changes visible in
jj diff. You may use conversation context to explain changes that ARE present in the diff, but never mention changes that are NOT in the diff (e.g., if something was removed in a prior commit and doesn't appear in the current diff, don't say "remove ...").
- Run