| name | burn-reviewer |
| description | Reviews Burn deep learning code for idiomatic patterns, performance, backend portability, and best practices. Use when asked for code review, refactoring suggestions, or "is this idiomatic". |
Burn Code Reviewer
Specialized skill for reviewing Burn code quality and best practices.
Review Checklist
1. Idiomatic Patterns
Module Definition
Config Pattern
Tensor Operations
2. Performance
Unnecessary Clones
Memory Efficiency
Backend Optimization
3. Backend Portability
Generic Code
Feature Flags
4. Error Handling
Graceful Failures
5. Testing
Test Coverage
Review Output Format
BURN CODE REVIEW
================
File: src/model.rs
ISSUES
------
[severity] Line XX: Description
Suggestion: How to fix
Reference: Relevant doc chunk
GOOD PRACTICES
--------------
- Line XX: Good use of config pattern
- Line YY: Efficient tensor operation chain
SUMMARY
-------
Issues: X critical, Y warnings, Z suggestions
Overall: [Assessment]
Severity Levels
- Critical: Will cause runtime errors or incorrect results
- Warning: Performance issue or non-idiomatic pattern
- Suggestion: Style improvement or minor optimization