eddiebelaval/squire/git-workflow-designer
Claude Code and agent skill by eddiebelaval/squire
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install eddiebelaval/squire/git-workflow-designerSKILL.md
name: git-workflow-designer description: Expert guide for designing Git branching strategies including Git Flow, GitHub Flow, trunk-based development, and release management. Use when establishing team workflows or improving version control practices. slug: git-workflow-designer category: operations complexity: complex version: "1.0.0" author: "id8Labs" triggers:
- "git-workflow-designer"
- "git workflow designer"
tags:
- development
- tool-factory-retrofitted---
Git Workflow Designer Skill
Core Workflows
Workflow 1: Primary Action
- Analyze the input and context
- Validate prerequisites are met
- Execute the core operation
- Verify the output meets expectations
- Report results
Overview
This skill helps you design and implement effective Git branching strategies for teams of any size. Covers Git Flow, GitHub Flow, trunk-based development, release management, and branch protection policies.
Workflow Selection Philosophy
Key Factors
- Team size: Solo vs. small team vs. large organization
- Release frequency: Continuous vs. scheduled releases
- Environment complexity: Single vs. multiple deployment targets
- Risk tolerance: Move fast vs. stability first
Workflow Comparison
| Workflow | Best For | Release Frequency | Complexity | |
|---|---|---|---|---|
| Trunk-Based | Small teams, CI/CD | Continuous | Low | |
| GitHub Flow | Most web apps | On-demand | Low | |
| Git Flow | Versioned software | Scheduled | High | |
| GitLab Flow | Environment-based | Mixed | Medium |
GitHub Flow (Recommended for Most)
Overview
Simple, effective workflow for continuous deployment.
Process
- Branch from main
``bash git checkout main git pull origin main git checkout -b feature/user-authentication ``
- Commit regularly
``bash git add . git commit -m "feat: add login form component" ``
- Push and create PR
``bash git push -u origin feature/user-authentication gh pr create --title "Add user authentication" --body "..." ``
- Review and merge
- CI runs tests
- Peer review
- Squash merge to main
- Deploy
- Automatic deploy on merge to main
Branch Naming Convention
Configuration
Git Flow (For Versioned Releases)
Overview
Structured workflow for scheduled release cycles.
Branches
| Branch | Purpose | Merges To | |
|---|---|---|---|
main | Production-ready code | - | |
develop | Integration branch | main | |
feature/* | New features | develop | |
release/* | Release preparation | main, develop | |
hotfix/* | Emergency fixes | main, develop |
Feature Development
Release Process
Hotfix Process
Trunk-Based Development
Overview
Everyone commits to main with short-lived branches.
Principles
- Short-lived branches (< 1 day)
- Small, frequent commits
- Feature flags for incomplete work
- Comprehensive CI/CD
Feature Flags Integration
Branch Rules
Release Management
Semantic Versioning
Automated Version Bumping
Changelog Generation
Conventional Commits
Commitlint Configuration
Branch Protection
GitHub Branch Protection Rules
CODEOWNERS
Merge Strategies
Squash and Merge (Recommended)
Pros:
- Clean main history
- Easy to revert features
- Commit message can be edited
Cons:
- Loses individual commit history
Rebase and Merge
Pros:
- Linear history
- Preserves individual commits
- Bisect-friendly
Cons:
- Requires clean commits
- Force push may be needed
Merge Commit
Pros:
- Complete history preserved
- Clear merge points
- No force push needed
Cons:
- Noisy history
- Harder to navigate
Common Scenarios
Sync Feature Branch with Main
Undo Last Commit (Not Pushed)
Fix Commit Message
Cherry-Pick Specific Commit
Recover Deleted Branch
Workflow Scripts
Git Aliases
Feature Branch Script
Workflow Checklist
Before Selecting Workflow
- [ ] Understand team size and distribution
- [ ] Define release frequency
- [ ] Assess CI/CD maturity
- [ ] Consider deployment environments
This is the start of the file. Read the full SKILL.md on GitHub.
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-designer/SKILL.md
Popularity
- Repository stars
- 15
- Repository forks
- 4
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Mar 2026, 7 months ago.
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/eddiebelaval/squire/git-workflow-designer)