init-frontend

Initialize a React frontend project with Vite, TypeScript, and Vitest.

13|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/fredericvilcot/clean-claude --skill init-frontend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-frontend
Source: https://github.com/fredericvilcot/clean-claude/tree/main/.claude/skills/init-frontend
Command: npx skills add https://github.com/fredericvilcot/clean-claude --skill init-frontend

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the setup of a new frontend project, ensuring it adheres to modern craftsmanship principles from the start, saving developers time and reducing boilerplate.

Core Features & Use Cases

  • Project Scaffolding: Initializes a new React project using Vite, TypeScript, and Vitest.
  • Configuration: Sets up strict TypeScript, Vite path aliases, and a robust testing environment.
  • Structure: Implements a clean, feature-based project directory structure.
  • Use Case: Kickstart a new React application with best practices for testing, type safety, and maintainability already in place.

Quick Start

Use the init-frontend skill to bootstrap a new React project named 'my-app'.

Frequently Asked Questions about init-frontend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap a React project with Vite and TypeScript using best practices?

Bootstrapping a React project with Vite and TypeScript is handled by this skill, which enforces craftsmanship principles by configuring strict type safety, Vite path aliases, and a clean feature-based directory structure with Vitest.

What is the best way to set up Vitest in a new React application?

The best way to set up Vitest in a new React application is using a scaffolding skill that configures the testing environment alongside Vite and TypeScript, providing base test utilities and a robust foundation from the start.

Can I add Tailwind CSS and ESLint during React project scaffolding?

Yes, you can add Tailwind CSS and ESLint during React project scaffolding. The setup supports optional enhancements including Prettier, React Router, and MSW for API mocking, integrating them into the initial configuration.

Does this React project setup include API mocking with MSW?

Yes, this React project setup includes API mocking with MSW as an optional enhancement. It configures Mock Service Worker alongside the base Vite and TypeScript environment to help you test network requests.

Why configure strict TypeScript when initializing a frontend project?

Configuring strict TypeScript when initializing a frontend project enforces craftsmanship principles by catching type errors early. This setup ensures maintainability and robust type safety across your React application from the start.