review-react-best-practices

review-react-best-practices is a skill for Claude Code, Codex from Heyvhuang/ship-faster. It costs 73 tokens per session (641 once invoked), scanned A, original, MIT.

A review guide for improving the performance and reliability of React and Next.js applications, including how they fetch data, load code, render pages, and update components.

In plain words
What is it for?
Use it when building or refactoring React components, reviewing Next.js pages, diagnosing slow development or startup times, or checking for rendering and data-fetching problems.
Why use it?
It provides a repeatable way to investigate slow pages, large bundles, unnecessary requests, extra renders, and browser-server mismatches. Its rules are ordered so the largest performance risks are checked first.

Skill for Claude CodeCodex

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

Good fit Use it when building or refactoring React components, reviewing Next.js pages, diagnosing slow development or startup times, or checking for rendering and data-fetching problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heyvhuang/ship-faster/review-react-best-practices
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.

Any agent
npx skills add Heyvhuang/ship-faster --skill review-react-best-practices
Clone the repo
git clone --depth 1 https://github.com/Heyvhuang/ship-faster

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/heyvhuang/ship-faster/review-react-best-practices/github.svg)](https://agentmods.dev/skills/heyvhuang/ship-faster/review-react-best-practices)
Your own site
<a href="https://agentmods.dev/skills/heyvhuang/ship-faster/review-react-best-practices"><img src="https://agentmods.dev/badge/skills/heyvhuang/ship-faster/review-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.

agentmods 80×15 button for review-react-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/heyvhuang/ship-faster/review-react-best-practices"><img src="https://agentmods.dev/badge/skills/heyvhuang/ship-faster/review-react-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 641 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.00641
Opus 5 $0.00036 $0.00320
Sonnet 5 $0.00015 $0.00128
Haiku 4.5 $0.00007 $0.00064

Measured 11d ago against content hash 64c2ddc68e95, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

review-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 11d 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/review-react-best-practices/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

React Best Practices Review (Performance-First)

Use this skill to turn “React feels slow / Next.js page is heavy / too many requests” into a repeatable, prioritized review.

This skill is intentionally built like a rule library:

  • SKILL.md: how to review + how to search rules
  • references/rules/*: one rule per file (taggable, sortable, easy to evolve)

When to apply

Use when:

  • Building or refactoring React components
  • Working in Next.js (App Router) on RSC boundaries, Server Actions, data fetching
  • Reviewing PRs for performance regressions
  • Bundle size increases / slow HMR / cold start issues
  • UI jank / unnecessary re-renders / hydration issues

Review method (prioritized)

  1. Start with CRITICAL rules first (waterfalls + bundle).
  2. Only then go to HIGH (server patterns + serialization).
  3. Then MEDIUM (re-render + rendering).
  4. Then LOW-MEDIUM micro-optimizations (JS hot paths).

Section ordering lives in: references/rules/_sections.md

How to use the rules efficiently

Search by keyword

rg -n "waterfall|Promise\\.all|defer await" references/rules
rg -n "barrel|optimizePackageImports|dynamic" references/rules
rg -n "cache\\(|React\\.cache|serialization|RSC" references/rules
rg -n "memo\\(|useMemo|useCallback|dependencies" references/rules

Search by tag

Each rule has tags: in YAML frontmatter.

rg -n "tags:.*bundle" references/rules
rg -n "tags:.*rerender" references/rules

When reviewing code, output:

  1. Summary (1 paragraph)
  2. Critical fixes (must-fix, biggest wins)
  3. High impact (should-fix)
  4. Medium / Low (nice-to-have)

For each issue include:

  • Rule name (and file under references/rules/)
  • Location (path:line)
  • Why it matters (latency / bundle / CPU / UX)
  • Minimal fix direction (prefer small diffs)

If running in a Ship Faster run directory, persist the report to:

  • run_dir/evidence/react-best-practices-review.md

Read the full file on GitHub · 80 lines

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. 11d ago First seen · 80 lines · 73 tokens per session scan A 64c2ddc68e95

Subscribe to this mod's changes

review-react-best-practices is a skill published in the GitHub repository Heyvhuang/ship-faster (339 stars, last pushed 26d ago), licensed MIT. It adds 73 tokens to every session and 641 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-08-30.