一键导入
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work. In this repository, package or lane branches must close through package-first evidence and integration handoff rather than the generic local merge or PR menu.
Use when executing repo-wide or lane-scoped SDK changes in this repository that must follow bounded change packages, qiniu-ai worktree/package commands, evidence bundles, review packets, promotion decisions, and integration-branch handoff. Trigger on requests to open a phase package, spawn or integrate a lane, prepare a review handoff, or land multi-subsystem SDK work without widening scope.
Four-phase debugging framework that ensures root cause investigation before attempting fixes. Never jump to solutions.
Use when starting feature work that needs isolation from the current workspace or before executing implementation plans. In this repository, prefer qiniu-ai worktree commands for lane or package-first delivery; fall back to generic git worktree flows only for non-package branches.
Run verification commands and confirm output before claiming success
Use when you have a spec or requirements for a multi-step task, before touching code. In this repository, multi-subsystem or lane-scoped work must create the package brief first and keep the plan aligned with the bounded package contract.
| name | requesting-code-review |
| description | Use when completing tasks, implementing major features, or before merging to verify work meets requirements |
Perform systematic self-review to catch issues before they cascade.
Core principle: Review early, review often. Be your own harshest critic.
Mandatory:
Optional but valuable:
# Get the diff range
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
# View all changes
git diff $BASE_SHA $HEAD_SHA
Go through each category systematically:
## Self-Review: [Feature Name]
**Changes:** [Brief summary]
**SHA Range:** BASE_SHA..HEAD_SHA
### Strengths
- [What's good about this code]
### Issues Found
- **Critical:** [Blocks deployment]
- **Important:** [Should fix before proceeding]
- **Minor:** [Nice to have, can defer]
### Assessment
[ ] Ready to proceed
[ ] Needs fixes first
Priority order:
[Just completed: Add user authentication]
## Self-Review: User Authentication
**Changes:** JWT middleware, login/logout endpoints, tests
**SHA Range:** a7981ec..3df7661
### Strengths
- Clean separation of auth logic
- Good test coverage (85%)
- Follows existing patterns
### Issues Found
- **Important:** Missing rate limiting on login endpoint
- **Minor:** Magic number for token expiry (should be config)
### Assessment
[x] Needs fixes first
[Fix rate limiting]
[Commit fix]
[Continue to next task]
Sequential Task Execution:
Executing Plans (batch mode):
Ad-Hoc Development:
Never:
Common Blind Spots: