スキル一覧に戻る
0xabrar

git-commit-workflow

by 0xabrar

0🍴 0📅 2026年1月18日
GitHubで見るManusで実行

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:
    • pwd
    • git status -sb
    • git 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 -sb
    • git log --oneline -n 5

スコア

総合スコア

45/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です