react-component-development

react-component-development is a skill for Claude Code from PMDevSolutions/Aurelius. It costs 0 tokens per session (5,864 once invoked), scanned A, original, MIT.

A skill for building React user-interface components with TypeScript, a language that adds type checking to JavaScript. It covers components, custom hooks, state management, composition, error handling, forms, and React server components.

In plain words
What is it for?
Use it to build React components and hooks, manage component state, handle forms and errors, compose component APIs, and work with server components.
Why use it?
It gives developers consistent patterns for creating and refactoring React interfaces instead of designing each component structure from scratch.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the aurelius plugin — 31 skills, 56 agents, 3 hooks, 3 MCP servers shipped together

Good fit Use it to build React components and hooks, manage component state, handle forms and errors, compose component APIs, and work with server components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pmdevsolutions/aurelius/react-component-development
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PMDevSolutions/Aurelius --skill react-component-development
Clone the repo
git clone --depth 1 https://github.com/PMDevSolutions/Aurelius

Made for: Claude Code.

Or install aurelius, the plugin that ships this one along with the rest of its 31 skills, 56 agents, 3 hooks, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-component-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/react-component-development/github.svg)](https://agentmods.dev/skills/pmdevsolutions/aurelius/react-component-development)
Your own site
<a href="https://agentmods.dev/skills/pmdevsolutions/aurelius/react-component-development"><img src="https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/react-component-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for react-component-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/pmdevsolutions/aurelius/react-component-development"><img src="https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/react-component-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.05864
Opus 5.5 $0.00000 $0.02346
Sonnet 5.5 $0.00000 $0.01173
Haiku 4.5 $0.00000 $0.00586

Measured 1mo ago against content hash d57d3b9f016e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-component-development scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

fetch(url, { ...options, signal: abortController.signal })
.claude/skills/react-component-development/SKILL.md · 849 lines

How it starts

The opening of the file, as written. The whole thing — 849 lines — stays where its author put it; the contents beside it link to each section on GitHub.

React Component Development

Overview

This skill provides patterns, conventions, and best practices for building React components with TypeScript. It covers the full spectrum from primitive UI components to complex composed layouts, custom hooks, state management integration, and React 19 server components.

All patterns assume:

  • React 18+ or React 19 (server components)
  • TypeScript in strict mode
  • Tailwind CSS for styling
  • ESLint with @typescript-eslint and eslint-plugin-react-hooks

When to Use

Use this skill when:

  • Creating new React components
  • Refactoring existing components for better patterns
  • Implementing custom hooks
  • Setting up state management (local or global)
  • Building compound component APIs
  • Working with React 19 server components
  • Implementing form handling logic

Trigger phrases:

  • "Create a React component"
  • "Build a custom hook"
  • "Set up state management"
  • "TypeScript component pattern"
  • "Compound component"
  • "Server component"
  • "Form handling in React"

Component Patterns

Functional Component with TypeScript

The standard pattern for all components:

import { type HTMLAttributes, forwardRef } from "react";
import { cn } from "@/lib/utils";

interface CardProps extends HTMLAttributes<HTMLDivElement> {
  variant?: "default" | "outlined" | "elevated";
  padding?: "none" | "sm" | "md" | "lg";
}

const Card = forwardRef<HTMLDivElement, CardProps>(
  ({ className, variant = "default", padding = "md", children, ...props }, ref) => {
    return (
      <div
        ref={ref}
        className={cn(
          "rounded-lg",
          {
            "bg-card text-card-foreground": variant === "default",
            "border border-border bg-transparent": variant === "outlined",
            "bg-card text-card-foreground shadow-lg": variant === "elevated",
          },
          {
            "p-0": padding === "none",
            "p-4": padding === "sm",
            "p-6": padding === "md",
            "p-8": padding === "lg",
          },
          className
        )}
        {...props}
      >
        {children}
      </div>
    );
  }
);
Card.displayName = "Card";

export { Card, type CardProps };

Read the full file on GitHub · 849 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 849 lines · 0 tokens per session scan A d57d3b9f016e

Subscribe to this mod's changes

react-component-development is a skill published in the GitHub repository PMDevSolutions/Aurelius (9 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,864 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

stitch-nextjs-components

Converts a Stitch screen, a local HTML file, or a URL into production-ready Next.js 15 App Router components — Server vs Client split, dark mode via CSS variables, TypeScript strict, ARIA, and responsive mobile-first layout. Only the Stitch route needs an API key.

gabelul/stitch-kit · 64 tokens

client-setup

Create a vanilla tRPC client with createTRPCClient (), configure link chain with httpBatchLink/httpLink, dynamic headers for auth, transformer on links (not client constructor). Infer types with inferRouterInputs and inferRouterOutputs. AbortController signal support. TRPCClientError typing.

trpc/trpc · 63 tokens

trpc-router

Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.

trpc/trpc · 59 tokens

adapter-express

Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.

trpc/trpc · 67 tokens

custom-features

Implement a Table v9 plugin when built-ins and typed meta are insufficient. Covers FeatureMaps, runtime lifecycle hooks, prototypes, and a complete checked example.

TanStack/table · 35 tokens

fast-typescript-check

Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…

internet-development/www-sacred · 84 tokens