code-commit
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
-
Determine if split is needed:
- If changes are logically distinct, propose splitting
More from sirn/dotfiles
code-explain
Explain code, triage changes, or map project structure. Use when user asks to explain, understand, triage, or explore project structure.
19code-plan
Generate comprehensive implementation plan based on analysis. Use when user asks to plan this, create a plan, how should I implement, or wants implementation guidance.
19gemini-reference
Reference for calling the Gemini CLI agent from other agents. ALWAYS read BEFORE invoking Gemini to ensure correct JSON protocol, session management, and subtask delegation patterns.
18code-quality
Run comprehensive quality checks by orchestrating review, verification, testing, and linting. Use when user asks to check code quality, run full checks, or verify code health.
18context7
Retrieve up-to-date documentation context for libraries using the Context7 API. Use when needing current library documentation (React, Python stdlib, Rust, etc.) BEFORE implementing or writing code.
17code-setup-project
Sets up project development environment (wrapper scripts and/or Nix flake). Use when user wants to set up a development environment, create wrapper scripts, or add a Nix flake.
17