git-workflow

仓库创建 2026年7月2日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

为日常开发与代码审查提供统一的操作与命名约定,降低合并冲突成本。

这个 Skill 做什么

团队级 Git 分支策略、提交规范与 Pull Request 工作流的标准化文档。

给团队统一一套 Git 分支策略、提交规范和 PR 流程,明确谁在什么时候该怎么建分支、写 commit、发 PR。任何要做 commits、branches、push 或打开 PR 时都按这套规则走,能减少冲突和审查摩擦。特别之处是把团队约定写成可执行的标准,方便新成员快速上手。

▸ 展开 SKILL.md 英文原文

Git branching strategy, commit standards, and PR workflow for the {{project.name}} project. Use when performing any git operations (commits, branches, pushes, PRs).

开发编程git 流程分支策略PR 规范通用
0
Stars
0
Forks
35
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/dustinkeeton/wafflestack/main/stacks/github-workflow/skills/git-workflow/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/dustinkeeton/wafflestack/main/stacks/github-workflow/skills/git-workflow/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Git Workflow Standards

## Identity

{{git.identitySection}}

## Branch Strategy

### Main is protected

- **NEVER push directly to `main`.**
- All work happens on feature branches.
- Changes reach `main` only through pull requests.

### Branch naming

- `feat/<short-description>` — new features
- `fix/<short-description>` — bug fixes
- `refactor/<short-description>` — restructuring without behavior change
- `chore/<short-description>` — tooling, config, docs, CI

### Creating a branch

```bash
git checkout main && git pull
{{git.cmd}} checkout -b feat/my-feature
```

## Commits

### Message format

```
<type>: <concise summary>

<optional body — why, not what>

{{git.coAuthorTrailer}}
```
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有