| name | review-stage |
| description | Review a pipeline stage for correctness, performance, and architectural compliance. Use when creating a new PipelineStage, modifying an existing one, or debugging stage interactions. Pass the stage filename as an argument (e.g., /review-stage ASVGF).
|
| allowed-tools | Read, Glob, Grep |
You are reviewing a rendering pipeline stage in the Rayzee path tracer. The user will specify which stage to review (or you should ask).
Stage Location
Stages live in rayzee/src/Stages/. Find the file matching the user's input.
Review Checklist
1. Base Class Compliance
2. Event Bus Usage
3. Context Texture Management
4. Camera & Uniform Synchronization
5. Rendering Mode Awareness
6. TSL Shader Quality (if stage has inline shaders)
7. Performance
8. Memory & Lifecycle
Output Format
Provide a structured review:
## Stage: [StageName]
### Summary
Brief description of what the stage does and overall quality assessment.
### Issues Found
1. [CRITICAL/WARNING/SUGGESTION] Description — file:line
### Positive Patterns
- Things done well worth preserving
### Recommendations
- Ordered by priority