Stats
Actions
Tags
From vibe-to-prod-skills
Git workflow management. Triggers when creating branches, preparing PRs, or managing merge decisions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vibe-to-prod-skills:git-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage git branches, commits, and pull requests following project conventions.
Manage git branches, commits, and pull requests following project conventions.
This skill should activate when:
<type>/<short-description>
Examples:
- feature/add-user-profile
- fix/login-redirect-bug
- chore/update-dependencies
type: description
Types:
- feat: New feature
- fix: Bug fix
- docs: Documentation
- style: Formatting (no code change)
- refactor: Code restructuring
- test: Adding tests
- chore: Maintenance
Examples:
- feat: add user profile endpoint
- fix: resolve login redirect issue
- chore: update dependencies
# Ensure main is up to date
git checkout main
git pull origin main
# Create feature branch
git checkout -b feature/description
# Stage changes
git add -p # Interactive staging (review each change)
# Commit with conventional format
git commit -m "type: description"
# Push regularly
git push -u origin branch-name
# Ensure all tests pass
make test # or appropriate test command
# Rebase on latest main (if needed)
git fetch origin main
git rebase origin/main
# Force push after rebase
git push --force-with-lease
# Using GitHub CLI
gh pr create --title "type: description" \
--body "## Summary
- What this PR does
## Test Plan
- How to test"
| Situation | Action |
|---|---|
| Feature branch behind main | Rebase onto main |
| Shared branch (multiple devs) | Merge, don't rebase |
| Before PR | Rebase + squash if messy |
| After PR approved | Squash merge via GitHub |
# During rebase conflict
git status # See conflicted files
# Edit files to resolve conflicts
git add <resolved-files>
git rebase --continue
# If too messy, abort and merge instead
git rebase --abort
git merge origin/main
## Git Workflow
**Branch**: `feature/description`
**Base**: `main`
**Commits**: X commits
### Pre-PR Checklist
- [ ] Tests passing
- [ ] Rebased on latest main
- [ ] Commit messages follow convention
- [ ] No merge conflicts
### Ready for PR
```bash
gh pr create --title "..." --body "..."
npx claudepluginhub shimyth/vibe-to-prod --plugin vibe-to-prod-skillsCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.