vadimgaidai

React Harness — Design skill for Claude Code

Design community

React Harness for Claude Code: convention skills plus a structure plugin (feature folders or Feature-Sliced Design) make Claude write React applications in one structure on a plain request, with manua.

How to install React Harness

This entry records only its repository, not the path inside it, so there is no exact command to give. Open vadimgaidai/react-harness and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What React Harness does

React Harness for Claude Code: convention skills plus a structure plugin (feature folders or Feature-Sliced Design) make Claude write React applications in one structure on a plain request, with manual spec-driven stages and an automatic loop on top.

Alternatives in Design

  • Frontend Design — Create distinctive, production-grade frontend interfaces with high design quality 94.1k ★
  • Grade — Generate a shareable HTML "Design Report Card" — letter grade, 8 dimensions, evidence (palette, type, rhythm) 3.6k ★
  • Heuristic — Produce a scored heuristic critique of the UI using Nielsen's 10 + 6 design laws + optional persona walkthroug 418 ★

README

React Harness

A harness for [Claude Code](https://claude.com/claude-code) that makes it write React applications in one structure. It is not a prompt you paste: hooks and skills sit between you and the model on every session, so a plain request for a feature comes out as the project would have been laid out by one experienced lead, and a file in the wrong place is refused before it is written.

The harness is tuned for the structure of the application and the code inside it. It does not decide how the app looks. Add any design tooling you like on top; we recommend Anthropic's `frontend-design` plugin for a new UI and the harness's own Figma agents for an existing design.

How the harness works

  • A hook routes the rules. At session start, and again when a code-writing subagent starts, a hook tells Claude which rule skills to load for the work at hand: a component, a query, a form, a route, a test. You type the task; the route is already there.
  • Skills carry the rules. The react-harness plugin ships nine convention skills, one per layer of the stack. They load into the session only when their layer is touched, so the rules for forms do not sit in the context while a route is written. They are plain markdown your team can read and change.
  • A hook guards the structure. feature-folders or feature-sliced-design holds the folder layout. Its skill answers where a file goes; its hook refuses a new file outside the layout, a wrong filename, a barrel import or a domain type inside a UI file, before the write lands. Pick the one that matches your project.
  • Stages are there when you want them. Six spec-driven commands and one automatic loop, all started by you, never by the model on its own. See Three ways to work.

The nine skills

Skill What it keeps
react State in the lowest place that reads it, no effect for what render can compute, one Suspense boundary per region
tanstack-query One way