octanejs/octane✦ 精选0°

create-a-pr

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

规范化 PR 流程,减少无关变更与漏测。

▸ 风险提示

需要仓库写权限并操作分支管理。

这个 Skill 做什么

为 Octane 仓库准备分支、提交与打开 Pull Request。

把一个改动整理成一个规范的 Octane 分支、提交和 Pull Request,让代码能被审查并安全合入主分支。适合你已经做了实现或修复,准备把它正式提交到仓库,或任务最后一步需要开 PR 的场景。该流程强调先检查工作树、读相关文档、遵守分支命名与 changeset 规则,避免把无关改动带进去。

▸ 展开 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/.claude/skills/create-a-pr/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/octanejs/octane/main/.claude/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 公开信息 · 原文版权归作者所有