git-workflow

Solid

Squad branching model: dev-first workflow with insiders preview channel

AI & Automation 58 stars 15 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
59
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Context Squad uses a three-branch model. **All feature work starts from `dev`, not `main`.** | Branch | Purpose | Publishes | |--------|---------|-----------| | `main` | Released, tagged, in-npm code only | `npm publish` on tag | | `dev` | Integration branch — all feature work lands here | `npm publish --tag preview` on merge | | `insiders` | Early-access channel — synced from dev | `npm publish --tag insiders` on sync | ## Branch Naming Convention Issue branches MUST use: `squad/{issue-number}-{kebab-case-slug}` Examples: - `squad/195-fix-version-stamp-bug` - `squad/42-add-profile-api` ## Workflow for Issue Work 1. **Branch from dev:** ```bash git checkout dev git pull origin dev git checkout -b squad/{issue-number}-{slug} ``` 2. **Mark issue in-progress:** ```bash gh issue edit {number} --add-label "status:in-progress" ``` 3. **Create draft PR targeting dev:** ```bash gh pr create --base dev --title "{description}" --body "Closes #{issue-number}" --draft ``` 4. **Do the work.** Make changes, write tests, commit with issue reference. 5. **Push and mark ready:** ```bash git push -u origin squad/{issue-number}-{slug} gh pr ready ``` 6. **After merge to dev:** ```bash git checkout dev git pull origin dev git branch -d squad/{issue-number}-{slug} git push origin --delete squad/{issue-number}-{slug} ``` ## Parallel Multi-Issue Work (Worktrees) When the coordinator routes multiple issues simultaneously...

Details

Author
DanWahlin
Repository
DanWahlin/ai-agent-board
Created
6 months ago
Last Updated
2 weeks ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category