From wf
PRを作成する前の分割commitが必要な時に自律的に呼び出す必要があるスキルです。 Trigger: need split commit, prepare commit, organize commit
How this skill is triggered — by the user, by Claude, or both
Slash command
/wf:process-commithaikuThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`git-sequential-stage`はhunk単位の部分的なステージングを実行するためのツールです。
git-sequential-stageはhunk単位の部分的なステージングを実行するためのツールです。
git-sequential-stageを用いて大きな変更を論理的な単位に分割してコミットしてください。
# hunk番号を指定して部分的にステージング
git-sequential-stage -patch="path/to/changes.patch" -hunk="src/main.go:1,3,5"
# ファイル全体をステージング(ワイルドカード使用)
git-sequential-stage -patch="path/to/changes.patch" -hunk="src/logger.go:*"
# 複数ファイルの場合(ワイルドカードと番号指定の混在も可能)
git-sequential-stage -patch="path/to/changes.patch" \
-hunk="src/main.go:1,3" \
-hunk="src/utils.go:*" \
-hunk="docs/README.md:*"
git ls-files --others --exclude-standard | xargs git add -N
# より安定した位置特定のため
git diff HEAD > .claude/tmp/current_changes.patch
hunk単位で変更を分析し、最初のコミットに含めるhunkを決定してください
# 全体のhunk数
grep -c "^@@" .claude/tmp/current_changes.patch
# 各ファイルのhunk数
git diff HEAD --name-only | xargs -I {} sh -c 'printf "%s: " "{}"; git diff HEAD {} | grep -c "^@@"'
選択したhunkをgit-sequential-stageで自動的にステージングしてください
git-sequential-stage -patch=".claude/tmp/current_changes.patch" -hunk="src/calculator.py:1,3,5"
git-sequential-stage -patch=".claude/tmp/current_changes.patch" -hunk="tests/test_calculator.py:*"
git-sequential-stage -patch=".claude/tmp/current_changes.patch" \
-hunk="src/calculator.py:1,3,5" \
-hunk="src/utils.py:2" \
-hunk="docs/CHANGELOG.md:*"
git commit -m "$COMMIT_MSG"
npx claudepluginhub acta0724/claude-marketplace --plugin wfOrganizes git workspace changes into clean, atomic commits following conventional formats. Activates after features, refactors, or explicit commit requests.
Splits staged git changes into multiple focused commits grouped by type (docs, feat, fix, etc.) with interactive or automated scripts.
Performs non-interactive hunk-level git operations: stage/unstage/discard/undo hunks by ID or line range, fold/amend/squash/split/reorder commits. Use for precise control without prompts.