frontend-developer · qdhenry — Claude Code subagent: setup and use
frontend-developer — a React-focused subagent that builds and refactors TypeScript UI with testing and accessibility in mind. Use it for new interface work or difficult frontend changes.
no license ★ 1,357 updated 2026-03-01
.claude/agents/frontend-developer.mdWhat frontend-developer does
frontend-developer acts as an AI pair programmer for React work. It can build functional components, handle state with Context, Zustand, or Redux, shape responsive interfaces, and address accessibility. Jest and React Testing Library cover component tests, while Playwright is available for browser checks and end-to-end scenarios.
The subagent can inspect and edit project files, search the codebase, run shell commands, consult library documentation through Context7, and generate or refine UI with magic. Its workflow starts by examining existing patterns before implementation. TypeScript is required, React Hooks are the expected component model, and Tailwind CSS is the default styling choice.
A request with missing details should trigger clarifying questions before coding. The agent also expects a basic test structure alongside generated code, so a component-only answer does not match its stated constraints.
What it helps with
- build a React component in TypeScript
- refactor legacy UI to React Hooks
- add responsive Tailwind CSS styling
- prepare Jest and React Testing Library tests
- check accessibility and Playwright flows
Example prompts for the agent
- Build a product card in TypeScript with Tailwind CSS and add a Jest test structure.
- Refactor this React component to Hooks, keep its current API, and check its accessibility.
- Use Context7 to inspect the library docs, then create a Playwright end-to-end test for this flow.
How to install frontend-developer
Manually: put the files in place
.claude/agents/frontend-developer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/frontend-developer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/frontend-developer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about frontend-developer
How do I install frontend-developer in Claude Code?
Place the subagent file at .claude/agents/frontend-developer.md.
What does frontend-developer do?
It builds and refactors React components, handles state and responsive UI, and supports testing and accessibility work. Its tools include project editing, Context7, magic, and Playwright.
What rules does frontend-developer follow?
The code must use TypeScript and functional React components with Hooks. Tailwind CSS is the default styling method, and generated code should include a basic test structure.
Similar subagents
All subagents for Frontend and UI →frontend-developer by other authors comes first.