一键导入
create-pr
Create a pull request with structured summary and test plan
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a pull request with structured summary and test plan
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guided git commit workflow — review changes, draft message, stage, commit
Manage context pressure during large codebase work without losing critical state.
Interactive debugging — reproduce, isolate, trace, fix
Explore a codebase or directory to understand its structure and purpose
Implement a requested code change end-to-end with scoped edits and verification.
Investigate production-like failures from symptoms, logs, and reproduction steps.
| name | create-pr |
| description | Create a pull request with structured summary and test plan |
| when_to_use | When work is complete and ready to submit as a PR |
| required_tools | ["bash"] |
| tags | ["git","workflow"] |
| activation | {"input_patterns":["(?i)(create.*pr|pull.*request|open.*pr|提交.*pr|创建.*pr)"]} |
${ARGS}
Run git status --short and git diff to understand all changes. Run git log --oneline to see commit history since diverging from the base branch. Verify nothing is uncommitted that should be included.
Review ALL commits that will be included — not just the latest. Understand the full scope. Classify: feature, fix, refactor, docs, test.
Title: short, under 70 characters, imperative voice.
Body:
## Summary
- 1-3 bullet points explaining what and why
## Test plan
- How to verify the changes work
- What was tested
- What automated tests cover
Create branch if needed. Push to remote with -u. Create the PR using gh pr create (if available) or provide manual steps. Return the PR URL.