git-workflow
Skill1 starsChanged 3 months agoMITView on GitHub
Git 工作流的自动化与最佳实践。当需要写 commit message、创建 PR、解决合并冲突、分支管理(Git Flow/GitHub Flow/Trunk-based)、git rebase、cherry-pick、tag 管理、版本发布、git hook 配置、多分支协作、代码审查流程时使用。
- Reads credentials
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
- fusebase-dev/fusebase-flowtheir own version, first seen Oct 1, 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 repository40 other files it gives its agents.
- aestheticsSkill
- applying-ui-design-systemSkill
- avoid-ai-writingSkill
- clonedepsSkill
- codemapSkill
- code-masterySkill
- code-refactor-astSkill
- copywritingSkill
- croSkill
- db-schema-designerSkill
- frontend-designSkill
- github-workflowSkill
- humanize-fictionSkill
- human-voiceSkill
- life-planningSkill
- literary-craftSkill
- long-taskSkill
- marketing-psychologySkill
- masterpiece-writingSkill
- mcp-builderSkill
- mermaid-diagram-generatorSkill
- orchestrating-adversarial-reviewsSkill
- pandocSkill
- persuasion-craftSkill
- pptxSkill
- pricingSkill
- privacy-guardSkill
- product-strategySkill
- property-based-testingSkill
- psychology-masterySkill
- research-masterySkill
- self-editSkill
- shopping-advisorSkill
- simplifySkill
- skill-creatorSkill
- story-endingsSkill
- system-designSkill
- thinking-craftSkill
- wealth-masterySkill
- wisdom-philosophySkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 101 edited versions we read keep these.
7
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 16
Before staging or committing any changes:
- Distinctive: line 18
Run git status -s to inspect untracked and modified files.
- Distinctive: line 19
Run git diff (and git diff --cached) to verify exact changes line-by-line.
- Very specific: line 21
NEVER commit .env, .pem, credentials, API tokens, or hardcoded secrets.
- Very specific: line 22
Ensure build artifacts (node_modules/, dist/, .turbo/, target/) are ignored via .gitignore.
- Very specific: line 24
Ensure linter and tests pass before committing (npm test, cargo test, pytest, etc.).
- Distinctive: line 30
Follow the Conventional Commits format:
- Distinctive: line 58
When preparing a PR:
- Distinctive: line 68
Run git status to identify all unmerged paths.
- Distinctive: line 71
Keep the correct logic, remove conflict markers, and run the test suite to verify zero regressions.
“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 & Release Guidelines
This skill guides atomic, safe, and standardized Git version control workflows.
何时触发
关键词命中即触发:git、commit、PR、MR、分支、合并、冲突、rebase、cherry-pick、tag、发布、hook、协作、代码审查、回退、撤销、版本管理。
1. Pre-Commit Verification Checklist
Before staging or committing any changes:
- Check Status & Diffs:
- Run
git status -sto inspect untracked and modified files. - Run
git diff(andgit diff --cached) to verify exact changes line-by-line.
- Run
- Security & Secret Screening:
- NEVER commit
.env,.pem, credentials, API tokens, or hardcoded secrets. - Ensure build artifacts (
node_modules/,dist/,.turbo/,target/) are ignored via.gitignore.
- NEVER commit
- Verification:
- Ensure linter and tests pass before committing (
npm test,cargo test,pytest, etc.).
- Ensure linter and tests pass before committing (
2. Conventional Commit Standards
Follow the Conventional Commits format:
<type>(<optional scope>): <short summary in imperative present tense>
[optional body explaining WHY and WHAT changed, not HOW]
[optional footer(s), e.g., BREAKING CHANGE: ..., Closes #123]Commit Types:
feat: A new user-facing feature or capabilityfix: A bug fixrefactor: Code change that neither fixes a bug nor adds a featureperf: Performance improvementstest: Adding or correcting testsdocs: Documentation changes onlychore: Build system, CI/CD, dependency updates, internal toolingstyle: Formatting, whitespace (no code behavior change)
Good Examples:
feat(auth): add OAuth2 refresh token rotation mechanismfix(parser): handle empty markdown frontmatter without crashingrefactor(db): extract connection pool singleton to separate module
3. Pull Request (PR) Preparation
When preparing a PR:
- Title: Concise Conventional Commit style summary.
- Summary of Changes: Bullet points of key architectural/logic modifications.
- Testing Plan: Exact commands executed and tests verified.
- Breaking Changes & Risk Assessment: Detail any backward-incompatible changes or deployment risks.
4. Conflict Resolution Protocol
- Run
git statusto identify all unmerged paths. - Open conflicting files, locate
<<<<<<<,=======, and>>>>>>>markers. - Understand the intent of both branches before resolving.
- Keep the correct logic, remove conflict markers, and run the test suite to verify zero regressions.
加载 reference
| 用户说 | 加载 |
| commit message / 提交信息/ 提交规范/ 怎么写commit/ 提交格式 | reference/commits.md |
| 分支管理 / 分支模型 / PR / 代码审查 / 合并/ 工作流/ Git Flow | reference/branching.md |
| 回退 / 撤销 / 恢复 / reflog / 冲突解决 / 救援/ 撤销提交/ 回滚 | reference/recovery.md |
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.

