react-component-craft ยท diff
git:20260621.2caaecc to git:20260905.f7824ba
10 added, 14 removed. Audit A to A.
---
name: "react-component-craft"
- description: "Craft polished React components for websites and apps. Use for reusable sections, UI primitives, composition, props, state, responsive behavior, interaction states, accessibility, and avoiding monolithic or brittle frontend implementations."
+ description: "Build component behavior and presentation."
---
# React Component Craft
+ For substantial web work, reuse the [scoped web contract](../website-operating-rules/references/scoped-web-contract.md) when available; it replaces duplicated policy here. Match the requested scope and existing decisions; a missing optional sibling does not block this local procedure.
+
## Overview
Build components that are reusable without becoming abstract sludge. Good components express local design patterns and keep the page easy to revise.
- ## Website Nonnegotiables
-
- - Inspect before coding: structure, framework, homepage or main entry file, styling system, JavaScript or interaction system, assets, and build commands.
- - Before major changes, explain planned files and wait unless the user clearly says proceed, build, create, implement, or fix.
- - Use existing project conventions first. Explain major new dependencies before adding them.
- - Never ship generic visual work: no default card grids, placeholder copy, weak type, random gradients, stock-like media, or template heroes.
- - Build version 1, inspect the rendered result, improve spacing, type, hierarchy, motion, media, hover states, and responsiveness, then run checks again.
- - Run available lint, build, and test commands when possible. Report commands, changed files, and any untested areas honestly.
- - Check desktop and mobile. Respect accessibility, semantic markup, focus states, and reduced-motion preferences.
-
## Workflow
- 1. Read the user's brief and identify the website category, audience, content reality, visual references, and asset availability.
+ 1. Identify the requested component or architecture outcome, affected files and existing decisions; reuse established content and visual direction.
2. Inspect the project before editing when code exists.
3. Apply this skill's specific rules from `references/react-component-craft-guide.md`.
- 4. Explain planned files before major changes unless the user has clearly said to proceed.
- 5. Build, inspect, polish, and verify before final delivery.
+ 4. Explain material implementation choices while continuing authorized work.
+ 5. Implement when requested, inspect affected output, fix observed defects, and run the smallest decisive relevant checks.
## Reference
Read `references/react-component-craft-guide.md` when this skill triggers for a concrete website build, redesign, visual review, or implementation plan.
+
+ ## Ownership
+
+ Coordinate a component spanning several concerns. Use `react-component-composition` for boundaries/slots, `react-state-and-effects-discipline` for state, `react-form-patterns` for inputs, `react-accessible-components` for semantics and `react-responsive-components` for responsive interaction. Invoke only the owner needed by the actual work.