一键导入
pr-description
Refreshes PR titles and descriptions to match the current branch changeset. Use when the PR title or body has drifted from the code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Refreshes PR titles and descriptions to match the current branch changeset. Use when the PR title or body has drifted from the code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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.
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.
Turns free-form reports into ordered, execution-ready implementation checklists. Use when analysis must become an actionable plan.
基于 SOC 职业分类
| name | pr-description |
| description | Refreshes PR titles and descriptions to match the current branch changeset. Use when the PR title or body has drifted from the code. |
Sync PR title and body with the current branch diff.
Default tool is gh. Follow CLAUDE.md / AGENTS.md on conflict.
Default behavior is to update the PR directly once rewritten.
pr-info.pr-create.base...HEAD diff (git log, git diff --stat, git diff).Summary, What Changed, optional Testing/Open Questions).gh, then verify by re-reading the PR.What changed sectiongh pr edit <number> --title <title> only when it has drifted; skip the flag otherwise to avoid a no-op edit.gh pr edit --body-file <file> fails on the deprecated projectCards GraphQL field (repository.pullRequest.projectCards), it does not update the body. Fall back to the REST API: gh api -X PATCH repos/<owner>/<repo>/pulls/<number> -F body=@<file> (resolve <owner>/<repo> via gh repo view --json nameWithOwner -q .nameWithOwner). The same REST call accepts -F title=<title> when the gh pr edit title update also fails.gh pr view <number> --json title,body -q '.title, .body'.Report PR updated, base used for drift analysis, whether the title drifted (old → new, or unchanged), major body drift found, and what sections were rewritten/preserved/checked/removed.