CODING2 Multi-file Components
Vite 6 Frontend Optimization & Plugin Architecture
Techniques for lightning-fast frontend development and sub-100kb production builds.
Author: TRIHEX Architecture Lab
•License: MIT
•Version: 2.1.0
Inert Code Verified · Heuristic Static Security ScannerHeuristic Scanner: LOW Risk
Heuristic static security scanner audited 2 files (2520 bytes). External code. Review before execution.
v2.1.0
Skill Files (2)
Compatible Runtimes
AntigravityClaude CodeCursor
SKILL.md·markdown
# Vite 6 Frontend Optimization & Plugin Architecture Instant hot module replacement (HMR), Rollup chunk splitting, asset inlining, and custom Vite plugins. ## Core Invariants & Rules 1. Configure manualChunks in rollupOptions to separate heavy libraries into cached vendor bundles. 2. Verify input validation and security boundaries on all executions. 3. Keep configurations modular, typed, and auditable. ## Operational Workflow 1. Analyze requirements against existing codebase patterns. 2. Apply standardized implementation templates. 3. Execute verification suites before deployment.