| name | review |
| description | Structured code and change review for the Ilaris FoundryVTT system. |
Review Skill
A reusable skill for performing risk-based code reviews with consistent gate decisions.
When to Use
- After any code change before it's considered complete
- When reviewing PR-level changes
- When validating compendium data modifications
- When checking migration correctness
Review Checklist
1. Understand the Change
2. Correctness Check
3. Regression Risk Assessment
4. Test Coverage
5. Style & Documentation
6. Foundry-Specific Checks
Gate Decision Logic
IF any HIGH severity issue found:
→ BLOCK (with actionable fix description)
ELSE IF any MEDIUM severity issues found:
→ PASS_WITH_NOTES (list issues as recommendations)
ELSE:
→ PASS
Severity Guide
| Severity | Examples |
|---|
| HIGH | Runtime error, data loss, security issue, broken existing feature, incorrect API usage |
| MEDIUM | Missing test, unhandled edge case, missing doc update, incomplete migration |
| LOW | Naming suggestion, style preference, optional optimization |
Output
Use the Final Review Verdict Template from .agents/HANDOFFS_AND_STANDARDS.md.
Consistency Rules
- Same input should produce the same gate decision across multiple runs.
- Severity classifications must follow the guide above — do not escalate LOW to HIGH.
- Every BLOCK must be fixable in a single follow-up pass.