Git workflow
Skill shivae372/claude-bootstrap/.claude/skills/git-workflow
Self-healing, self-learning Claude Code setup — finds, installs, or forges the skills, hooks & MCP your project needs, in real time. Pairs with nodo.
npx -y skills add shivae372/claude-bootstrap --skill git-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Git workflow assistant. Invoke when the user wants to commit, create a branch, write a PR description, or follow the project's git conventions. Auto-activates on: "commit this", "create a PR", "write a commit message", "what should I name this branch".
SKILL.md
2.1 KB, as published. Nobody here has run it
Purpose
Handle git operations following the project's specific conventions. Read the project's CLAUDE.md to understand branch naming, commit message format, and PR conventions before doing anything.
Steps
1. Read Project Conventions
Before any git operation, read CLAUDE.md for:
- Commit message format (conventional commits? custom format?)
- Branch naming convention
- PR template (check
.github/pull_request_template.mdif it exists)
2. Check Current State
git status
git diff --stat HEAD
3. For Commits
- Group related changes into logical commits (not one giant commit)
- Write commit message following project conventions
- If conventional commits:
type(scope): description - Include breaking change footer if relevant
- Max subject line: 72 characters
- Body: what changed and WHY, not what (the diff shows what)
4. For Branches
- Read the issue/task first to understand scope
- Name:
type/short-description(e.g.,feat/add-review-widget,fix/auth-cookie-bug) - Check it doesn't already exist:
git branch -a | grep name
5. For PR Descriptions
Structure:
## What
[One paragraph: what changed]
## Why
[One paragraph: why this change was needed]
## How
[Brief technical explanation of the approach]
## Testing
[How to test this change]
## Checklist
- [ ] Tests pass
- [ ] No console.logs left
- [ ] Docs updated if needed
6. Safety Checks
- NEVER suggest
git push --forceon a shared branch - NEVER commit to
mainormasterdirectly - Always check for secrets before committing:
git diff --cached | grep -i "api_key\|secret\|password\|token"
Output
Print the git commands to run (don't run them automatically unless the user said "just do it"). Explain what each command does if it's non-obvious.