← スキル一覧に戻る

pr-review
by gentamura
⭐ 0🍴 0📅 2026年1月12日
SKILL.md
name: pr-review description: Use this skill to review pull requests against coding standards and best practices. Invoke when reviewing code changes before merge.
PR Review
Systematic code review following team standards.
Review Process
1. Understand the Change
- Read PR description and linked issues
- Understand the intent and scope
- Check if the approach aligns with architecture
2. Review Code Quality
Go through each checklist section below.
3. Provide Feedback
- Be specific and actionable
- Explain the "why" behind suggestions
- Distinguish blocking issues from suggestions
- Acknowledge good patterns
Review Checklist
TypeScript
- No
anytypes used - No
ascasts (type guards used instead) - Functions have explicit return types
- Proper error types defined
- No TypeScript errors (
bun run buildpasses)
React
- useEffect only for external synchronization
- API calls, WebSocket, browser APIs, timers
- No derived state in useEffect
- No props copied to state
- User actions handled in event handlers
- Effects have comments explaining external resource
- Proper cleanup in effects when needed
Code Quality
-
bun run lint:fix(orbun run lintif no fix script) passes - No console.log in production code
- Follows existing patterns in codebase
- No dead code or commented-out code
- Meaningful variable and function names
Security
- Input validated at boundaries
- No hardcoded secrets or credentials
- Proper authentication/authorization checks
- No SQL injection vulnerabilities
- No XSS vulnerabilities
Database (if applicable)
- Existing migrations NOT edited
- Schema changes via
drizzle-kit generate - Appropriate indexes considered
- No N+1 query patterns
Testing
- Tests cover happy path
- Tests cover error cases
- Tests are meaningful (not just coverage)
Documentation
- Comments and docs in English
- Complex logic explained
- API changes documented
- README updated if needed
Feedback Template
## Summary
[Overall assessment: Approve / Request Changes / Comment]
## Blocking Issues
- [ ] **[File:Line]** Issue description
- Why it's a problem
- Suggested fix
## Suggestions
- **[File:Line]** Suggestion description
- Why this would be better
## Questions
- [Question about design or implementation]
## Praise
- [Acknowledge good patterns or improvements]
Severity Levels
| Level | Meaning | Action |
|---|---|---|
| Blocking | Must fix before merge | Request changes |
| Suggestion | Would improve code | Comment |
| Nitpick | Minor style preference | Optional |
| Question | Need clarification | Comment |
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です