meain/dotfiles/create-commit

Claude Code and agent skill by meain/dotfiles

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create Jujutsu (jj) commits — simple one-shot or split across logical groups. Also suggest splitting when changes span multiple unrelated areas or when user explicitly requests it.

Install

npx vskill@latest install meain/dotfiles/create-commit

SKILL.md

Create one or more jj commits from the working copy. If the user asked to split changes or if the diff spans clearly unrelated areas, use the split workflow. Otherwise, default to a single commit.

Prefer using a subagent as the context is unnecessary in main thread. Can return final commit message back from the subagent.

Important Context

  • Uses Jujutsu (jj), not git
  • All changes in the working copy are automatically tracked

Steps

1. Understand Current State

Run these in parallel:

bash
jj status # See all changes
jj diff # See detailed changes
jj log -r 'ancestors(@, 3)' # Recent commits for style reference
2. Assess Changes

Check if changes should be a single commit or split:

  • Single commit: changes are few, logically one unit (feature, bug fix, refactor)
  • Suggest split: changes span multiple distinct areas (e.g. unrelated features, tests + code changes + config). Present the proposed groups to the user and let them decide.
  • User requested split: skip suggestion, go straight to split workflow
3a. Simple Commit
bash
jj describe -m "$(cat <<'EOF'
brief description (1-2 sentences)
Optional body if reasoning isn't obvious from the diff
EOF
)"
jj new

Guidelines:

  • Keep first line under 72 chars
  • Do NOT commit secrets
  • Do NOT push unless requested
  • Do NOT add Co-Authored-By lines unless the user asks
3b. Split into Logical Commits
  1. Group changed files into logical sets — by feature/purpose, layer (code vs tests vs config), or file relationships
  2. Present the proposed grouping to the user and wait for confirmation
  3. For N groups, do N-1 splits:

``bash jj split -m "$(cat <<'EOF' <commit message for this group> EOF )" <file1> <file2> ... ``

  1. After all splits, describe the remaining commit:

``bash jj describe -m "$(cat <<'EOF' <commit message for last group> EOF )" ``

  1. Create new working revision:

``bash jj new ``

4. Verify
bash
jj log -r 'ancestors(@, 3)'

Branch/Bookmark Naming

  • Veeam repos: prefix with meain/ (e.g. meain/earn-prod-adx-sku-downsize)
  • Other repos: follow project conventions

Notes

  • If changes within a single file need splitting, mention this limitation and suggest jj split -i done manually
  • Never use interactive split (-i flag) in scripts
  • Prefer meaningful groups over many tiny commits

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
285
Repository forks
10
7-day trend score
28

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/meain/dotfiles/create-commit/badge)](https://verified-skill.com/skills/meain/dotfiles/create-commit)

Something wrong with this skill or its page? Tell us.