frontend-react

Guides phased specification, implementation, and review of React components, hooks, and state.

Updated Mar 14, 2026
Ready to run
npx skills add https://github.com/jcg-admin/IACT-ui --skill frontend-react-jcg-admin
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: frontend-react
Source: https://github.com/jcg-admin/IACT-ui/tree/main/.claude/skills/frontend-react
Command: npx skills add https://github.com/jcg-admin/IACT-ui --skill frontend-react-jcg-admin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It gives developers a structured, phase-by-phase playbook for React work in the thyrox project, so component design, implementation, and quality review follow consistent conventions instead of ad-hoc decisions. ## Core Features & Use Cases - Diagnosis Checklist: Maps affected component trees, state management choices (useState, useContext, zustand/redux), routes, API dependencies, and accessibility requirements before coding. - Specification Templates: Defines what to document per component in requirements specs, including props, internal state, emitted events, and visual behavior criteria. - Implementation & Review Conventions: Prescribes an implementation order (types, base component, hooks, state/API wiring, tests, integration) and a closing checklist covering React Testing Library coverage, PropTypes/TypeScript typing, and lint cleanliness. - Use Case: When starting a new UI feature, invoke this Skill during design to produce a complete component spec, then follow its ordered steps to implement and verify the feature with tests. ## Quick Start Ask the assistant to apply the frontend-react skill to specify and implement a new React component with props, state, and tests for the current feature.

Frequently Asked Questions about frontend-react

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a React component specification before implementation?▼

Document each component's props with name, type, required status, and defaults, plus internal state variables, emitted callback events, and expected visual behavior. This skill provides that exact template for requirements specs during the design phase.

What order should I follow when implementing a React feature?▼

Define types or interfaces first, then build the base component without logic, add hooks and business logic, connect state and API layers, write unit tests, and finally integrate into the page or layout.

Should I use useState, useContext, or Redux for React state management?▼

Choose based on scope: useState for local component state, useContext for shared state across a subtree, and zustand or Redux for global application state. The diagnosis phase of this skill walks through that decision explicitly.

What should a React code review checklist include?▼

Verify every new component has React Testing Library tests, props have PropTypes or TypeScript types, no console.log or commented code remains, components over 200 lines are split, and no unused imports exist.

Does this skill cover React accessibility requirements?▼

Yes, the diagnosis phase explicitly includes accessibility checks such as ARIA labels and keyboard navigation when analyzing a frontend feature. These requirements are identified before implementation begins.