← Back to list

code-review
by DennisToma
⭐ 0🍴 0📅 Jan 13, 2026
SKILL.md
name: code-review description: Review code changes for AI-generated patterns, anti-patterns, and project convention violations. Use before committing or when reviewing PRs. allowed-tools: "Read,Grep,Glob" version: 1.0.0
Code Review
Review code for AI-generated patterns that don't match human-written code.
When to Use
- Before committing changes
- When reviewing PRs
- After AI-assisted coding session
- When code "feels" over-engineered
Instructions
Step 1: Read Anti-Patterns Reference
Read {baseDir}/../agent_docs/anti-patterns.md for the full list.
Step 2: Check for AI-Generated Patterns
| Pattern | What to Look For |
|---|---|
| Excessive comments | Comments stating the obvious |
| Over-defensive code | Null checks on typed parameters |
| Unnecessary abstractions | Helpers used once |
| Verbose naming | getUserDataFromDatabase vs getUser |
Step 3: Check Project Conventions
- Read nearby files to understand local patterns
- Verify new code matches existing style
- Check naming conventions match
Step 4: Output Format
## Code Review: [file or PR]
### AI Patterns Found
- [ ] Issue: [description]
- Location: `file:line`
- Fix: [suggestion]
### Convention Violations
- [ ] Issue: [description]
- Location: `file:line`
- Expected: [pattern]
### Summary
- Critical: X
- Warnings: Y
- Suggestions: Z
Quick Checklist
- No comments stating the obvious
- No unnecessary null checks
- No single-use helper functions
- Names match existing conventions
- No excessive try/catch
- No Hungarian notation (IFoo, FooData)
- No barrel file re-exports
- Folder structure matches project style
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon