Rechercher

PythonReactSEOPDF
GitHub Skill

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.

rolandzwaga☆ 1 Étoiles du dépôt0 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Code Review

Review code for SolidJS, TypeScript, and component design issues.

Instructions

When reviewing code:

  1. Read the file(s) to be reviewed
  2. Check against patterns in the reference files below
  3. Report findings organized by severity

Reference Files

Load these for detailed patterns when needed:

Quick Checks

SolidJS Critical Issues
  • Props destructured (breaks reactivity)
  • Signal not called as function in JSX
  • createEffect used for derived state
  • Missing onCleanup for subscriptions
TypeScript Critical Issues
  • any type 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

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-02-03
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!