git-workflow-and-versioning
仓库创建 2026年7月5日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由
让 AI 生成的改动可回溯、便于审查与协作。
这个 Skill 做什么
为代码变更提供规范的 Git 工作流与版本控制实践。
提供一套靠谱的 Git 操作习惯:把提交当成存档点、分支当作沙盒、历史当文档,用于提交、建分支、解决冲突或多路并行开发时。任何代码改动都得走这套流程,能保证可回溯、可审查、可合并。特别强调纪律化(比如 trunk-based、清晰的 commit/PR 流程),在多人或 AI 生成代码时尤其重要。
▸ 展开 SKILL.md 英文原文
Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams.
0
Stars
0
Forks
25
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/kulapoo/opencode-agent-harness/main/skills/git-workflow-and-versioning/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/kulapoo/opencode-agent-harness/main/skills/git-workflow-and-versioning/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Git Workflow and Versioning ## Overview Git is your safety net. Treat commits as save points, branches as sandboxes, and history as documentation. With AI agents generating code at high speed, disciplined version control is the mechanism that keeps changes manageable, reviewable, and reversible. ## When to Use Always. Every code change flows through git. ## Core Principles ### Trunk-Based Development (Recommended) Keep `main` always deployable. Work in short-lived feature branches that merge back within 1-3 days. Long-lived development branches are hidden costs — they diverge, create merge conflicts, and delay integration. DORA research consistently shows trunk-based development cor
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有