Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

vite-react-best-practices

БесплатноБез исполняемых скриптовНе проверен

Comprehensive React 19 and Vite 8 SPA performance, architecture, and deployment guidelines. Use this skill when building, reviewing, or refactoring React…

claudiocebpazот claudiocebpaz★ 16 звёзд на GitHub

Об этом скилле

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

Priority Table

Impact Rules
CRITICAL Static Rewrites, Caching Strategy
HIGH Build Validation, Environment Variables, Route Splitting, Server State
MEDIUM Memoization, Image Optimization, Colocation, Anti-Patterns: Import from Dist, Troubleshooting

Rule Categories

1. Vite SPA Deployment (CRITICAL)

2. React Core Performance

3. Architecture & Cleanup

How to Use

  1. Pick the rule that matches the task from the categories above, or from the priority table if you need to know what must not be skipped.
  2. Open the rule file in rules/. Each file is self-contained: frontmatter with impact and tags, the rationale, an incorrect example, a correct example, and a References section.
  3. Load only the rules relevant to the task. CRITICAL rules apply to every Vite SPA; HIGH rules apply to most production apps; MEDIUM rules apply when the area is being changed.
  4. When a rule references another rule, follow the relative link inside rules/.
Stack Version
React 19.3.1
Vite 8.3.5 (Rolldown + Oxc)
React Router 8.5.1
TanStack Query 5.105.1
React Compiler babel-plugin-react-compiler 1.x
Node (Vite 8) `^20.19.0

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md (also available as CLAUDE.md).

Полный SKILL.md на GitHub

Установить vite-react-best-practices в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENTS.mdCHANGELOG.mdCLAUDE.mdREADME.mdmarketplace.jsonmetadata.json

FAQ

Что делает скилл vite-react-best-practices?

Comprehensive React 19 and Vite 8 SPA performance, architecture, and deployment guidelines. Use this skill when building, reviewing, or refactoring React applications built with Vite (SPA). Covers Vite 8 build and static hosting requirements, React Router 8 route-level code splitting, TanStack Query v5 server state, React Compiler memoization, and core React performance patterns.

Как установить скилл vite-react-best-practices?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл vite-react-best-practices запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить vite-react-best-practices с