git-workflow
Skill9 starsChanged 2 months agoMITView on GitHub
General Git workflow for generated apps: safe local commits, clean history, and rollback guidance. Includes strict debug/deploy traceability section when git-debug-commits flag is enabled.
- Reads credentials
- Deletes or force-pushes
118 other projects use a version of this.
Adopted by
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
- netresearch/git-workflow-skilltheir own version, first seen Sep 30, 2026
Used with
Projects with it also use squad-commands, typescript-patterns 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.
MicrosoftSkillsquad-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 3 projects that use this
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
- +1 more from microsoft
Other versions118 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 118
- JetBrains/ideavim★ 10ksame name
- Galaxy-Dawn/claude-scholar★ 5.7ksame name
- github/gh-aw★ 5.3ksame name
- microsoft/Generative-AI-for-beginners-dotnet★ 3.1ksame name
- microsoft/waza★ 1.4ksame name
- laolaoshiren/claude-code-skills-zh★ 876same name
- Mindrally/skills★ 266same name
- Azure/fleet★ 226same name
- povvo/claudikins-kernel★ 128same name
- extra-org/extra★ 113same name
108 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 repository119 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/fusebase-flow-always.mdcCursor rule
- .cursor/rules/fusebase-flow-implementation.mdcCursor rule
- .cursor/rules/fusebase-flow-security.mdcCursor rule
- .cursor/rules/fusebase-flow-specs.mdcCursor rule
- .cursor/rules/fusebase-flow-validation.mdcCursor rule
- api-explorationSkill
- app-api-contract-testingSkill
- app-backendSkill
- app-business-docsSkill
- app-dev-practicesSkill
- app-e2e-testsSkill
- app-quality-patternsSkill
- app-routingSkill
- app-secretsSkill
- app-sidecarSkill
- app-ui-designSkill
- business-logic-guardianSkill
- client-vs-internalSkill
- code-reviewSkill
- comment-policySkill
- communicationSkill
- design-discovery-ideationSkill
- dev-debug-logsSkill
- documentation-budgetSkill
- file-uploadSkill
- find-wasted-codeSkill
- find-wasted-effortSkill
- fusebase-cliSkill
- fusebase-dashboardsSkill
- fusebase-flow-health-checkSkill
- fusebase-gateSkill
- fusebase-portal-specific-appsSkill
- git-history-diagnosticSkill
- handling-authentication-errorsSkill
- handoffSkill
- implementation-planningSkill
- invite-with-passwordSkill
- lightweight-laneSkill
- liveness-disciplineSkill
- managed-integrationsSkill
- mcp-gate-debugSkill
- module-size-disciplineSkill
- north-starSkill
- phase-auditSkill
- product-apps-decompositionSkill
- product-docs-firstSkill
- product-ownerSkill
- project-onboardingSkill
- release-deploy-reportingSkill
- remote-logsSkill
- repo-onboarding-context-mapSkill
- requirements-specificationSkill
- role-disciplineSkill
- security-permissions-reviewSkill
- skill-authoringSkill
- smoke-testingSkill
- task-delegationSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 11 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 101 edited versions we read keep these.
11
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
- could be automatic: a setting could enforce it
- Distinctive: line 10
Use this skill for day-to-day Git work in generated apps:
- Distinctive: line 12
keep commits focused and understandable,
- Distinctive: line 22
Commit with reason-focused message.
- Distinctive: line 23
Keep unrelated changes in separate commits.
- Distinctive: line 27
Prefer small, scoped commits.
- Very specific: line 29
Do not commit .env, credentials, or token files.
- Distinctive: line 30
Avoid history rewrite unless explicitly requested.
- Very specific: line 48
Use revert by default on shared branches.
- Distinctive: line 57
Always review git status --short after these operations.
- Very specific: line 62
When git-debug-commits is enabled, apply these stricter rules.
- Distinctive: line 74
If tree is dirty, block deploy by default and continue only with explicit user approval.
- Distinctive: line 84
Do not batch unrelated fixes.
- Distinctive: line 85
Do not continue to the next fix until the current verified fix is committed.
- Distinctive: line 86
If a fix was verified but not committed, deploy is blocked until the commit exists.
“Common” is measured: kept by at least 6 in 10 of the 101 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
Purpose
Use this skill for day-to-day Git work in generated apps:
- keep commits focused and understandable,
- avoid committing secrets,
- keep rollback simple.
Baseline Workflow
- Check current state:
git status --shortgit rev-parse --abbrev-ref HEAD
- Group related changes.
- Commit with reason-focused message.
- Keep unrelated changes in separate commits.
Commit Rules
- Prefer small, scoped commits.
- Message should explain why.
- Do not commit
.env, credentials, or token files. - Avoid history rewrite unless explicitly requested.
Suggested message patterns:
feat: <why>fix: <why>chore: <why>
Rollback Guidance
Preferred shared-history rollback:
git revert <commit_sha>
Temporary local rollback during active iteration:
git reset --hard <commit_sha_before_change>
Use revert by default on shared branches.
Operations That Commonly Need Separate Commits
fusebase app create/update(fusebase.jsonchanges)fusebase update --skip-mcp --skip-deps --skip-cli-update --skip-commit(AGENTS.md,.claude/*changes)fusebase config ide/fusebase integrations(IDE MCP config changes)fusebase env create(.envlocal changes; usually not committed)
Always review git status --short after these operations.
<% if (it.flags?.includes("git-debug-commits")) { %>
Strict Debug/Deploy Traceability (Flag: git-debug-commits)
When git-debug-commits is enabled, apply these stricter rules.
These are mandatory rules (not recommendations).
Deploy Preflight (Required)
Before fusebase deploy:
git status --shortgit rev-parse --abbrev-ref HEADgit rev-parse HEAD
If tree is dirty, block deploy by default and continue only with explicit user approval.
Commit Per Verified Fix (Required)
For each verified debug fix:
git add -Agit commit -m "fix(debug): <why>"- record
git rev-parse --short HEAD
Do not batch unrelated fixes. Do not continue to the next fix until the current verified fix is committed. If a fix was verified but not committed, deploy is blocked until the commit exists.
Deploy Trace Marker
After successful deploy:
- record deployed
git rev-parse HEADin report, - optionally add tag:
git tag -a deploy/<app-or-app>/<timestamp> -m "Deploy trace marker"
Report Requirements
For each fix:
- issue summary,
- verification done,
- commit SHA,
- rollback command (
git revert <sha>).
For each deploy:
- target,
- preflight result (clean or approved-dirty),
- deployed SHA,
- optional tag. <% } %>
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.

