heykvnzhao/dotfiles/git-commit-plan
Claude Code and agent skill by heykvnzhao/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Plan commits from the current working tree. Use when asked how to split changes into commits, what to stage together, how to handle untracked files, or to propose commit messages and an execution plan (stage/commit) based on `git status`/diffs.
Install
npx vskill@latest install heykvnzhao/dotfiles/git-commit-planSKILL.md
Git Commit Plan
Goal
Turn the current repo state into a small set of clean, reviewable commits:
- Group changes by intent (feature/fix/refactor/docs/chore) and scope.
- Keep commits as independent as possible.
- Propose Conventional Commit messages and the exact files per commit.
- Ask for explicit confirmation before staging/committing (and pushing).
Workflow
1) Gather signals (read-only)
Run:
git status --porcelain=v2git diff --statgit diffgit diff --staged(if anything is already staged)
If there are untracked files, list them explicitly.
2) Decide commit boundaries
Use these heuristics:
- One intent per commit: do not mix unrelated changes.
- Keep mechanical changes separate: formatting-only or purely generated output should be isolated unless the repo convention says otherwise.
- Keep dependency changes coherent: e.g.,
package.jsonwith its lockfile; do not mix with functional changes unless unavoidable. - Prefer minimal blast radius: if a commit requires changes across many areas, consider splitting into preparatory refactor + behavior change (ask first).
- Untracked files: decide whether each should be committed, gitignored, or deleted (ask if unclear).
3) Propose a concrete plan
Output a numbered list of commits. For each commit, include:
- Commit message (Conventional Commits)
- Files to include
- Notes (why grouped this way, anything risky)
Also propose the exact commands to execute the plan, favoring:
git add -pwhen changes are mixedgit add <paths...>when the grouping is clean
4) Ask to execute
End with a clear question before making changes:
“Do you want me to execute this plan?”
- Option A: stage only
- Option B: stage + commit
- Option C: stage + commit + push (only if you explicitly request push)
If anything about grouping, naming, or inclusion is ambiguous, ask short questions with options.
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
- SKILL.md in the repositoryCheckingskills/git-commit-plan/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 23 Mar 2026, 8 months ago.
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
[](https://verified-skill.com/skills/heykvnzhao/dotfiles/git-commit-plan)