git-workflow
Skill67 starsChanged 6 months agoMIT-0View on GitHub
Conventional commit style, branch naming, and merge-conflict resolution, with commit-commands plugin and `gh` CLI integration. Use when working with version control, creating branches, writing commits, or resolving merge conflicts.
- Commits and pushes
187 other projects use a version of this.
Adopted by
Most recently taken up by
- Megatron-HQ/Megatrontheir own version, first seen Nov 29, 2026
- dayfinggg/openai-codex-agent-skillstheir own version, first seen Nov 29, 2026
- autohandai/community-skillstheir own version, first seen Nov 29, 2026
- Tibsfox/gsd-skill-creatortheir own version, first seen Nov 29, 2026
- amutaal122/ai-engineer-mastertheir own version, first seen Nov 29, 2026
- andiupn/claude-code-startertheir own version, first seen Nov 29, 2026
Used with
Projects with it also use squad-commands, ci-cd-pipelines and 10 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.
Microsoft AzureSkillsquad-commands
Categorized catalog of common Squad operations. Coordinator reads this file and presents it as an interactive menu when the user asks for available commands or help.
Also in 5 projects that use this
harrissohail6Skillci-cd-pipelines
CI/CD pipeline design and implementation. Auto-activates when discussing deployment, automation, or pipelines.
Also in 6 projects that use this
Microsoft AzureSkillarchitectural-proposals
How to write comprehensive architectural proposals that drive alignment before code is written
Also in 4 projects that use this
YepAPISkillbackground-jobs
Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.
Also in 6 projects that use this
frostneySkillnative-nostalgia-stack
Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.
Also in 3 projects that use this
GitHubSkillnotification-routing
Route agent notifications to specific channels by type — prevent alert fatigue from single-channel flooding
Also in 3 projects that use this
- +5 more from Azure
Other versions187 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 187
- langfuse/langfuse★ 38ksame name
- modelcontextprotocol/typescript-sdk★ 14ksame name
- JetBrains/ideavim★ 10ksame name
- jokob-sk/NetAlertX★ 7.4ksame name
- netalertx/NetAlertX★ 7.4ksame name
- Galaxy-Dawn/claude-scholar★ 6.1ksame name
- github/gh-aw★ 5.7ksame name
- modelcontextprotocol/csharp-sdk★ 4.7ksame name
- antonbabenko/pre-commit-terraform★ 3.8ksame name
- github/squad★ 3.5ksame name
177 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 repository3 other files it gives its agents.
- concurrent-cached-fetchSkill
- documentationSkill
- spec-workflowSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 164 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use these conventions when working with version control, creating branches, writing commits, or resolving merge conflicts.
- Very specific: line 52
All git commands must be non-interactive (see rules/execution-hygiene.md):
- Distinctive: line 96
Keep correct code, remove markers
- Distinctive: line 99
When resolving conflicts, investigate both sides before choosing — the conflicting code may represent someone else's in-progress work.
- Distinctive: line 103
Always run before pushing:
- Very specific: line 134
All agents use --no-pager and GIT_PAGER=cat for non-interactive output
- Very specific: line 136
After all review cycles pass, use commit-commands:commit-push-pr or superpowers:finishing-a-development-branch to handle merge/PR creation
- Very specific: line 137
Use the gh CLI to link PRs to issues and add reviewers (gh pr edit)
“Common” is measured: kept by at least 6 in 10 of the 164 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
Git Workflow
Use these conventions when working with version control, creating branches, writing commits, or resolving merge conflicts.
Plugins for Git Work
| Plugin / Tool | When to Use |
commit-commands:commit | Create conventional commits — handles staging, message formatting, and pre-commit checks |
commit-commands:commit-push-pr | Commit, push, and open a PR in one flow |
commit-commands:clean_gone | Clean up local branches that have been deleted on remote (marked [gone]), including worktrees |
gh CLI | GitHub operations — create/edit PRs, link issues, add labels, request reviewers, post comments (gh pr create, gh pr edit, gh issue create) |
Prefer plugins/CLI over raw git for:
- Committing —
commit-commands:commitenforces conventional commit format - PR creation —
commit-commands:commit-push-propens the PR; use theghCLI for labels, linked issues, and reviewers - Branch cleanup —
commit-commands:clean_gonesafely removes stale branches and worktrees
Commit Messages
<type>(<scope>): <subject>
[optional body]
[optional footer]Types: feat, fix, docs, style, refactor, test, chore
Good: feat(auth): add OAuth2 support for GitHub login
Bad: fixed stuff
Branch Naming
<type>/<ticket>-<description>Examples:
feature/PROJ-123-user-authenticationfix/PROJ-456-null-pointer-crashhotfix/PROJ-789-security-patch
Non-Interactive Git
All git commands must be non-interactive (see rules/execution-hygiene.md):
# Always use --no-pager or GIT_PAGER=cat
git --no-pager log -10
git --no-pager diff
GIT_PAGER=cat git show HEAD
# Commit with message (never open editor)
git commit -m "feat(auth): add login endpoint"
# Merge without editor
git merge --no-edit feature-branch
# Rebase non-interactively
git rebase --no-edit mainCommon Operations
# Squash last N commits (non-interactive)
git reset --soft HEAD~N && git commit -m "squashed commit message"
# Cherry-pick specific commit
git cherry-pick <sha>
# Undo last commit (keep changes)
git reset --soft HEAD~1
# Find commit that introduced bug
git bisect start
git bisect bad HEAD
git bisect good <known-good-sha>
# Stash with description
git stash push -m "WIP: auth middleware"
git stash popMerge Conflict Resolution
git status— identify conflicted files- Open file, look for
<<<<<<<,=======,>>>>>>> - Keep correct code, remove markers
git add <file>thengit rebase --continueorgit merge --continue
When resolving conflicts, investigate both sides before choosing — the conflicting code may represent someone else's in-progress work.
Pre-Commit Checks
Always run before pushing:
- Linting/formatting
- Unit tests
- Type checking (if applicable)
# Example pre-push verification
npm run lint && npm test && npx tsc --noEmit && git pushWorktrees
For isolated feature work (used by superpowers:using-git-worktrees):
# Create a worktree for isolated feature work
git worktree add ../project-feature feature/PROJ-123-description
# List active worktrees
git worktree list
# Clean up after merge (or use commit-commands:clean_gone)
git worktree remove ../project-featureWorktrees are useful when fullstack-agent orchestrates parallel task groups that need file-level isolation beyond what the task ownership rules provide.
Agent Integration
fullstack-agentcreates feature branches before starting spec-driven workcoding-agentanddevops-agentcommit their changes with conventional commit messages matching the task scope- All agents use
--no-pagerandGIT_PAGER=catfor non-interactive output review-agentmay usegit diffto identify the exact changeset under review- After all review cycles pass, use
commit-commands:commit-push-prorsuperpowers:finishing-a-development-branchto handle merge/PR creation - Use the
ghCLI to link PRs to issues and add reviewers (gh pr edit)
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.

