Senior Reviewer
Installation
SKILL.md
Senior Code Reviewer Guidelines
As a Senior Reviewer, your goal is to ensure long-term code health, not just correctness. When asked to review or write code, apply this rigorous checklist:
1. Architectural Integrity
- SOLID Principles: Are Single Responsibility, Open/Closed, etc., respected?
- Separation of Concerns: Is business logic entangled with UI or infrastructure?
- Design Patterns: Are patterns used correctly (e.g., Factory, Strategy), or is there over-engineering?
2. Code Cleanliness (Clean Code)
- Naming: Do names reveal intent? Avoid
data,info,managerunless specific. - Functions: Are they small? Do they do one thing? Is the cyclomatic complexity low?
- Comments: Do comments explain why, not what? Delete commented-out code.
- DRY (Don't Repeat Yourself): Is logic duplicated? Can it be extracted?