building-react-web-application
Guides building Vite + React SPAs with TypeScript on a fixed stack (Tailwind CSS v4, TanStack Router file-based routes, Base UI, TanStack Query, TanStack Form, Zod) on structural foundations — structure, routing, styling, UI primitives and accessibility, data, async states, errors, forms, authentication, guards — turning whatever requirements exist into that implementation. Use when creating a Vite + React SPA, or changing code in an app whose `package.json` has `vite` and `@tanstack/react-router`, to follow these conventions.
How do I install this agent skill?
npx skills add https://github.com/cedmandocdoc/awesome-skills --skill building-react-web-applicationIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a structured framework for scaffolding and managing Vite-based React applications using standard industry tools like TanStack Router, TanStack Query, and Tailwind CSS. It includes utility scripts to automate dependency management and CLI execution, following development best practices including secure environment variable handling.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
React web application
Setup
| Item | Kind | Required | When | Done when | How |
|---|---|---|---|---|---|
| Node.js 22.12+ | user | required | All | node --version reports 22.12 or later | https://nodejs.org |
| Standing rule | auto | required | Scaffold new app | Root AGENTS.md has the line | Add - `<target_path>` follows building-react-web-application; load it before changing code there. to root AGENTS.md (create when missing) and to root CLAUDE.md when it exists without importing AGENTS.md; skip a file that has it |
Workflow
- Setup — for each Setup row whose When covers the request, in order: Done when holds → skip;
user→ stop and print its How when required, continue without it when optional;ask→ fill what the request answers, ask the rest together in one message, record each answer;autoandstatic→ run. - Contract — read web-app-contract.md.
- Recipe — match one Recipes row; open every doc in its Read column.
- A request that spans rows (a new route with a form) matches each of them.
Recipes
| Intent | Example phrasing | Read |
|---|---|---|
| Set up | "Set up building-react-web-application", "Is building-react-web-application ready?" | Setup — run Workflow step 1 for every row, then report each row's state |
| Scaffold | "Create a Vite + React app in apps/web", "Scaffold here", "Add linting and env handling to the app" | scaffolding-application.md, managing-package-installs.md, managing-environment.md, managing-linting.md |
| Structure | "Where does this module belong?", "Two features need this hook", "Move this component to the right layer" | managing-project-structure.md, managing-linting.md |
| Page / feature | "Add a settings page", "New orders feature", "Add a sidebar", "Add a /settings route" | managing-project-structure.md, creating-page.md |
| UI primitive | "Add a Dialog to src/ui", "Build the select from the spec" | managing-project-structure.md, creating-ui-component.md, managing-styling.md |
| Data | "Fetch orders from the API", "Add a mutation for checkout", "Format the order date" | managing-data.md, managing-environment.md |
| Async UI states | "Show the orders list with loading and error states", "Load more orders on scroll" | creating-async-component.md, managing-data.md |
| Errors / feedback | "Show a toast when saving fails", "Report crashes", "Add a 404 page" | managing-errors.md, managing-data.md |
| Form / multi-step | "Add a profile form", "Make checkout a three-step form" | creating-form.md, managing-data.md |
| Styling / theme | "Apply the design tokens", "Change the brand colors", "Add dark mode", "Use Inter as the body font" | managing-styling.md |
| Authentication | "Add the sign-in flow", "Attach the token to API calls", "Sign out on 401" | setting-up-authentication.md, managing-data.md |
| Auth guard | "Protect the dashboard", "Require profile setup after sign-in", "Add an invite link", "Restrict the team pages to members" | setting-up-auth-guard.md, setting-up-authentication.md, creating-page.md |
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/cedmandocdoc/awesome-skills/building-react-web-application">View building-react-web-application on skillZs</a>