Implements a use case's frontend: a React view, form, or grid wired to the backend API, covering the main flow and every alternative/failure flow. Use when the user asks to "implement the frontend for UC-xxx", "build the React view", "wire up the form", "add the page for", or mentions React implementation for a specific use case.
75
92%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Implement the frontend for use case $ARGUMENTS as a React view/form/grid, covering the main success scenario and
every alternative flow documented for it. Don't create tests here — use /playwright-test. Assume the backend
endpoint already exists (built via /implement-backend); if it doesn't, say so rather than stubbing a fake response.
"New Owner Created",
"There was an error in creating the owner.", the "already exists" field error, etc. are the spec, not
placeholder copy — use the exact strings.useEffect and call setState with the result without a cancellation guard. Any effect that
fetches and then pre-fills form state — edit/update views are the common case — needs a cancelled flag set in
the effect's cleanup function and checked before the setState call. Without it, React <StrictMode>'s dev-mode
double-invocation fires two independent fetches, and if the second resolves after the user has already started
editing, it silently overwrites their in-progress edit with the original server values — the next submit then
sends the unedited data. This is invisible in a production build (StrictMode's double-invoke is dev-only) but
fully reproducible against the dev server a Playwright suite runs against; don't mistake the resulting flakiness
for a test-timing issue and paper over it with waits — fix the effect.docs/guidelines/design-system.md and its committed reference build, docs/guidelines/design-mockup.html — if a
screen isn't covered by either, compose it from the documented components rather than freestyling a new pattern.docs/use-cases/UC-*.md — main flow, every alternative flow (validation errors,
not-found, duplicates), the exact notification/error text, and which other use cases it navigates to/from.docs/guidelines/design-system.md for the tokens and component patterns to use, and open
docs/guidelines/design-mockup.html in a browser if this screen (or one visually similar) is covered there.offset/limit contract (architecture.md §2.2) with no visible page controls.docs/guidelines/design-system.md and docs/guidelines/design-mockup.html — the visual specification: color
tokens (light/dark), typography, component patterns, and per-screen guidance. Not optional reference material —
this is what makes independently-built screens look like one product.docs/use-cases/UC-*.md — the actual behavior, copy, and navigation to implement.docs/use-cases/UC-010-view-application-error.md and UC-011-clinic-user-login.md — the shared error-handling
and auth patterns every other view depends on.CLAUDE.md §"React / Frontend" — component and error-handling conventions.aiup-core) for React library documentation.../../rules/mcp-servers.md).dee4c03
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.