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 PyModel/react-frontend-skills --skill reactgit clone --depth 1 https://github.com/PyModel/react-frontend-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/pymodel/react-frontend-skills/react)<a href="https://agentmods.dev/skills/pymodel/react-frontend-skills/react"><img src="https://agentmods.dev/badge/skills/pymodel/react-frontend-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/pymodel/react-frontend-skills/react"><img src="https://agentmods.dev/badge/skills/pymodel/react-frontend-skills/react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.00009 | $0.02059 |
| Opus 5.5 | $0.00004 | $0.00824 |
| Sonnet 5.5 | $0.00002 | $0.00412 |
| Haiku 4.5 | $0.00001 | $0.00206 |
Grade A, and why
react 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 20d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- react — 88% identical, 46 lines differ
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React 19 Best Practices
Comprehensive performance optimization guide for React 19 applications. Contains 44 rules across 8 categories, prioritized by impact from critical (concurrent rendering, server components) to incremental (component patterns). Covers the React 19.3 stabilizations: <ViewTransition>, Fragment refs, and direct Context providers in Server Components.
Table of Contents
- Concurrent Rendering — CRITICAL
- 1.1 Avoid Suspense Fallback Thrashing — HIGH (prevents flickering, smoother UX)
- 1.2 Leverage Automatic Batching for Fewer Renders — HIGH (fewer renders in heavy updates)
- 1.3 Use useDeferredValue for Derived Expensive Values — CRITICAL (prevents jank in derived computations)
- 1.4 Use useTransition for Non-Blocking Updates — CRITICAL (keeps UI responsive during heavy updates)
- 1.5 Write Concurrent-Safe Components — MEDIUM-HIGH
- 1.6 Animate UI Changes with ViewTransition — MEDIUM (native View Transition API animations without manual class juggling)
- Server Components — CRITICAL
- 2.1 Avoid Client-Only Libraries in Server Components — MEDIUM-HIGH
- 2.2 Enable Streaming with Nested Suspense — MEDIUM-HIGH
- 2.3 Fetch Data in Server Components — CRITICAL (less client JS, no client waterfalls)
- 2.4 Minimize Server/Client Boundary Crossings — CRITICAL (reduces serialization overhead, smaller bundles)
- 2.5 Pass Only Serializable Props to Client Components — HIGH (prevents runtime errors, ensures correct hydration)
- 2.6 Use Composition to Mix Server and Client Components — HIGH (maintains server rendering for static content)
- 2.7 Render Context Providers in Server Components — LOW-MEDIUM (removes provider-wrapper components from the client tree; 19.3)
- Actions & Forms — HIGH
- 3.1 Use Form Actions Instead of onSubmit — HIGH (progressive enhancement, simpler code)
- 3.2 Use useActionState for Form State Management — HIGH (declarative form handling, automatic pending states)
- 3.3 Use useFormStatus for Submit Button State — MEDIUM-HIGH
- 3.4 Use useOptimistic for Instant UI Feedback — HIGH (instant perceived response, auto-rollback on failure)
- 3.5 Validate Forms on Server with Actions — MEDIUM (secure validation, consistent error handling)
- Data Fetching — HIGH
- 4.1 Fetch Data in Parallel with Promise.all — MEDIUM-HIGH
- 4.2 Use cache() for Request Deduplication — HIGH (eliminates duplicate fetches per render)
- 4.3 Use Error Boundaries with Suspense — MEDIUM (graceful error recovery, isolated failures)
- 4.4 Use Suspense for Declarative Loading States — HIGH (cleaner code, coordinated loading UI)
- 4.5 Use the use() Hook for Promises in Render — HIGH (cleaner async component code, Suspense integration)
- State Management — MEDIUM-HIGH
- 5.1 Calculate Derived Values During Render — MEDIUM (eliminates sync bugs, simpler code)
- 5.2 Split Context to Prevent Unnecessary Re-renders — MEDIUM (reduces re-renders from context changes)
- 5.3 Use Functional State Updates for Derived Values — MEDIUM-HIGH
- 5.4 Use Lazy Initialization for Expensive Initial State — MEDIUM-HIGH
- 5.5 Use useReducer for Complex State Logic — MEDIUM (clearer state transitions, easier testing)
- Memoization & Performance — MEDIUM
- 6.1 Avoid Premature Memoization — MEDIUM (memoization has overhead, measure first)
- 6.2 Leverage React Compiler for Automatic Memoization — MEDIUM (automatic optimization, less manual code)
- 6.3 Use React.memo for Expensive Pure Components — MEDIUM (skips re-render when props unchanged)
- 6.4 Use useCallback for Stable Function References — MEDIUM (prevents child re-renders from reference changes)
- 6.5 Use useMemo for Expensive Calculations — MEDIUM (skips expensive recalculation on re-renders)
- Effects & Events — MEDIUM
- 7.1 Always Clean Up Effect Side Effects — MEDIUM (prevents memory leaks, stale callbacks)
- 7.2 Avoid Effects for Derived State and User Events — MEDIUM (eliminates sync bugs, simpler code)
- 7.3 Avoid Object and Array Dependencies in Effects — MEDIUM (prevents infinite loops, unnecessary re-runs)
- 7.4 Use useEffectEvent for Non-Reactive Logic — MEDIUM (separates reactive from non-reactive code)
- 7.5 Use useSyncExternalStore for External Subscriptions — MEDIUM (correct subscription handling, SSR compatible)
- 7.6 Use use(browser()) for Client-Only Rendering — MEDIUM (no mounted-flag double render, React 19.3+)
- Component Patterns — LOW-MEDIUM
- 8.1 Choose Controlled vs Uncontrolled Appropriately — LOW-MEDIUM
- 8.2 Prefer Composition Over Props Explosion — LOW-MEDIUM
- 8.3 Use Key to Reset Component State — LOW-MEDIUM
- 8.4 Use Render Props for Inversion of Control — LOW-MEDIUM
- 8.5 Attach DOM Behavior to Siblings with Fragment Refs — LOW-MEDIUM (ref access to child DOM without wrapper elements; stable in 19.3)
What ships with it
45 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.
- references/_sections.md 1.6 KB
- references/conc-automatic-batching.md 1.8 KB
- references/conc-concurrent-safe.md 1.5 KB
- references/conc-suspense-fallback.md 1.7 KB
- references/conc-use-deferred-value.md 1.7 KB
- references/conc-use-transition.md 2.3 KB
- references/conc-view-transitions.md 2.5 KB
- references/data-cache-deduplication.md 1.6 KB
- references/data-error-boundaries.md 1.7 KB
- references/data-parallel-fetching.md 1.8 KB
- references/data-suspense-data-fetching.md 1.6 KB
- references/data-use-hook.md 2.5 KB
- references/effect-avoid-unnecessary.md 1.6 KB
- references/effect-cleanup.md 1.6 KB
- references/effect-object-dependencies.md 1.6 KB
- references/effect-use-browser-only.md 2.9 KB
- references/effect-use-effect-event.md 2.0 KB
- references/effect-use-sync-external-store.md 2.2 KB
- references/form-actions.md 1.8 KB
- references/form-use-action-state.md 2.0 KB
- references/form-use-form-status.md 1.6 KB
- references/form-use-optimistic.md 1.8 KB
- references/form-validation.md 2.0 KB
- references/memo-avoid-premature.md 1.7 KB
- references/memo-compiler.md 2.3 KB
- references/memo-react-memo.md 1.9 KB
- references/memo-use-callback.md 1.7 KB
- references/memo-use-memo.md 1.6 KB
- references/rcomp-composition.md 1.6 KB
- references/rcomp-controlled-components.md 1.6 KB
- references/rcomp-fragment-refs.md 2.3 KB
- references/rcomp-key-reset.md 1.7 KB
- references/rcomp-render-props.md 1.6 KB
- references/rsc-avoid-client-only-libs.md 1.5 KB
- references/rsc-composition-pattern.md 1.8 KB
- references/rsc-context-provider.md 1.9 KB
- references/rsc-data-fetching-server.md 1.6 KB
- references/rsc-serializable-props.md 1.8 KB
- references/rsc-server-client-boundary.md 1.8 KB
- references/rsc-streaming.md 1.5 KB
- references/rstate-context-optimization.md 1.8 KB
- references/rstate-derived-values.md 1.8 KB
- references/rstate-functional-updates.md 1.5 KB
- references/rstate-lazy-initialization.md 1.8 KB
- references/rstate-use-reducer.md 1.8 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.
- 20d ago Changed · +11 lines · -54 tokens per session d4746062d6ff
- 27d ago Changed · +3 lines · +4 tokens per session 2a2406270610
- 1mo ago First seen · 74 lines · 59 tokens per session scan A 2be84d7fdaa2
react is a skill published in the GitHub repository PyModel/react-frontend-skills (37 stars, last pushed 3d ago), licensed MIT. It adds 9 tokens to every session and 2,059 once invoked, about $0.0000 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
lov-install-tanstack-query
Initialize or refactor a frontend project to use TanStack Query as the unified server-state layer. Use when the user asks to install TanStack Query, initialize query infrastructure, migrate ad hoc fetch/invoke/useEffect request state, standardize query keys, or make app network requests share one cache model. Also…
lov-kill-emoji
A UI cleanup tool that replaces unsuitable emoji in visible interface elements with matching icons or short text. It checks the surrounding meaning before changing anything.
lov-video-chapter-design
Refine chapter boundaries, titles, colors, typography, placement, and progress behavior in the bundled React video chapter editor. Use when the user wants to preview, debug, beautify, or customize a video chapter progress bar.
extract-source-sample
Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…
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…
web-artifacts-builder
Suite of tools for creating elaborate, multi-component Prismer HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.