creating-pull-requests

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

为自动化创建与管理 PR 提供明确分支角色与操作规则,便于团队一致性。

▸ 风险提示

需要对仓库有写入/合并权限,操作前确认授权。

这个 Skill 做什么

公司级 Pull Request 工作流与分支策略规范与操作指引。

把公司级的 PR 工作流和分支策略讲明白,告诉你什么时候开 PR、往哪个分支合并以及谁来审批。适用于创建或管理 GitHub Pull Request 时,避免把开发分支误合入 master 或把 PR 发错目标。重点规则包括把 develop 当沙盒、master 经签发合并,降低发布混乱风险。

▸ 展开 SKILL.md 英文原文

Company pull request workflow and branch policy. Use when user says "create a PR", "make a pull request", "open a PR", or when managing GitHub pull requests for company projects.

开发编程PR 流程分支策略代码审查通用
0
Stars
0
Forks
23
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ceilidhboy/skills/master/skills/creating-pull-requests/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ceilidhboy/skills/master/skills/creating-pull-requests/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Creating Pull Requests

## Branch Policy

```
feature branches ──→ develop (merge for testing/preview)
feature branches ──→ master  (via PR, when signed off)

NEVER develop ──→ master
NEVER PR into develop
```

### Branch roles

| Branch | Purpose | Disposable? | Gets PRs? |
|--------|---------|-------------|-----------|
| `develop` | Sandbox / WIP / experimental. Non-technical staff preview work here. | ✅ Yes — recreate from `master` if broken | ❌ Never — merge directly |
| `master` | Production. Only clean, signed-off code. | ❌ No | ✅ Yes — from feature branches only |
| `staging` (if exists) | Pre-production gate. Final testing before release. | Conditional | ✅ From feature branches |

via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有