claudiocebpaz

vite-react-best-practices

Comprehensive React and Vite SPA performance, architecture, and deployment guidelines. Use this skill when building, reviewing, or refactoring React applications built with Vite (SPA). Covers Vite-specific build configurations, static hosting requirements, and core React performance patterns.

claudiocebpaz 8 Updated 4mo ago
GitHub

Install

npx skillscat add claudiocebpaz/vite-react-best-practices

Install via the SkillsCat registry.

SKILL.md

Vite React Best Practices

A senior-level guide for building production-ready React Single Page Applications (SPAs) with Vite.

When to Apply

Reference these guidelines when:

  • Setting up a new Vite + React project
  • Configuring build pipelines and CI/CD for SPAs
  • Troubleshooting production build or caching issues
  • Refactoring React components for performance

Rule Categories

1. Vite SPA Deployment (CRITICAL)

2. React Core Performance

3. Architecture & Cleanup

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md