vite-project-structure

Community

Feature‑first Vite+React project scaffolding

Authormauriciodelrio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers often waste time configuring Vite + React projects from scratch, leading to inconsistent folder layouts, tangled imports, and missing validation for environment variables.

Core Features & Use Cases

  • Feature‑first architecture: Organizes code by business domain, not by file type.
  • Centralized router: Single router.tsx entry point with createBrowserRouter.
  • Barrel files and path aliases: Simplify imports using vite-tsconfig-paths and alias definitions like @features/*.
  • Shared utilities: Common components, hooks, and lib code live under shared/.
  • Environment validation: Uses Zod to validate VITE_* variables at build time.
  • Use case: Quickly spin up a new admin dashboard or e‑commerce frontend with a clean, scalable structure.

Quick Start

Ask the agent to generate a Vite + React SPA scaffold following the feature‑first layout with configured path aliases.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vite-project-structure
Download link: https://github.com/mauriciodelrio/delriodev-skills/archive/main.zip#vite-project-structure

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.