mcpField
B
building-react-web-application

building-react-web-application

github.com/cedmandocdocDevelopment085 installsUpdated today
Repository

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

  1. 01Request-to-recipe workflow
  2. 02React app scaffolding guidance
  3. 03Page, UI, and form guidance
  4. 04Data and async UI guidance
  5. 05Authentication and styling guidance

Use cases

  1. 01Scaffolding a Vite + React app
  2. 02Adding a route or feature page
  3. 03Building forms and async states
  4. 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-application

After installing, type/building-react-web-applicationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
creating-async-component.md
creating-form.md
creating-page.md
creating-ui-component.md
managing-data.md
managing-environment.md
managing-errors.md
managing-linting.md
managing-package-installs.md
managing-project-structure.md
managing-styling.md
scaffolding-application.md
setting-up-auth-guard.md
setting-up-authentication.md
web-app-contract.md
scripts/
detect-pm.cjs
install-packages.cjs
run-package.cjs

Details

From the project README

React web application

Setup

ItemKindRequiredWhenDone whenHow
Node.js 22.12+userrequiredAllnode --version reports 22.12 or laterhttps://nodejs.org
Standing ruleautorequiredScaffold new appRoot AGENTS.md has the lineAdd - `<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

  1. 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; auto and static → run.
  2. Contract — read web-app-contract.md.
  3. 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

IntentExample phrasingRead
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