Skip to content
Back to skills

Modern Web App

ASecurity

Tools for building modern React webapps with TypeScript, Tailwind CSS and shadcn/ui. Best suited for applications with complex UI components and state management.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentstypescriptgobashreactnodedebugging

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add YYC-Cube/YYC3-AI-Agent-Archive --skill modern-web-app --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Modern Web App?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Modern Web App
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yyc-cube-modern-web-app/badge)](https://www.skillsdirectory.com/skills/yyc-cube-modern-web-app)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: modern-web-app
description: Tools for building modern React webapps with TypeScript, Tailwind CSS and shadcn/ui. Best suited for applications with complex UI components and state management.
category: development-code
version: 1.0.0
---

# modern-web-app

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

## Workflow

1. `scripts/init-webapp.sh <website-title> [output-dir]` - Initialize project
2. Edit source code in `src/`
3. Build the React app
4. Deploy the build output in `dist/`

## Quick Start

### 1. Initialize

```bash
# Init project in ./app (default) with website title
bash scripts/init-webapp.sh "My Website"

# Or specify custom output directory
bash scripts/init-webapp.sh "My Website" ./my-project

cd ./app  # or your custom directory
```

**AI Agent Notes**:
- Default project path is `./app` (relative to current working directory)
- Second argument allows custom output directory
- Non-interactive execution with auto-confirm

This creates a fully configured project with:

- React + TypeScript (via Vite)
- Tailwind CSS 3.4.19 with shadcn/ui theming system
- Path aliases (`@/`) configured
- 40+ shadcn/ui components pre-installed
- All Radix UI dependencies included
- Production build optimization with Vite
- Node 20+ compatibility (auto-detects and pins Vite version)

### 2. Develop

Edit generated files in `src/`:
- Page sections: `src/sections/`
- Custom React hooks: `src/hooks/`
- TypeScript definitions: `src/types/`

### 3. Build

```bash
cd ./app && npm run build 2>&1
```

**Output** (`dist/`):
- `index.html` - Entry point
- `assets/index-[hash].js` - Bundled JS
- `assets/index-[hash].css` - Bundled CSS
- Optimized images, fonts, other assets

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

### 4. Deploy

Deploy the build output in `<project-dir>/dist/`

## Debugging

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

## Reference

- [shadcn/ui Components](https://ui.shadcn.com/docs/components)

Files in this skill

  • SKILL.md2 KB
  • scripts/.prepare-template.sh240 B
  • scripts/init-webapp.sh4.7 KB
  • scripts/template/README.md2.5 KB
  • scripts/template/components.json461 B
  • scripts/template/eslint.config.js616 B
  • scripts/template/index.html291 B
  • scripts/template/package.json2.5 KB
  • scripts/template/postcss.config.js80 B
  • scripts/template/src/App.css606 B
  • scripts/template/src/App.tsx428 B
  • scripts/template/src/components/ui/accordion.tsx2 KB
  • scripts/template/src/components/ui/alert-dialog.tsx3.8 KB
  • scripts/template/src/components/ui/alert.tsx1.6 KB
  • scripts/template/src/components/ui/aspect-ratio.tsx280 B
  • scripts/template/src/components/ui/avatar.tsx1.1 KB
  • scripts/template/src/components/ui/badge.tsx1.6 KB
  • scripts/template/src/components/ui/breadcrumb.tsx2.3 KB
  • scripts/template/src/components/ui/button-group.tsx2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.