pr
仓库创建 2026年7月5日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由
自动处理推送与 PR 生成,保证 PR 描述带关键信息,适合 CI 流程。
▸ 风险提示
会推送代码并创建 PR,需远程写权限与凭据。
这个 Skill 做什么
创建并打开 Pull Request,跑 lint、推送并生成含假设的 PR 描述。
把本地改动推上远端并自动创建 Pull Request:会判断目标分支、跑 lint/pre‑commit、推送代码并打开带有 Assumptions 段落的 PR 描述。遇到无法用 gh 打开时会降级到 push + compare URL 的做法。适合在准备合并前想要一个规范、可复核的 PR 流程时使用。
▸ 展开 SKILL.md 英文原文
Create a pull request: detect base branch, verify not protected, run lint/pre-commit if configured, push, open PR with a generated description that always carries an Assumptions section. Falls back to push + compare URL without gh.
0
Stars
0
Forks
15
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/eduardkumskyi/octo/master/skills/pr/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/eduardkumskyi/octo/master/skills/pr/SKILL.md"SKILL.MD 节选查看完整文件 ↗
## Progress Contract Register these steps as a native task list at Step 1, before beginning. Report progress as "N steps remaining, size class S/M/L" — never wall-clock ETAs. Steps: (1) resolve-base, (2) guard-branch, (3) lint, (4) push, (5) open-pr. ## Arguments - **`[base-branch]`** — explicit base branch for the PR. If omitted, resolve via `git symbolic-ref refs/remotes/origin/HEAD` (strip to branch name); if unset, use `main` if it exists, else `master`. State the resolved base before proceeding. ## Workflow ### Step 1 — Resolve base Determine the base branch using the rule above. Print: `"base branch: <name> (source: <arg|detected>)."` ### Step 2 — Guard current branch ← S
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有