Webapp building

From QvvvvvvQ/skills_leaks · View interactive version

Webapp building is an AI agent skill from the GitHub repository QvvvvvvQ/skills_leaks. Tools for building modern React webapps with TypeScript, Tailwind CSS and shadcn/ui. Best suited for applications with complex UI components and state management. Supports optional templates for specialized requirement.

How to use this skill

Skill file

WebApp Building

Stack: React + TypeScript + Vite + Tailwind CSS + shadcn/ui

Workflow

  1. scripts/init-webapp.sh <website-title> [template-name] — Initialize project in /mnt/okcomputer/output/app
  1. Edit source code in src/ (or src/config.ts for templates)
  2. Build the React app
  3. Deploy the build output in /mnt/okcomputer/output/app/dist/

Quick Start

1. Initialize

# init project in /mnt/okcomputer/output/app with website title
bash scripts/init-webapp.sh <website-title> [template-name]
cd /mnt/okcomputer/output/app

AI Agent Notes:

This creates a fully configured project with:

2. Develop

Edit generated files in src/: page sections go in src/sections/, custom React hooks in src/hooks/, and TypeScript definitions in src/types/.

For templates: edit src/config.ts to customize content. Do not modify component files — all content configuration is in config.ts.

3. Build

# within project:
cd /mnt/okcomputer/output/app && npm run build 2>&1

Output (dist/):

Optimizations: Tree-shaking, code splitting, asset compression, minification, cache-busting hashes.

4. Deploy

Deploy the build output in /mnt/okcomputer/output/app/dist/

Debugging

  1. Fix source files
  2. npm run build
  3. Test dist/
  4. Redeploy

Reference

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.