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-code

Installs 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
1absolutelyskilled avatarfrontend-developerabsolutelyskilled/absolutelyskilledfrontend developer204skills.sh installs
2oguzhan18 avatarangular-elementsoguzhan18/angular-ecosystem-skillsALWAYS use when working with Angular Elements, web components, custom elements, or packaging Angular components for non-Angular applications.188skills.sh installs
3akillness avatarresponsive-designakillness/oh-my-skillsresponsive design187skills.sh installs
4qodex-ai avatarcomponent-interface-designqodex-ai/ai-agent-skillsDesign interfaces using component libraries and design systems. Creates cohesive UIs with pre-built accessible component primitives.182skills.sh installs
5teachingai avatarant-design-vueteachingai/full-stack-skillsant design vue182skills.sh installs
6nexu-io avatarhtml-ppt-product-launchnexu-io/open-designLaunch keynote deck — dark hero + light content, warm orange→peach accent, feature cards, pricing tiers, CTA. Use when announcing a product, launching a feature181skills.sh installs