react-best-practices

react-best-practices is a skill for Claude Code, Codex from abnegate/claudes. It costs 22 tokens per session (127 once invoked), scanned A, original, no licence file.

A set of guidelines for building React applications, including hooks, reusable component patterns, application state, and performance.

In plain words
What is it for?
Use it when designing React components, managing state, applying hooks, or improving application performance.
Why use it?
It gives developers guidance for making React code more consistent and avoiding common implementation problems.

Skill for Claude CodeCodex

Part of the skills plugin — 31 skills, 20 commands, 5 agents shipped together

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

Made for: Claude Code, Codex.

Or install skills, the plugin that ships this one along with the rest of its 31 skills, 20 commands, 5 agents.

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-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/abnegate/claudes/react-best-practices.svg)](https://agentmods.dev/skills/abnegate/claudes/react-best-practices)
Your own site
<a href="https://agentmods.dev/skills/abnegate/claudes/react-best-practices"><img src="https://agentmods.dev/badge/skills/abnegate/claudes/react-best-practices.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 127 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00022 $0.00127
Opus 5 $0.00011 $0.00063
Sonnet 5 $0.00004 $0.00025
Haiku 4.5 $0.00002 $0.00013

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

Security

Grade A, and why

react-best-practices 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 3d 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.

skills/react-best-practices/SKILL.md · 23 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 23 lines · 22 tokens per session scan A f7440a4ab92d

Subscribe to this mod's changes

react-best-practices is a skill published in the GitHub repository abnegate/claudes (2 stars, last pushed 3mo ago), with no licence file. It adds 22 tokens to every session and 127 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

react-best-practices

React development guidelines with hooks, component patterns, state management, and performance optimization.

myths-labs/muse · 22 tokens

changeset-pr

Create or update a .changeset/.md file for the current branch or PR in this repository, choose the correct package scope and release type, and verify the result against repo-specific Changesets config. Use when a publishable package changed, when a PR is missing a changeset, when an existing changeset needs…

module-federation/core · 88 tokens

gh-pr-metadata

Update the current GitHub PR title and body for this repository so they match the repo's pull request template and conventional-commit title style. Use when a PR title is vague or misformatted, when the PR body is missing required sections or checklist items, when Codex needs to normalize PR metadata before review or…

module-federation/core · 86 tokens

local-ci

Run this repository's local CI parity commands and pnpm run ci:local jobs. Use when validating a change against the same job shapes used in GitHub Actions, choosing the smallest local CI job for a package, workflow, E2E, Metro, devtools, bundle-size, or build-and-test change.

module-federation/core · 68 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

dagre-react-flow

Automatic graph layout using dagre with React Flow (@xyflow/react). Use when implementing auto-layout, hierarchical layouts, tree structures, or arranging nodes programmatically. Triggers on dagre, auto-layout, automatic layout, getLayoutedElements, rankdir, hierarchical graph.

Aniket-a14/SRA · 60 tokens