← スキル一覧に戻る

code-review
by oornnery
My custom agent and skills
⭐ 0🍴 0📅 2026年1月16日
SKILL.md
name: code-review description: Self-review patterns and checklists. Use before creating PRs or when reviewing your own changes.
Code Review Skill
Systematic self-review to catch issues before PR.
Review Checklist
Correctness
- Logic is correct for all inputs
- Edge cases handled
- Null/empty checks present
- Error states covered
- No race conditions
Readability
- Clear naming
- Appropriate comments
- Logical organization
- No magic numbers
- Self-documenting code
Architecture
- Follows existing patterns
- Proper separation of concerns
- No circular dependencies
- Single responsibility
Security
- No hardcoded secrets
- Input validation present
- Authorization checks
- No sensitive data in logs
- SQL injection prevention
Performance
- No N+1 queries
- Efficient algorithms
- Proper indexing considered
- No memory leaks
Tests
- Happy path tested
- Error paths tested
- Edge cases tested
- No flaky tests
Issue Severity
| Level | Description | Action |
|---|---|---|
| MUST FIX | Bugs, security, breaking | Block PR |
| SHOULD FIX | Code smells, missing tests | Fix before merge |
| NICE TO HAVE | Style, minor improvements | Optional |
Review Template
## Review Summary
**Files reviewed**: 5
**Issues found**: 3 (1 must fix, 2 should fix)
### MUST FIX
1. **[src/auth.py:45]** Missing password validation
- Risk: Security vulnerability
- Fix: Add password strength check
### SHOULD FIX
1. **[src/users.py:23]** Variable name `x` unclear
- Fix: Rename to `user_count`
2. **[tests/]** Missing test for error case
- Fix: Add test for invalid input
### NICE TO HAVE
- Consider using list comprehension at line 67
Quick Review Commands
# Check what changed
git diff --stat
# Review each file
git diff path/to/file.py
# Check for common issues
grep -r "TODO\|FIXME\|XXX" src/
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です