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.
npx skills add pledgeandgrow/pledge-skills --skill reactgit clone --depth 1 https://github.com/pledgeandgrow/pledge-skillsWrote 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.
[](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/react)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/react"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/react/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.
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/react"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.01126 |
| Opus 5.5 | $0.00027 | $0.00450 |
| Sonnet 5.5 | $0.00014 | $0.00225 |
| Haiku 4.5 | $0.00007 | $0.00113 |
Grade A, and why
react-docs 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Expert (v19.x)
Official Documentation: https://react.dev/reference
Quick Reference
| Topic | File |
|---|---|
State hooks: useState, useReducer |
state-hooks.md |
Effect hooks: useEffect, useLayoutEffect, useInsertionEffect |
effect-hooks.md |
Context: createContext, useContext, Provider pattern |
context.md |
Ref hooks: useRef, useImperativeHandle |
ref-hooks.md |
Performance: useMemo, useCallback, memo, PureComponent |
performance.md |
Concurrent features: useTransition, useDeferredValue, useActionState, useOptimistic |
concurrent-features.md |
Other hooks: useId, useSyncExternalStore, useDebugValue, use |
other-hooks.md |
Suspense, lazy, streaming |
suspense.md |
Built-in components: Fragment, StrictMode, Profiler, Suspense |
components.md |
Forms: Actions, useFormStatus, progressive enhancement |
forms.md |
| React 19 new features | react-19.md |
| Rules of React: purity, hooks rules, ESLint | rules-of-react.md |
| Advanced patterns: compound, render props, HOCs, custom hooks | advanced-patterns.md |
React DOM: createRoot, hydration, portals, flushSync |
react-dom.md |
Core Philosophy
React is a declarative UI library built on three principles:
- Components — Independent, reusable pieces of UI
- Props — Read-only data flow from parent to child
- State — Mutable data that triggers re-renders when changed
Component Types
// Function Component (recommended)
function Greeting({ name }: { name: string }) {
return <h1>Hello, {name}</h1>
}
// With state
function Counter() {
const [count, setCount] = useState(0)
return <button onClick={() => setCount(c => c + 1)}>{count}</button>
}
Component Lifecycle
Mount → Render → Commit → (State Change → Re-render → Commit) → Unmount
↑ ↑
useEffect (after paint) useEffect cleanup → new effect
useLayoutEffect (before paint)
What ships with it
14 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.
- advanced-patterns.md 6.3 KB
- components.md 3.6 KB
- concurrent-features.md 6.9 KB
- context.md 5.8 KB
- effect-hooks.md 6.5 KB
- forms.md 4.9 KB
- other-hooks.md 3.5 KB
- performance.md 7.6 KB
- react-19.md 3.4 KB
- react-dom.md 3.4 KB
- ref-hooks.md 5.1 KB
- rules-of-react.md 3.4 KB
- state-hooks.md 6.7 KB
- suspense.md 3.1 KB
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.
- 1mo ago First seen · 152 lines · 68 tokens per session scan A 6b904396f50a
react-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 3mo ago), licensed MIT. It adds 68 tokens to every session and 1,126 once invoked, about $0.0003 per session on Opus 5.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-08-31.
Other skills, from other repositories
react-core
General React fundamentals - components and JSX, props and state, the core hooks (useState/useEffect/useRef/useMemo/useCallback/useContext), composition, conditional and list rendering, and controlled inputs. The canonical "depends on React" reference.
react-development
Comprehensive React development with hooks, components, state management, context, effects, and performance optimization based on official React documentation.
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json…
migrate-radix-to-base
Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.
react-expert
Expert-level React development with hooks, performance optimization, state management, and modern patterns. Use when the user mentions frontend, hooks, JSX, TypeScript, or Next.js, or when the task involves Modern React, State Management, Forms, or Performance Optimization.
frontend-ui-design
Use when design and build production-grade UI components using React, Vue, or vanilla HTML/CSS. Create responsive layouts, design systems, and accessible interfaces. Use when designing and build production-grade ui components using react, vue, or.