git-workflow
Skill3.1k starsChanged 9 months agoMITView on GitHub
Squad branching model: dev-first workflow with insiders preview channel
- Deletes or force-pushes
- Installs packages
- Commits and pushes
118 other projects use a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- NinjaSln-labs/agent-skillstheir own version, first seen Oct 2, 2026
- 1pedroosilva/databricks-genie-skillstheir own version, first seen Oct 2, 2026
- vospr/context-engineering-templatetheir own version, first seen Oct 1, 2026
- fusebase-dev/fusebase-flowtheir own version, first seen Oct 1, 2026
Who's talking about microsoft/Generative-AI-for-beginners-dotnet
- @adnug.bsky.social“Despite the wet and windy weather, we had a great turnout for our "Move over Python, AI just got a new best …”Bluesky · Jul 10, 2025 · 2 likes
- dotnet-presentations/ai-workshop“Unit 10 - Microsoft Agent Framework essentials (single agent, tools, memory, multi-agent bridge)”GitHub · Jul 26, 2026 · 1 reactions
- @demir-lenk.bsky.social“Really helpful resource about .net with ai. It Help me a lot github.com/microsoft/Ge...”Bluesky · Mar 5, 2025 · 1 likes
- microsoft/generative-ai-with-javascript“Link Checker Report”GitHub · Oct 4, 2026
- microsoft/generative-ai-with-javascript“Link Checker Report”GitHub · Sep 27, 2026
The biggest 5 of 27 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 27
Talked about on GitHub and Bluesky (27 times).
On GitHub · 25
- Jul 26, 2026Unit 10 - Microsoft Agent Framework essentials (single agent, tools, memory, multi-agent bridge) — dotnet-presentations/ai-workshop1 reaction
- Oct 4, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Sep 27, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Sep 20, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Sep 13, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
20 more on GitHub
- Sep 6, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Aug 30, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Aug 23, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Aug 16, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Aug 9, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Aug 2, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Jul 26, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Jul 19, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Jul 12, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Jul 5, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Jun 28, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Jun 21, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Jun 14, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Jun 7, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- May 31, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Mar 11, 2026Curso Gen AI 4 Beginners — MarioCodes/dotnet-ai-experiments0 reactions
- Feb 16, 2026Migrate Microsoft AgentFx AI Web Chat App to Fluent UI Blazor and Implement DocAssistant.Charty Architecture (Schema/Examples Memory + SQL Chat + Charting + Security Policies) — YuriyMorozyuk95/DocAssistant.Charty_20 reactions
- Feb 15, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Feb 15, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Nov 11, 2025Add Microsoft Agent Framework integration with three operational modes — elbruno/251112-netconf25-customavatar0 reactions
On Bluesky · 2
- Jul 10, 2025Despite the wet and windy weather, we had a great turnout for our "Move over Python, AI just got a new best friend! .NET!" event last… — @adnug.bsky.social2 likes and reposts
- Mar 5, 2025Really helpful resource about .net with ai. It Help me a lot github.com/microsoft/Ge... — @demir-lenk.bsky.social1 likes and repost
Used with
Projects with it also use typescript-patterns, llm-integration and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
cohen-lielSkilltypescript-patterns
TypeScript best practices and patterns. Use when writing TypeScript code, defining types, working with generics, or converting JavaScript to TypeScript.
Also in 4 projects that use this
martinholovskySkillllm-integration
Expert skill for integrating local Large Language Models using llama.cpp and Ollama. Covers secure model loading, inference optimization, prompt handling, and protection against LLM-specific vulnerabilities including prompt injection, model theft, and denial of service attacks.
Also in 4 projects that use this
MicrosoftSkillcost-optimization
Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: \"optimize Azure costs\", \"reduce cloud spending\", \"rightsize resources\", \"find idle resources\", \"orphaned disk\", \"deleted VM still charged\", \"public IP still charging\", \"reservation utilization\", \"Savings Plan coverage\", \"commitment recommendation\", \"why is pay-as-you-go still charged\". DO NOT USE FOR: cost spikes, forecasts, pricing estimates, budgets, or governance.
Also in 5 projects that use this
YepAPISkillbackground-jobs
Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.
Also in 3 projects that use this
Vimalk0703Skilldependency-management
Vet packages before adoption, audit for vulnerabilities, pin versions, and prevent dependency bloat.
Also in 3 projects that use this
pluginagentmarketplaceSkillmicroservices
Microservices architecture patterns and best practices. Service decomposition, inter-service communication, and distributed data management.
Also in 3 projects that use this
Other versions118 projects use a version of this.
Word for word · 4
- github/gh-aw★ 5.3k100% same
- microsoft/waza★ 1.4k100% same
- Azure/fleet★ 226100% same
- microsoft/fsi-banking-payments-dispute-resolution-accelerator★ 0100% same
Edited · 0
None found.
Wrote their own version · 114
- JetBrains/ideavim★ 10ksame name
- Galaxy-Dawn/claude-scholar★ 5.7ksame name
- laolaoshiren/claude-code-skills-zh★ 876same name
- Mindrally/skills★ 266same name
- povvo/claudikins-kernel★ 128same name
- extra-org/extra★ 113same name
- templetongroup/radiant★ 113same name
- cohen-liel/hivemind★ 110same name
- TheBeardedBearSAS/claude-craft★ 106same name
- Jamkris/everything-gemini-code★ 87same name
104 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository78 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- samples/CoreSamples/.github/copilot-instructions.mdCopilot instructions
- samples/MAF/.github/copilot-instructions.mdCopilot instructions
- samples/MAF/MAF-AIWebChatApp-AG-UI/.github/copilot-instructions.mdCopilot instructions
- samples/MAF/MAF-AIWebChatApp-MutliAgent/.github/copilot-instructions.mdCopilot instructions
- samples/MAF/MAF-AIWebChatApp-Persisting/.github/copilot-instructions.mdCopilot instructions
- samples/MAF/MAF-AIWebChatApp-Simple/.github/copilot-instructions.mdCopilot instructions
- .squad/templates/copilot-instructions.mdCopilot instructions
- agent-collaborationSkill
- coordinator-init-modeSkill
- coordinator-response-modeSkill
- coordinator-source-of-truthSkill
- cross-squad-communicationSkill
- cross-squadSkill
- error-recoverySkill
- iterative-retrievalSkill
- reflectSkill
- reviewer-protocolSkill
- secret-handlingSkill
- session-recoverySkill
- squad-conventionsSkill
- squad-helpSkill
- squadSkill
- squad-version-checkSkill
- test-disciplineSkill
- tiered-memorySkill
- {skill-name}Skill
- agent-collaborationSkill
- agent-conductSkill
- architectural-proposalsSkill
- ci-validation-gatesSkill
- client-compatibilitySkill
- cli-wiringSkill
- coordinator-init-modeSkill
- coordinator-response-modeSkill
- coordinator-source-of-truthSkill
- cross-machine-coordinationSkill
- cross-squad-communicationSkill
- cross-squadSkill
- distributed-meshSkill
- docs-standardsSkill
- e2e-template-testingSkill
- economy-modeSkill
- error-recoverySkill
- external-commsSkill
- fact-checkingSkill
- gh-auth-isolationSkill
- github-multi-accountSkill
- git-workflowSkill
- history-hygieneSkill
- humanizerSkill
- init-modeSkill
- iterative-retrievalSkill
- model-selectionSkill
- napSkill
- notification-routingSkill
- personal-squadSkill
- project-conventionsSkill
- pr-review-responseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 97 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 64
When the coordinator routes multiple issues simultaneously (e.g., "fix bugs X, Y, and Z"), use git worktree to give each agent an isolated …
- Very specific: line 109
All PRs target dev independently.
- Very specific: line 116
Rule: Never rewrite or reorder .squad/ files in a worktree — append only
- Distinctive: line 120
After a worktree's PR is merged to dev:
- Distinctive: line 130
If a worktree was deleted manually (rm -rf), git worktree prune recovers the state.
- Distinctive: line 136
When work spans multiple repositories (e.g., squad-cli changes need squad-sdk changes, or a user's app depends on squad):
- Distinctive: line 153
Create PRs in each repo independently
- Distinctive: line 164
Before pushing, verify cross-repo changes work together:
- Very specific: line 179
Important: Remove local links before committing.
“Common” is measured: kept by at least 6 in 10 of the 97 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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-bugsquad/42-add-profile-api
Workflow for Issue Work
- Branch from dev:
git checkout dev git pull origin dev git checkout -b squad/{issue-number}-{slug} - Mark issue in-progress:
gh issue edit {number} --add-label "status:in-progress" - Create draft PR targeting dev:
gh pr create --base dev --title "{description}" --body "Closes #{issue-number}" --draft - Do the work. Make changes, write tests, commit with issue reference.
- Push and mark ready:
git push -u origin squad/{issue-number}-{slug} gh pr ready - After merge to dev:
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 (e.g., "fix bugs X, Y, and Z"), use git worktree to give each agent an isolated working directory. No filesystem collisions, no branch-switching overhead.
When to Use Worktrees vs Sequential
| Scenario | Strategy |
| Single issue | Standard workflow above — no worktree needed |
| 2+ simultaneous issues in same repo | Worktrees — one per issue |
| Work spanning multiple repos | Separate clones as siblings (see Multi-Repo below) |
Setup
From the main clone (must be on dev or any branch):
# Ensure dev is current
git fetch origin dev
# Create a worktree per issue — siblings to the main clone
git worktree add ../squad-195 -b squad/195-fix-stamp-bug origin/dev
git worktree add ../squad-193 -b squad/193-refactor-loader origin/devNaming convention: ../{repo-name}-{issue-number} (e.g., ../squad-195, ../squad-pr-42).
Each worktree:
- Has its own working directory and index
- Is on its own
squad/{issue-number}-{slug}branch from dev - Shares the same
.gitobject store (disk-efficient)
Per-Worktree Agent Workflow
Each agent operates inside its worktree exactly like the single-issue workflow:
cd ../squad-195
# Work normally — commits, tests, pushes
git add -A && git commit -m "fix: stamp bug (#195)"
git push -u origin squad/195-fix-stamp-bug
# Create PR targeting dev
gh pr create --base dev --title "fix: stamp bug" --body "Closes #195" --draftAll PRs target dev independently. Agents never interfere with each other's filesystem.
.squad/ State in Worktrees
The .squad/ directory exists in each worktree as a copy. This is safe because:
.gitattributesdeclaresmerge=unionon append-only files (history.md, decisions.md, logs)- Each agent appends to its own section; union merge reconciles on PR merge to dev
- Rule: Never rewrite or reorder
.squad/files in a worktree — append only
Cleanup After Merge
After a worktree's PR is merged to dev:
# From the main clone
git worktree remove ../squad-195
git worktree prune # clean stale metadata
git branch -d squad/195-fix-stamp-bug
git push origin --delete squad/195-fix-stamp-bugIf a worktree was deleted manually (rm -rf), git worktree prune recovers the state.
Multi-Repo Downstream Scenarios
When work spans multiple repositories (e.g., squad-cli changes need squad-sdk changes, or a user's app depends on squad):
Setup
Clone downstream repos as siblings to the main repo:
~/work/
squad-pr/ # main repo
squad-sdk/ # downstream dependency
user-app/ # consumer projectEach repo gets its own issue branch following its own naming convention. If the downstream repo also uses Squad conventions, use squad/{issue-number}-{slug}.
Coordinated PRs
- Create PRs in each repo independently
- Link them in PR descriptions:
Closes #42 **Depends on:** squad-sdk PR #17 (squad-sdk changes required for this feature) - Merge order: dependencies first (e.g., squad-sdk), then dependents (e.g., squad-cli)
Local Linking for Testing
Before pushing, verify cross-repo changes work together:
# Node.js / npm
cd ../squad-sdk && npm link
cd ../squad-pr && npm link squad-sdk
# Go
# Use replace directive in go.mod:
# replace github.com/org/squad-sdk => ../squad-sdk
# Python
cd ../squad-sdk && pip install -e .Important: Remove local links before committing. npm link and go replace are dev-only — CI must use published packages or PR-specific refs.
Worktrees + Multi-Repo
These compose naturally. You can have:
- Multiple worktrees in the main repo (parallel issues)
- Separate clones for downstream repos
- Each combination operates independently
Anti-Patterns
- ❌ Branching from main (branch from dev)
- ❌ PR targeting main directly (target dev)
- ❌ Non-conforming branch names (must be squad/{number}-{slug})
- ❌ Committing directly to main or dev (use PRs)
- ❌ Switching branches in the main clone while worktrees are active (use worktrees instead)
- ❌ Using worktrees for cross-repo work (use separate clones)
- ❌ Leaving stale worktrees after PR merge (clean up immediately)
Promotion Pipeline
- dev → insiders: Automated sync on green build
- dev → main: Manual merge when ready for stable release, then tag
- Hotfixes: Branch from main as
hotfix/{slug}, PR to dev, cherry-pick to main if urgent
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

