react-development

react-development is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 81 tokens per session (314 once invoked), scanned A, original, MIT.

A set of React development rules for organizing components, defining TypeScript props, keeping styles beside components, and writing behavior-focused tests with React Testing Library.

In plain words
What is it for?
Use it when creating React components or hooks, organizing feature folders, styling components, defining props, and adding component tests.
Why use it?
It gives React code a consistent structure and helps catch problems through type checks, tests, linting, and builds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/monkilabs/opencastle/react-development
Any agent
npx skills add monkilabs/opencastle --skill react-development
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/react-development.svg)](https://agentmods.dev/skills/monkilabs/opencastle/react-development)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/react-development"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/react-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 314 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00081 $0.00314
Opus 5 $0.00041 $0.00157
Sonnet 5 $0.00016 $0.00063
Haiku 4.5 $0.00008 $0.00031

Measured 2d ago against content hash a30c1d3f599a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

react-development 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 2d 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.

src/orchestrator/skills/react-development/SKILL.md · 25 lines

What it actually says

React Development Standards

Conventions

  • One component per file: ComponentName.tsx inside its feature folder, co-located with ComponentName.module.scss and ComponentName.test.tsx.
  • Export the props type as ComponentNameProps; PascalCase component names.
  • Styling: CSS Modules (.module.scss), Sass variables/mixins pulled from the shared libraries, CSS custom properties for theming.
  • strict stays enabled in tsconfig.json; no as casts.
  • Tests: React Testing Library on the runner bound to the testing capability slot, mocking external deps and API calls.

Verification

Lint, typecheck, test, and build must all exit zero. Resolve the exact commands via the codebase-tool slot; .opencastle/project.instructions.md records the project's package manager and script names.

Security

Sanitize user-supplied HTML (e.g. dompurify) before rendering. Client-side validation is never sufficient on its own — see api-patterns for server validation.

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. 2d ago First seen · 25 lines · 81 tokens per session scan A a30c1d3f599a

Subscribe to this mod's changes

react-development is a skill published in the GitHub repository monkilabs/opencastle (61 stars, last pushed 8d ago), licensed MIT. It adds 81 tokens to every session and 314 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

testing-patterns

Testing patterns and principles. Unit, integration, mocking strategies.

DDS-Solutions/AI-TadPole-OS · 16 tokens

architecture-react-nextjs

Master of React and Next.js performance and rendering architecture. Enforces server/client boundaries, waterfall elimination, and render optimization.

Sn4kyGit/antigravity-project-starter · 29 tokens

react-native-testing

Write tests using React Native Testing Library (RNTL) v13 and v14 (@testing-library/react-native). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React…

callstack/react-native-testing-library · 134 tokens

react-testing

Write and review React/TypeScript tests for Sentry's frontend using Jest and React Testing Library. Use when adding or editing tests in static/ (.spec.tsx), writing component/hook tests, mocking API responses with MockApiClient, testing routing or network requests, or when asked to "write a frontend test", "add a…

getsentry/sentry · 86 tokens

authoring-data-quality-checks

Adds and runs data quality checks (dbt-test style assertions) on a project's warehouse tables and saved-query views: not-null, uniqueness, accepted values, referential integrity, row-count bounds, freshness, and custom HogQL. Use when asked to test a model, validate a view, check for nulls or duplicates, add data…

PostHog/posthog · 161 tokens

frontend-testing

Generate Vitest + React Testing Library tests for frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.

PageAI-Pro/ralph-loop · 48 tokens