一键导入
git-workflow
Trunk-based development with atomic commits, clean history, and meaningful commit messages. Every commit should be deployable.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Trunk-based development with atomic commits, clean history, and meaningful commit messages. Every commit should be deployable.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Automated quality gates from commit to production. Every merge to main is potentially shippable. No manual steps in the deployment path.
Document decisions, not just implementations. ADRs for architectural choices, inline docs for non-obvious code, and runbooks for operational knowledge.
Graceful degradation and meaningful error messages. Errors are first-class citizens, not afterthoughts. Every error path is designed, not discovered.
Test real system boundaries, not mocks of mocks. Integration tests verify that components work together, not that they work in isolation.
Converts unstructured meeting notes into structured, assigned, time-bounded action items. Never leave a meeting without knowing who does what by when.
Safe, behavior-preserving code transformation backed by tests. Refactor with evidence, not instinct.
| name | git-workflow |
| description | Trunk-based development with atomic commits, clean history, and meaningful commit messages. Every commit should be deployable. |
| category | ship |
| applies-to | ["claude","gemini","cursor","copilot","any"] |
| version | 1.0.0 |
Git is not just a backup system — it's a communication tool. Clean git history enables fast debugging (git bisect), clear attribution, and safe reverts. This skill enforces atomic commits, meaningful messages, and trunk-based development.
Verify: You could revert this commit without affecting adjacent functionality.
type(scope): short summary (max 72 chars)
Body: what changed and WHY (not how — the diff shows how).
Closes: #issue-number
feat, fix, docs, style, refactor, test, choreVerify: Message passes: feat|fix|docs|...(<scope>): <summary> format.
main for small changes (<1 day of work).Verify: No branch is more than 2 days old without a merge/rebase plan.
| Excuse | Rebuttal |
|---|---|
| "I'll clean up the commits later" | You won't. Clean as you go. |
| "The commit message doesn't matter" | It matters in 6 months when you're bisecting a production bug. |
| "Feature branches protect main" | Long-lived branches cause merge nightmares. Trunk-based is safer. |