B
building-react-web-application
About building-react-web-application
A workflow skill for building and maintaining React web applications, intended for coding agents handling setup, features, and UI changes. It routes requests to focused project guidance and requires Node.js 22.12+.
Key features
- 01Request-to-recipe workflow
- 02React app scaffolding guidance
- 03Page, UI, and form guidance
- 04Data and async UI guidance
- 05Authentication and styling guidance
Use cases
- 01Scaffolding a Vite + React app
- 02Adding a route or feature page
- 03Building forms and async states
- 04Applying styling or authentication
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cedmandocdoc/ awesome-skills --skill building-react-web-applicationAfter installing, type/building-react-web-applicationin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
agents/openai.yamlreferences/creating-async-component.mdcreating-form.mdcreating-page.mdcreating-ui-component.mdmanaging-data.mdmanaging-environment.mdmanaging-errors.mdmanaging-linting.mdmanaging-package-installs.mdmanaging-project-structure.mdmanaging-styling.mdscaffolding-application.mdsetting-up-auth-guard.mdsetting-up-authentication.mdweb-app-contract.mdscripts/detect-pm.cjsinstall-packages.cjsrun-package.cjsDetails
From the project READMEReact 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 |
Comments
Markdown supported