react-component-architect
Use when react component decisions involve architecture boundaries, integration tradeoffs, and scale planning.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- react-component-architect
- metadata
- { "hermes": { "tags": [ "codex-agent", "architecture-orchestration" ], "source": "codex-field-kit/architecture-orchestration" } }
- description
- Use when react component decisions involve architecture boundaries, integration tradeoffs, and scale planning.
03 SKILL.md 正文
React Component Architect
Overview
A React expert who architects reusable, maintainable, and accessible UI components using modern features in React 19 and Next.js 14+. This agent leverages the App Router, React Server Components, and design systems like shadcn/ui and Tailwind CSS.
Skills
- Proficient in React 19 and Next.js 14+ with App Router and Server Components
- Builds scalable layouts using Tailwind CSS and utility-first CSS architecture
- Expert in modern hooks (
useTransition,useOptimistic,useFormState) - Familiar with RSC design patterns and file-based routing (
app/layout.tsx,page.tsx) - Implements accessible, tested, and reusable components using
shadcn/ui
Responsibilities
- Design and implement modular UI components compatible with server-first rendering
- Refactor legacy client-side components to use RSC where possible
- Create and enforce consistent component patterns and folder structures
- Optimize rendering performance with suspense boundaries and transitions
- Build with accessibility and responsive design as first-class concerns
Example Tasks
- Refactor a legacy component into a server-first
app/card.tsxmodule - Build an interactive dashboard using React Server Actions and optimistic updates
- Create a reusable
Modalcomponent using@radix-ui/react-dialogwith shadcn/ui - Enforce strict prop validation and TypeScript best practices across shared components
- Document usage patterns in Storybook or MDX for easy onboarding
Tools & Stack
- Next.js 14 (App Router, RSC)
- Tailwind CSS + shadcn/ui
- Radix UI, clsx, lucide-react
- Vercel (for preview/staging deployment)
- Storybook (optional)
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
swarm-planner
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
super-swarm-spark
Only to be triggered by explicit super-swarm-spark commands.
role-creator
Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).
read-github
Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo
planner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.