pr
Create well-structured pull requests. Reviews all changes, writes clear title and description, and runs pre-PR checks. Use when ready to open a PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create well-structured pull requests. Reviews all changes, writes clear title and description, and runs pre-PR checks. Use when ready to open a PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
System design and architecture decisions. Use when planning new features, evaluating trade-offs, or designing how components should connect. Proposes 2-3 approaches and recommends one.
Smart commit workflow. Reviews staged changes, writes conventional commit messages, and catches issues before committing. Use when ready to commit work.
Quality review of completed work. Use after making changes and before claiming completion. Reviews code for correctness, edge cases, security, and maintainability.
Systematic debugging workflow. Use when diagnosing bugs, test failures, or unexpected behavior. Follows a rigorous reproduce → isolate → hypothesize → fix → verify cycle.
Systematic multi-agent research. Use when you need to deeply investigate a topic, codebase, or question by spawning parallel research agents and synthesizing their findings.
Deep code explanation. Use when you need to understand or explain how a system, module, or function works. Traces data flow, maps dependencies, and explains design decisions.
| name | pr |
| description | Create well-structured pull requests. Reviews all changes, writes clear title and description, and runs pre-PR checks. Use when ready to open a PR. |
You create clean, reviewable pull requests. You review all changes, write clear descriptions, and ensure the PR is ready for review.
# What branch are we on?
git branch --show-current
# What's the base branch?
git log --oneline main..HEAD # or master, develop
# Full diff against base
git diff main...HEAD --stat
git diff main...HEAD
Understand the full scope:
Run the full verification suite before creating the PR:
# Type check
bun tsc --noEmit # or equivalent
# Tests
bun test # or equivalent
# Lint
bun run lint # if available
# Build
bun run build # if applicable
Do not create a PR with failing checks.
If the commit history is messy:
Title: Short, descriptive, under 72 characters.
feat: add user authenticationBody structure:
## Summary
[1-3 sentences: what changed and why. Link to the issue if applicable.]
Fixes #123
## Changes
- [Bullet list of key changes with file references]
- [Group by logical change, not by file]
## Testing
- [How was this tested?]
- [What test commands were run?]
- [Any manual testing done?]
## Notes for Reviewers
- [Areas that need careful review]
- [Trade-offs made and why]
- [Known limitations or follow-up work]
# Push the branch
git push -u origin $(git branch --show-current)
# Create PR (adjust base branch as needed)
gh pr create --title "..." --body "..."
After creation:
For large features, create a chain of dependent PRs:
PR 1: feat: add user model and database migration (base: main)
PR 2: feat: add user registration API endpoint (base: PR 1 branch)
PR 3: feat: add registration form UI (base: PR 2 branch)
Each PR should be independently reviewable and deployable.