git-workflow
Installation
SKILL.md
Git Workflow
Use these conventions when working with version control, creating branches, writing commits, or resolving merge conflicts.
Plugins for Git Work
| Plugin / Tool | When to Use |
|---|---|
commit-commands:commit |
Create conventional commits — handles staging, message formatting, and pre-commit checks |
commit-commands:commit-push-pr |
Commit, push, and open a PR in one flow |
commit-commands:clean_gone |
Clean up local branches that have been deleted on remote (marked [gone]), including worktrees |
gh CLI |
GitHub operations — create/edit PRs, link issues, add labels, request reviewers, post comments (gh pr create, gh pr edit, gh issue create) |
Prefer plugins/CLI over raw git for:
- Committing —
commit-commands:commitenforces conventional commit format - PR creation —
commit-commands:commit-push-propens the PR; use theghCLI for labels, linked issues, and reviewers - Branch cleanup —
commit-commands:clean_gonesafely removes stale branches and worktrees