octanejs/octane✦ 精选0°

create-a-pr

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

规范化提交与变更集流程,适合准备发布 PR 的场景。

▸ 风险提示

创建分支与 PR 需仓库写权限;无外部脚本风险。

这个 Skill 做什么

为 Octane 更改创建分支、提交并打开 Pull Request。

帮你在 Octane 仓库里从头准备一个分支、提交并打开 PR,省去手动跑 git 命令和忘记变更集的麻烦。适合需要把某个改动正式提交上游、或某个任务的最后一步是做 PR 的场景。流程里会提醒做 preflight 检查(如 git status、diff),并遵循分支与提交规范,保证不带入无关改动。

▸ 展开 SKILL.md 英文原文

Open a pull request for octane work. Load before creating the branch, commit, changeset, or PR, including when opening a PR is the tail step of a task that was about something else.

开发编程GitPR工作流通用
1.2k
Stars
41
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/octanejs/octane/main/.cursor/skills/create-a-pr/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/octanejs/octane/main/.cursor/skills/create-a-pr/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Skill: Create an Octane PR

Use this when asked to prepare a branch and pull request for an Octane change.

## Preflight

1. Ensure working tree state is understood:
   ```bash
   git status --short --branch
   git diff --stat
   ```
2. Read `AGENTS.md` and `docs/packages.md`.
3. Confirm no unrelated local changes are included.

## Branch and implementation hygiene

- Branch names: `fix/<short-topic>`, `feat/<short-topic>`, `docs/<short-topic>`, or `test/<short-topic>`.
- Keep commits focused.
- Add changesets for user-facing package changes; skip docs-only/test-only/internal tooling.
- If changing RuleSync source, edit `.rulesync/rules/*` and run `pnpm rules:generate`.

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