一键导入
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 creating application icons for Windows apps, from initial SVG design through to final ICO file
Use when improving code structure, applying design patterns, ensuring backward compatibility, or making incremental changes without altering behavior
Use when planning work items, managing backlogs, creating epics/features/stories/tasks, or organizing development work in Agile/SCRUM methodology
Use when implementing any feature or bugfix, before writing implementation code
Use when designing application structure, implementing layered architecture, applying DDD patterns, or making architectural decisions about separation of concerns
Use when building, designing, or coding Azure Logic Apps Consumption workflows - covers architecture patterns, Code View JSON conventions, error handling, performance optimization, security, naming conventions, and deployment best practices
| name | requesting-code-review |
| description | Use when completing tasks, implementing major features, or before merging to verify work meets requirements |
Perform structured self-review to catch issues before they cascade.
Core principle: Review early, review often.
Mandatory:
Optional but valuable:
1. Get git diff for review:
# Compare against main/master
git diff main --stat
git diff main
# Or compare specific commits
git diff HEAD~3..HEAD --stat
git diff HEAD~3..HEAD
2. Follow the review checklist below systematically
3. Document findings using the output format
4. Act on findings:
Document your review findings:
## Code Review: [Feature/Task Name]
**Reviewed:** [date]
**Commits:** [base]...[head]
### Strengths
[What's well done? Be specific with file:line references]
### Issues
#### Critical (Must Fix)
[Bugs, security issues, data loss risks, broken functionality]
#### Important (Should Fix)
[Architecture problems, missing features, poor error handling, test gaps]
#### Minor (Nice to Have)
[Code style, optimization opportunities, documentation improvements]
### Assessment
**Ready to merge:** [Yes/No/With fixes]
**Reasoning:** [Technical assessment in 1-2 sentences]
For each issue include:
[Just completed: Add verification function]
You: Let me review my changes before proceeding.
$ git diff main --stat
src/indexer.ts | 45 +++++++++++++++
src/verifier.ts | 82 +++++++++++++++++++++++++
tests/verifier.test.ts | 67 ++++++++++++++++++++
3 files changed, 194 insertions(+)
[Review against checklist...]
## Code Review: Verification Functions
### Strengths
- Clean architecture with proper separation (verifier.ts)
- Good test coverage (67 lines, all edge cases)
- Proper error handling with fallbacks (verifier.ts:45-52)
### Issues
#### Important
1. **Missing progress indicators**
- File: indexer.ts:130
- Issue: No feedback during long operations
- Fix: Add progress callback or logging
#### Minor
1. **Magic number**
- File: verifier.ts:23
- Issue: Hardcoded 100 for reporting interval
- Fix: Extract to named constant
### Assessment
**Ready to merge:** With fixes
**Reasoning:** Core implementation solid. Progress indicator is important for UX.
[Fix progress indicators]
[Continue to next task]
Executing Plans:
Ad-Hoc Development:
Feature Development:
Never:
Quality indicators: