React Web
React web development skill enforcing test-first component and hook work with hooks, React Query, and Zustand.
- CCM score
- 52 of 100
- skills.sh installs
- 312
- GitHub stars
- 712
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers React component and hook development with a mandatory test-first workflow where test files are written before implementation files
- Includes component and hook test templates, a recommended project structure, and patterns for extracting logic into hooks
- Enforces an explicit props interface for every component and a halt when a component file is created without a matching test file
- Designed for React web projects that use React Query for server state and Zustand for global state
Install
$ npx -y skills add alinaqi/maggy --skill react-web -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
React Web Skill
Test-First Development (MANDATORY)
CRITICAL: Tests MUST be written BEFORE implementation code. This is non-negotiable for frontend components.
The TFD Workflow
1. Write test file first → Defines expected behavior
2. Run test (it fails) → Confirms test is valid
3. Write minimal code → Just enough to pass
4. Run test (it passes) → Validates implementation
5. Refactor if needed → Tests catch regressions
Component Development Order
# CORRECT ORDER - Test first
1. Create Button.test.tsx # Write tests for expected behavior
2. Run tests (they fail) # npm test -- Button
3. Create Button.tsx # Implement to pass tests
4. Run tests (they pass) # Verify implementation
5. Create Button.module.css # Style after logic works
# WRONG ORDER - Never do this
1. Create Button.tsx # ❌ No tests exist yet
2. Create Button.module.css # ❌ Still no tests
3. "I'll add tests later" # ❌ Tests never get written
Test File Structure (Create First)
// Button.test.tsx - CREATE THIS FIRST
import { render, screen, fireEvent } from '@testing-library/react';
import { Button } from './Button';
Details
- Repository
- github.com/alinaqi/maggy
- Categories
- Frontend & UI Code, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the react-web skill do?
The react-web skill guides React web development with hooks, React Query and Zustand. It enforces test-first development, so react-web expects a test file like Button.test.tsx to exist before any component is implemented.
How do I install the react-web skill?
Run npx -y skills add alinaqi/maggy --skill react-web -y in a project to install it. Once installed, react-web lets the agent follow its React patterns for components, hooks, state and data fetching.
Where does react-web fit in the Frontend and UI Code category?
react-web is listed in the Frontend and UI Code category next to vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. What sets react-web apart is its test-first workflow that requires tests to be written before the component code.
When does the react-web skill apply?
react-web is meant for working on React web components or pages. Its paths cover .tsx and .jsx files plus src/components, src/pages and src/app folders, so it applies to those files.
More from alinaqi/maggy
All 54- Site Architecture307
- Commit Hygiene306
- Web Content298
- Codex Review296
- Team Coordination286
- Typescript286
- Reddit Api282
- Cloudflare D1277
- Ms Teams Apps276
- Database Schema275
- Session Management273
- Ai Models271
- Firebase268
- Web Payments267
- Llm Patterns266
- Supabase Python264
- Agent Teams261
- Supabase Node258
- Existing Repo256
- Credentials254
- Aws Aurora252
- Medusa252
- Reddit Ads251
- Iterative Development250
Similar to React Web
More Frontend & UI Codeweb-developmenttencentcloudbase/skills1.8K installsEngineering-first Web frontend skill for React, Vue, and Vite that enforces type-safety and browser-verified delivery.
react-expertjeffallan/claude-skills6K installsSenior React skill for React 19 apps, covering Server Components, Suspense, and hooks-based architecture.
frontend-developersickn33/agentic-awesome-skills1.3K installsComprehensive React 19 and Next.js 15 frontend skill covering components, state, styling, performance, and accessibility.
react-nativealinaqi/maggy536 installsOpinionated React Native patterns covering project layout, hooks-based components, state choices, and testing.
react-patternssickn33/agentic-awesome-skills1.2K installsModern React guidance covering components, hooks, state, React 19, performance, and TypeScript typing.