
React Web
Opinionated React setup that enforces test-first development with a hard rule: write the test file before touching any component code. Built around modern tooling like React Query for server state, Zustand for global state, and hooks-first patterns. The structure separates pure logic from presentation, pushing business logic into custom hooks while keeping components slim. Tests use Vitest and Testing Library with clear examples for components, hooks, and accessibility. If you're tired of "we'll add tests later" codebases, this actually blocks implementation until tests exist. Good for teams that want guardrails, probably annoying if you like to sketch in JSX first.
- skills.sh installs
- 234
- GitHub stars
- 685
- last updated
- Jun 3, 2026
Install
$ npx -y skills add alinaqi/claude-bootstrap --skill react-web --agent claude-codeInstalls into .claude/skills of the current project.
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';
Sponsors
Details
- Repository
- github.com/alinaqi/claude-bootstrap
- Category
- Frontend Development
- First seen
- Jun 3, 2026
More from alinaqi/claude-bootstrap
All 54- Site Architecture233
- Commit Hygiene229
- Web Content226
- Team Coordination221
- Codex Review214
- Typescript212
- Reddit Api209
- Ai Models201
- Session Management201
- Database Schema200
- Web Payments199
- Ms Teams Apps198
- Cloudflare D1196
- Supabase Python193
- Firebase192
- Llm Patterns190
- Credentials189
- Agent Teams186
- Aws Aurora186
- Medusa186
- Ticket Craft185
- Iterative Development184
- Supabase Node184
- Existing Repo182