一键导入
pr
Create a pull request from the current branch, matching the repo's PR conventions (What/Why/Testing for features, Summary/Test-plan for small PRs).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a pull request from the current branch, matching the repo's PR conventions (What/Why/Testing for features, Summary/Test-plan for small PRs).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a release-tracking issue that organizes open issues into a phased roadmap. Pass a target version (e.g., `0.5.0`) to scope the plan.
Cut a release — promote Unreleased → versioned in CHANGELOG, bump version, commit. CI auto-tags and publishes from the version-bump commit.
| name | pr |
| description | Create a pull request from the current branch, matching the repo's PR conventions (What/Why/Testing for features, Summary/Test-plan for small PRs). |
Open a PR for the current branch.
Pre-flight — run /check. Warn (don't block); the user may want a draft anyway.
Gather context
git log main..HEAD --onelinegit diff main...HEAD --statgit diff main...HEAD — read the actual diffgh pr list --state merged --limit 5 --json number,title,labelsTitle — Conventional Commits with scope (matches the commit-message convention enforced in CLAUDE.md):
<type>(<scope>): <imperative lowercase description>
feat, fix, chore, ci, test, docs, refactor, perf, build, style.backends, core, runner, record-replay, cli, release, deps, version, a2a, evaluator, analyzer, reporter, runtime, contracts, foundation (for cross-cutting bootstrap PRs).main, so consistency with the commit-message style matters.(#<issue>) — e.g. feat(backends): add streaming support for LLM responses (#81).Body — pick the format by PR size. The repo template is at .github/PULL_REQUEST_TEMPLATE.md; preserve its four sections.
Feature / substantive PRs (new functionality, non-trivial refactor):
## What
<1–2 sentence summary>
- <bullet describing change 1>
- <bullet describing change 2>
## Why
<motivation, link to related issues/PRs>
Closes #<issue>
## Testing
- [x] `uv run pytest` passes (<N> tests)
- [x] `uv run ruff check src/ tests/` clean
- [x] `uv run mypy src/` clean
- [x] <any extra check actually run, e.g. portability invariant, end-to-end smoke>
## Notes
<2–4 bullets max — only deferrals, cross-repo coupling, or non-obvious choices>
Small PRs (docs, single-file fixes, coverage bumps):
## Summary
- <1–3 behavior-focused bullets>
## Test plan
- [x] <auto-check if /check passed, else manual>
No emojis. Drop Closes #<issue> if the PR has no public issue (the repo's default tracking lives in plans/issues/, gitignored — explain in Notes if a reviewer might wonder).
Notes guidance:
What / Why.Labels — pr-labeler auto-applies labels from .github/labeler.yml based on changed paths (core, cli, providers, ci, dependencies, documentation, release). Add general categories (enhancement, bug, breaking) explicitly via --label because the labeler does not infer them from paths.
Push (ask authorization first)
git push --set-upstream origin <branch>git pushCreate
gh pr create --title "..." --body "$(cat <<'EOF'
...
EOF
)" --label "..."
Add --draft if $ARGUMENTS contains "draft".
Report the PR URL. Don't poll CI — let the user run /ci-status.