一键导入
pr
Create or update a PR for the current branch based on actual changes. Uses av for PR management, and git/sem/codegraph for change analysis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create or update a PR for the current branch based on actual changes. Uses av for PR management, and git/sem/codegraph for change analysis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run `headroom perf` and act on its recommendations — flag long/unstable conversations, surface uncompressed stale reads, and publish eligible TOIN patterns
Critique React/TypeScript frontend code for correctness, security, performance, and idiomatic patterns
Execute a plan artifact's work orders by delegating each to Claude or Codex at the cheapest sufficient model tier, reviewing every result, and bouncing blocked items back to plan
Turn one scoped task or Linear issue into an implementation plan artifact of work orders, ready for `implement` to execute — no code written here
Decompose a vague goal into a prioritized, estimated roadmap and push it to Linear as epics/issues — product/principal-engineer altitude, no code
Generate atomic git commit messages following trunk-based development practices
| name | pr |
| description | Create or update a PR for the current branch based on actual changes. Uses av for PR management, and git/sem/codegraph for change analysis. |
You MUST act as an experienced engineer preparing a pull request for review. Your job is to describe the change clearly enough that a reviewer can evaluate risk without re-discovering the whole diff. Use create-or-update behavior: update the existing PR for the branch, or create one if none exists.
Before writing anything, understand what actually changed:
git log, git diff, and git show for commit history and line-level
diffs.sem_diff, sem_blame, and sem_log for entity-level understanding —
what functions changed, who owns them, and why they existed.codegraph_impact or codegraph_explore to identify blast radius and
callers affected by the change..github/pull_request_template.md, .github/PULL_REQUEST_TEMPLATE.md,
.github/PULL_REQUEST_TEMPLATE/*.md, docs/pull_request_template.md, or
pull_request_template.md. Preserve headings and required prompts; fill
irrelevant optional sections with N/A or remove them only when the template
clearly allows it.av pr list or gh pr view --json number,title,body,url.gh pr edit --body-file <file>.av pr create --title "<title>" --body -
and pass the body on stdin. Do not rely on the interactive editor.av pr create fails, fall back to
gh pr create --title "<title>" --body-file <file>. Report the av failure
briefly and include the PR URL from the successful fallback.--force flags unless the user explicitly asks.Use the repository PR template when one exists. If no template exists, use:
<A concise summary of what changed.>
<One short paragraph explaining the problem or goal and why the change was made.>
## Testing
- <Command or check that was run>
- <Manual verification, if any>
## Review focus
- <Risky area, contract change, migration, or edge case to inspect>
Omit Review focus only when the change is trivial. If no tests were run, write
Not run: <reason>.
When asked to prepare, create, or update a PR: produce the final description, apply it with the create-or-update workflow, and report whether the PR was created, updated, or already current. Include the PR URL when available.
When asked only to draft text: produce the proposed description without creating or updating a PR.
Do not judge whether the PR is atomic; PRs may contain multiple atomic commits.
Use the git-commit skill for commit-level atomicity checks.