vignesh2027/ai-agent-skills/git-workflow-and-versioning
Claude Code and agent skill by vignesh2027/ai-agent-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Branching strategy, commit discipline, PR hygiene, and semantic versioning
Install
npx vskill@latest install vignesh2027/ai-agent-skills/git-workflow-and-versioningSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as vignesh2027/ai-agent-skills/git-workflow-and-versioning.
Overview
Git history is documentation. A clear commit history enables fast debugging, safe reverts, and meaningful changelogs. This skill enforces the habits that make git useful as a tool rather than just a backup system.
When to Use
- Before starting any branch
- Before committing changes
- Before creating a PR
- When tagging a release
Process
Step 1: Branch naming
Use: <type>/<description> — e.g., feat/user-search, fix/login-redirect, chore/update-deps Types: feat, fix, docs, chore, refactor, perf, test
Step 2: Commit messages
Follow Conventional Commits:
Examples:
feat(auth): add OAuth2 login with Googlefix(api): handle null user_id in /profile endpointperf(db): add index on users.email column
Rules:
- Description is imperative mood ("add" not "added")
- Under 72 characters
- One logical change per commit
- Reference ticket:
Closes #123
Step 3: Keep PRs small
A PR should be reviewable in under 30 minutes. If it takes longer, it's too big. Split it.
- One logical change per PR
- No PRs with 500+ line diffs (with rare exceptions)
- No WIP code in a PR
Step 4: PR description
Every PR must have:
- What changed (not a list of files, but a description of the change)
- Why it changed
- How to test it
- Screenshots for UI changes
- Link to the ticket
Step 5: Semantic versioning
MAJOR.MINOR.PATCH
- MAJOR: breaking change (removing an API, changing a contract)
- MINOR: backward-compatible new feature
- PATCH: backward-compatible bug fix
Tag releases: git tag v1.2.3 -m "Release 1.2.3"
Step 6: Git hygiene
- Never force push to main/master
- Never commit secrets (use pre-commit hooks:
gitleaks,detect-secrets) - Rebase feature branches on main before merging (or squash)
- Delete branches after merge
Verification Requirements
- [ ] Branch follows naming convention
- [ ] Commits follow Conventional Commits format
- [ ] PR has description with: what, why, how to test
- [ ] PR is reviewable in under 30 minutes
- [ ] No secrets committed (pre-commit hook confirms)
- [ ] Release tagged with semantic version
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/git-workflow-and-versioning/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vignesh2027/ai-agent-skills/git-workflow-and-versioning)