installation-and-initial-setup

Initialize a React + TypeScript + Vite project with npm and configuration.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/wonkpentink/agent-skills-fe --skill installation-and-initial-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: installation-and-initial-setup
Source: https://github.com/wonkpentink/agent-skills-fe/tree/main/skills/installation-and-initial-setup
Command: npx skills add https://github.com/wonkpentink/agent-skills-fe --skill installation-and-initial-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Complete step-by-step guide for initializing the Frontend App project from an empty folder. This skill covers everything needed to set up a fully functional React + TypeScript + Vite development environment.

Core Features & Use Cases

  • Initialize npm project, creating a default package.json
  • Create a standardized folder structure (src, public, docs, assets) and basic config files
  • Configure TypeScript, Vite, and ESLint for a solid frontend baseline
  • Set up environment variables and scripts to support dev, staging, and production
  • Verify the development server and provide onboarding guidance for new developers

Quick Start

Follow the steps to bootstrap a new frontend app from an empty folder and get a dev server running.

Frequently Asked Questions about installation-and-initial-setup

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

FAQPage Schema
How do I set up a React TypeScript Vite project from scratch?

To set up a React TypeScript Vite project from scratch, initialize an npm project, create a standardized folder structure, configure TypeScript and Vite, wire environment variables, and verify the development server.

What is the standard folder structure for a new frontend React TypeScript project?

The standard frontend folder structure includes dedicated directories for src, public, docs, and assets. This baseline organization supports component code, static files, documentation, and media assets across development and staging environments.

How do I configure environment variables for dev, staging, and production in Vite?

Configuring environment variables for dev, staging, and production in Vite involves setting up specific npm scripts and environment files. This wiring ensures your React application targets the correct API endpoints and configuration values per environment.

Can I use this setup for onboarding new developers to an existing frontend environment?

Yes, you can use this setup for onboarding new developers to a frontend environment. It provides a complete baseline creation that verifies the development server and standardizes the configuration across dev, staging, and production.

What do I need to bootstrap a frontend app from an empty folder?

To bootstrap a frontend app from an empty folder, you need npm installed to initialize the project. The process creates the package.json, TypeScript and ESLint configurations, and a functional Vite development server.