Borrowing it
Nothing to install: this file belongs to alirezaebrahimi5/ai-senior-engineer-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/alirezaebrahimi5/ai-senior-engineer-template/main/.claude/skills/react-best-practices/SKILL.mdgit clone --depth 1 https://github.com/alirezaebrahimi5/ai-senior-engineer-templateWrote 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/alirezaebrahimi5/ai-senior-engineer-template/react-best-practices)<a href="https://agentmods.dev/skills/alirezaebrahimi5/ai-senior-engineer-template/react-best-practices"><img src="https://agentmods.dev/badge/skills/alirezaebrahimi5/ai-senior-engineer-template/react-best-practices/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/alirezaebrahimi5/ai-senior-engineer-template/react-best-practices"><img src="https://agentmods.dev/badge/skills/alirezaebrahimi5/ai-senior-engineer-template/react-best-practices.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.00045 | $0.01619 |
| Opus 5 | $0.00023 | $0.00809 |
| Sonnet 5 | $0.00009 | $0.00324 |
| Haiku 4.5 | $0.00005 | $0.00162 |
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 10d 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.
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.
What ships with it
47 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/react-performance-guidelines.md 46 KB
- references/rules/_sections.md 1.5 KB
- references/rules/_template.md 631 B
- references/rules/advanced-event-handler-refs.md 960 B
- references/rules/advanced-use-latest.md 1.2 KB
- references/rules/async-api-routes.md 1.1 KB
- references/rules/async-defer-await.md 2.0 KB
- references/rules/async-dependencies.md 942 B
- references/rules/async-parallel.md 654 B
- references/rules/async-suspense-boundaries.md 1.6 KB
- references/rules/bundle-barrel-imports.md 2.3 KB
- references/rules/bundle-conditional.md 870 B
- references/rules/bundle-defer-third-party.md 922 B
- references/rules/bundle-dynamic-imports.md 791 B
- references/rules/bundle-preload.md 1.1 KB
- references/rules/client-event-listeners.md 1.9 KB
- references/rules/client-swr-dedup.md 1.1 KB
- references/rules/download_rules.sh 3.3 KB runs code
- references/rules/js-batch-dom-css.md 1.9 KB
- references/rules/js-cache-function-results.md 1.9 KB
- references/rules/js-cache-property-access.md 532 B
- references/rules/js-cache-storage.md 1.6 KB
- references/rules/js-combine-iterations.md 753 B
- references/rules/js-early-exit.md 1.1 KB
- references/rules/js-hoist-regexp.md 994 B
- references/rules/js-index-maps.md 837 B
- references/rules/js-length-check-first.md 1.7 KB
- references/rules/js-min-max-loop.md 2.1 KB
- references/rules/js-set-map-lookups.md 532 B
- references/rules/js-tosorted-immutable.md 1.7 KB
- references/rules/rendering-activity.md 564 B
- references/rules/rendering-animate-svg-wrapper.md 1.2 KB
- references/rules/rendering-conditional-render.md 983 B
- references/rules/rendering-content-visibility.md 822 B
- references/rules/rendering-hoist-jsx.md 819 B
- references/rules/rendering-hydration-no-flicker.md 2.3 KB
- references/rules/rendering-svg-precision.md 591 B
- references/rules/rerender-defer-reads.md 973 B
- references/rules/rerender-dependencies.md 827 B
- references/rules/rerender-derived-state.md 724 B
- references/rules/rerender-lazy-state-init.md 2.0 KB
- references/rules/rerender-memo.md 935 B
- references/rules/rerender-transitions.md 1.0 KB
- references/rules/server-cache-lru.md 1011 B
- references/rules/server-cache-react.md 679 B
- references/rules/server-parallel-fetching.md 1.5 KB
- references/rules/server-serialization.md 826 B
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.
- 10d ago First seen · 210 lines · 45 tokens per session scan A c456f09d2998
react-best-practices is a skill published in the GitHub repository alirezaebrahimi5/ai-senior-engineer-template (5 stars, last pushed 2mo ago), with no licence file. It adds 45 tokens to every session and 1,619 once invoked, about $0.0002 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.
Other skills, from other repositories
Frontend Performance Testing
Frontend performance testing covering bundle size analysis, render performance, animation frame rate, React re-render detection, and lazy loading verification.
vercel-react
React/Next.js performance — 70 rules (waterfalls, bundle, re-renders). Use when reviewing or writing React/Next.js code.
react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. 57 rules across 8 categories for writing, reviewing, and refactoring React code.
react_patterns_hooks
Curated Knowledge API for AI Agents — 68 MCP tools, 200+ skill packs, 46K chunks, semantic search over 670K vectors, 5-layer validation pipeline. Works with Claude Code, Cursor, Cline, Windsurf.
react-native-optimizations
Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.
react-performance-debugging
Diagnose and fix slow catalog, cart, compare-page, and API-route performance issues in Next.js by targeting upstream fetch patterns, non-blocking side effects, bundle size, and unnecessary rerenders without breaking required test hooks or instrumentation.