code-review
Review code for SolidJS reactivity issues, TypeScript type safety problems, and component design anti-patterns. Use when asked to review code, check for issues, review a PR, or audit code quality.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Code Review
Review code for SolidJS, TypeScript, and component design issues.
Instructions
When reviewing code:
- Read the file(s) to be reviewed
- Check against patterns in the reference files below
- Report findings organized by severity
Reference Files
Load these for detailed patterns when needed:
- solidjs-patterns.md - Reactivity, signals, effects, stores
- typescript-patterns.md - Type safety, strict mode, unions
- component-design.md - SOLID principles, composition
Quick Checks
SolidJS Critical Issues
- Props destructured (breaks reactivity)
- Signal not called as function in JSX
-
createEffectused for derived state - Missing
onCleanupfor subscriptions
TypeScript Critical Issues
-
anytype usage - Missing exhaustive switch check
- Type assertion without validation
- Untyped external data
Component Critical Issues
- God component (>300 lines, multiple concerns)
- Prop drilling through 3+ levels
- Direct API imports (not injected)
Output Format
## Critical Issues
[Must fix - causes bugs]
## Anti-Patterns
[Should fix - violates best practices]
## Suggestions
[Optional improvements]
Project Rules (VSTGUI-Edit)
Also check:
- No React imports (only
solid-js) - No dynamic imports (static only)
- CSS modules only (
*.module.css) - Tests colocated as
*.spec.tsx
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-02-03
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!