一键导入
pr-create
Creates a PR for the current branch or worktree when none exists. Use when a branch needs a pull request opened.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Creates a PR for the current branch or worktree when none exists. Use when a branch needs a pull request opened.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Splits a large branch or PR into smaller, independently reviewable units by grouping changes and proposing parallel PRs or a stacked series. Use when a changeset is too big to review well and should be broken up.
Captures the portable, non-secret pi config from a live ~/.pi/agent into this repo's pi/ directory and commits it, without reading or copying secrets. Use when live pi config or extensions have drifted from the repo and need to be synced back.
Refreshes PR titles and descriptions to match the current branch changeset. Use when the PR title or body has drifted from the code.
Reviews the current session for problems and their eventual fixes, then proposes durable improvements to repo skills, scripts, or docs that prevent recurrence. Use when a session hit avoidable friction worth turning into a lasting fix.
Runs discovery and uncertainty resolution for a change, then writes a terse plan document covering purpose, behaviour, validation, architecture, and phased vertical slices. Use before building when a change needs a clear, agreed design.
| name | pr-create |
| description | Creates a PR for the current branch or worktree when none exists. Use when a branch needs a pull request opened. |
| user-invocable | true |
| disable-model-invocation | false |
Create exactly one PR for the current branch against the correct base.
Default tool is gh. Default base is develop; PR opens as draft unless asked otherwise.
Follow CLAUDE.md / AGENTS.md on conflict.
pr-info; if a PR already exists, report it and stop.git push -u origin <branch> if needed.develop).base...HEAD diff (git log, git diff --stat, git diff) to draft a title and a placeholder body.gh pr create --draft --base <base> --title ... --body ....pr-description to write the full body from the diff.Stop and ask if the branch has no commits ahead of base, the base is ambiguous, or push fails.
pr-description.Report PR number/URL, base used, draft state, push performed or not, and any gate that required a user decision.