react-component-craft

react-component-craft is a skill for Claude Code, Codex from TheGoat395/Codex-Skills. It costs 45 tokens per session (390 once invoked), scanned A, a copy of nextjs-site-architecture, MIT.

A guide to building reusable React interface components, such as page sections, buttons, and other UI building blocks. React is a tool for creating interactive web interfaces.

In plain words
What is it for?
Use it when creating or improving React components for websites and apps, especially when the interface needs reusable patterns, keyboard support, focus states, or mobile layouts.
Why use it?
It helps keep components easy to change without making them overly complicated or brittle. It also covers responsive layouts, interaction states, accessibility, and checking the result on different screen sizes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/thegoat395/codex-skills/react-component-craft
Any agent
npx skills add TheGoat395/Codex-Skills --skill react-component-craft
Clone the repo
git clone --depth 1 https://github.com/TheGoat395/Codex-Skills

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thegoat395/codex-skills/react-component-craft.svg)](https://agentmods.dev/skills/thegoat395/codex-skills/react-component-craft)
Your own site
<a href="https://agentmods.dev/skills/thegoat395/codex-skills/react-component-craft"><img src="https://agentmods.dev/badge/skills/thegoat395/codex-skills/react-component-craft.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 390 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod 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 $0.00045 $0.00390
Opus 5 $0.00023 $0.00195
Sonnet 5 $0.00009 $0.00078
Haiku 4.5 $0.00005 $0.00039

Measured 5d ago against content hash c5c5d6d74f2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

react-component-craft scanned grade A with 0 findings 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to nextjs-site-architecture — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/react-component-craft/SKILL.md · 33 lines

What it actually says

React Component Craft

Overview

Build components that are reusable without becoming abstract sludge. Good components express local design patterns and keep the page easy to revise.

Website Nonnegotiables

  • Inspect before coding: structure, framework, homepage or main entry file, styling system, JavaScript or interaction system, assets, and build commands.
  • Before major changes, explain planned files and wait unless the user clearly says proceed, build, create, implement, or fix.
  • Use existing project conventions first. Explain major new dependencies before adding them.
  • Never ship generic visual work: no default card grids, placeholder copy, weak type, random gradients, stock-like media, or template heroes.
  • Build version 1, inspect the rendered result, improve spacing, type, hierarchy, motion, media, hover states, and responsiveness, then run checks again.
  • Run available lint, build, and test commands when possible. Report commands, changed files, and any untested areas honestly.
  • Check desktop and mobile. Respect accessibility, semantic markup, focus states, and reduced-motion preferences.

Workflow

  1. Read the user's brief and identify the website category, audience, content reality, visual references, and asset availability.
  2. Inspect the project before editing when code exists.
  3. Apply this skill's specific rules from references/react-component-craft-guide.md.
  4. Explain planned files before major changes unless the user has clearly said to proceed.
  5. Build, inspect, polish, and verify before final delivery.

Reference

Read references/react-component-craft-guide.md when this skill triggers for a concrete website build, redesign, visual review, or implementation plan.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 33 lines · 45 tokens per session scan A c5c5d6d74f2c

Subscribe to this mod's changes

react-component-craft is a skill published in the GitHub repository TheGoat395/Codex-Skills (121 stars, last pushed 4d ago), licensed MIT. It adds 45 tokens to every session and 390 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to nextjs-site-architecture, differing in 12 lines, and is treated as a copy.

Related

Other skills, from other repositories

product-motion-design

Design, implement, audit, or repair purposeful motion for React and web interfaces, including GSAP timelines, scroll choreography, micro-interactions, and optional Three.js scenes, with cleanup, responsive behavior, reduced-motion support, and browser verification.

divyanshu-iitian/agent-website-design-skills · 52 tokens

accessibility

Accessibility patterns for WCAG 2.2 compliance, keyboard focus management, React Aria component patterns, cognitive inclusion, native HTML-first philosophy, and user preference honoring. Use when implementing screen reader support, keyboard navigation, ARIA patterns, focus traps, accessible component libraries…

yonatangross/orchestkit · 65 tokens

motion-lexicon

Design, build, compose, implement, review, and contribute polished product interfaces with Motion Lexicon components and motion primitives. Use this skill when a user asks for a complete React page, landing page, dashboard, settings screen, or product surface in the Motion Lexicon visual language; asks what motion…

Ryan-yang125/motion-lexicon · 157 tokens

raqam

Teaches the raqam React number-input library — headless NumberField compound components, useNumberFieldState/useNumberField hooks, Intl presets, locale plugins (fa/ar/bn/hi/th), raqam/server formatting, validation, ScrubArea, accessibility, and form integration. Use when building or debugging currency/percent/unit…

47vigen/raqam · 102 tokens

headlessui

Headless UI - Unstyled, fully accessible UI components for React and Vue with built-in ARIA patterns.

bobmatnyc/claude-mpm-skills · 25 tokens

zero-visual-delta-handoff

Disziplin für visuell unsichtbare Refactorings und Komponenten-Migrationen – null geänderte Snapshot-Bilder gegen den Base-Branch als hartes Akzeptanzkriterium, mit lokaler deterministischer Prüfpipeline, Pixel-/DOM-Analyse und Companion-Plan als Handoff über Sessions. Trigger: "zero visual delta", "visuell…

public-ui/kolibri · 0 tokens