← Back to list

git-commit-workflow
by 0xabrar
⭐ 0🍴 0📅 Jan 18, 2026
SKILL.md
name: git-commit-workflow description: Git commit workflow with conventional commits and staging hygiene. Use when asked to stage changes, write commit messages, or manage commits in multi-worktree setups.
Git Commit Workflow
Overview
Standardize staging and conventional commits. Favor minimal, clear steps and ask for missing details (scope, type) only when needed.
Conventional commits
- Format:
type(scope): short description(lowercase, imperative) - Group logical changes into separate commits
- Stage related files together
Common types: feat, fix, refactor, chore, docs, test, build, ci, perf, style
Multi-line commit (heredoc):
git commit -m "$(cat <<'EOF'
feat(ui): add new button component
- Create reusable Button component with multiple variants
- Add TypeScript support and proper prop types
- Include Storybook stories for documentation
EOF
)"
Multi-worktree notes
If working across multiple worktrees (e.g. ansel-agent-a, ansel-agent-b):
- Confirm the active worktree before running commands:
pwdgit status -sbgit rev-parse --show-toplevel
- List worktrees when unsure:
git worktree list
- Use
git -C /path/to/worktree ...if needed
Troubleshooting
- No commits when expected:
git status -sbgit log --oneline -n 5
Score
Total Score
45/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon