skills/smithery.ai/react-rules

react-rules

Installation
SKILL.md

Cursor Rules for Saitre Language App

Core Principles

  1. Small Files: No component, hook, or service file should exceed 300 lines. If it does, break it down.
  2. Single Responsibility: Each component, hook, and service should do ONE thing well.
  3. Separation of Concerns: Business logic in services/hooks, UI in components, utilities in utils.
  4. Documentation: Always explain "why", not just "what". Use JSDoc for all exported functions and components.

Component Guidelines

Component Size

  • Maximum 300 lines per component file
  • If a component exceeds 200 lines, consider breaking it into smaller sub-components
  • Each sub-component should be 50-150 lines
Installs
1
First Seen
Mar 21, 2026
react-rules from smithery.ai