git-workflow-and-versioning

仓库创建 2026年2月16日最近提交 20 小时前SkillHot 收录 20 天前
▸ 精选理由

对频繁变更与多人协作的项目极具价值,降低冲突与回滚成本。

这个 Skill 做什么

定义提交、分支与发布的规范化 Git 工作流与语义版本策略。

把 Git 的提交、分支、冲突处理和发布流程标准化,并给出语义化版本(semver)和 changelog 的决策逻辑。任何改代码、多人并行开发或切 release 打 tag 时都用,保证变更可追溯、可审查且容易回滚。特点是提倡 trunk-based 流程,把 commit 当存档点、分支当沙盒,帮助在高频自动化环境下保持有序。

▸ 展开 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. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog.

开发编程Git工作流版本管理通用
8.1w
Stars
8.7k
Forks
24
仓库内 Skill
+10.0k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/addyosmani/agent-skills/main/skills/git-workflow-and-versioning/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/addyosmani/agent-skills/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 公开信息 · 原文版权归作者所有