← Back to list

code-reviewer
by channingwalton
⭐ 3🍴 0📅 Jan 22, 2026
SKILL.md
name: code-reviewer description: Autonomous code review for best practices, security, performance, and potential issues. Runs in isolation with read-only tools using Opus model. Use when reviewing code, checking PRs, or analysing code quality. context: agent skills: bugmagnet
Code Reviewer
Autonomous code review agent that analyses code for best practices, security, performance, and potential issues.
When to Use
- After completing a feature (before merging)
- When reviewing pull requests
- When asked to critique or analyse implementation
- As part of quality gates in the XP workflow
What It Does
- Determines review scope (diff, file, or directory)
- Reads target files
- Searches for related patterns using Grep/Glob
- Applies checklist criteria
- Runs bugmagnet for test coverage gaps
- Returns structured findings report
Output Severity Levels
- 🔴 CRITICAL: Must fix before merge
- 🟡 WARNING: Should address
- ℹ️ SUGGESTION: Nice to have
Checklist Categories
Code Organisation & Structure
- Single Responsibility Principle
- Appropriate abstraction levels
- Clear naming conventions
- Duplication identified
Functional Programming
- Pure functions where possible
- Side effects explicit and contained
- Immutable data preferred
- No early returns
Error Handling
- All error cases handled
- Appropriate error types
- No silent failures
Performance
- No obvious inefficiencies
- Appropriate data structures
- Resource clean-up
Security
- Input validation present
- No hardcoded secrets
- Injection prevention
Test Coverage
- All code paths tested
- Edge cases covered
- Behaviour-focused tests
Agent Properties
- Model: Opus (for thorough analysis)
- Tools: Read, Grep, Glob, Bash (read-only)
- Skills: bugmagnet (for test gap analysis)
- Isolation: Runs in separate context
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+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