react-best-practices

react-best-practices is a skill for Claude Code from Team-Deepiri/deepiri-axiom. It costs 45 tokens per session (1,635 once invoked), scanned A, original, Apache-2.0.

A performance guide for React and Next.js, tools for building user interfaces with JavaScript. It covers data loading, code size, server work, repeated rendering, and related implementation choices.

In plain words
What is it for?
Use it when creating or refactoring React components and Next.js pages, fetching data, reviewing performance, or reducing bundle and load time.
Why use it?
It helps developers spot common causes of slow pages and unnecessary browser or server work during development or review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool; mentions AGENTS.md.

Good fit Use it when creating or refactoring React components and Next.js pages, fetching data, reviewing performance, or reducing bundle and load time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/team-deepiri/deepiri-axiom/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 Team-Deepiri/deepiri-axiom --skill react-best-practices
Clone the repo
git clone --depth 1 https://github.com/Team-Deepiri/deepiri-axiom

Made for: Claude Code.

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/team-deepiri/deepiri-axiom/react-best-practices/github.svg)](https://agentmods.dev/skills/team-deepiri/deepiri-axiom/react-best-practices)
Your own site
<a href="https://agentmods.dev/skills/team-deepiri/deepiri-axiom/react-best-practices"><img src="https://agentmods.dev/badge/skills/team-deepiri/deepiri-axiom/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 react-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/team-deepiri/deepiri-axiom/react-best-practices"><img src="https://agentmods.dev/badge/skills/team-deepiri/deepiri-axiom/react-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,635 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.
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.00045 $0.01635
Opus 5.5 $0.00018 $0.00654
Sonnet 5.5 $0.00009 $0.00327
Haiku 4.5 $0.00005 $0.00163

Measured 11d ago against content hash 76970e1a9c9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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/react-best-practices/SKILL.md · 150 lines

How it starts

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

React best practices (Vercel)

Performance guide for React and Next.js — ~70 rules across 8 categories, prioritized by impact.

Source: vercel-labs/agent-skills (react-best-practices). MIT.

When to apply

  • New React components or Next.js pages
  • Client or server data fetching
  • Performance review / refactor
  • Bundle size or load-time work

Rule categories by priority

Priority Category Impact Prefix
1 Eliminating Waterfalls CRITICAL async-
2 Bundle Size Optimization CRITICAL bundle-
3 Server-Side Performance HIGH server-
4 Client-Side Data Fetching MEDIUM-HIGH client-
5 Re-render Optimization MEDIUM rerender-
6 Rendering Performance MEDIUM rendering-
7 JavaScript Performance LOW-MEDIUM js-
8 Advanced Patterns LOW advanced-

Quick reference

1. Eliminating waterfalls (CRITICAL)

  • async-cheap-condition-before-await — cheap sync checks before await
  • async-defer-await — await only in branches that need it
  • async-parallel — Promise.all() for independent work
  • async-dependencies — better-all for partial dependencies
  • async-api-routes — start promises early, await late
  • async-suspense-boundaries — Suspense to stream content

2. Bundle size (CRITICAL)

  • bundle-barrel-imports — direct imports, avoid barrels
  • bundle-analyzable-paths — static paths for smaller traces
  • bundle-dynamic-imports — next/dynamic for heavy UI
  • bundle-defer-third-party — analytics after hydration
  • bundle-conditional — load only when feature is on
  • bundle-preload — preload on hover/focus

3. Server-side (HIGH)

  • server-auth-actions — auth server actions like API routes
  • server-cache-react — React.cache() per-request dedupe
  • server-cache-lru — LRU across requests
  • server-dedup-props — avoid duplicate RSC serialization
  • server-hoist-static-io — fonts/logos at module level
  • server-no-shared-module-state — no mutable request state in RSC/SSR
  • server-serialization — minimize client-bound data
  • server-parallel-fetching — parallelize fetches in the tree
  • server-parallel-nested-fetching — nested fetches in Promise.all
  • server-after-nonblocking — after() for non-blocking work

Read the full file on GitHub · 150 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 · 150 lines · 45 tokens per session scan A 76970e1a9c9f

Subscribe to this mod's changes

react-best-practices is a skill published in the GitHub repository Team-Deepiri/deepiri-axiom (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 1,635 once invoked, about $0.0002 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-10-26.

Related

react-best-practices compared with skills from other repositories

react-best-practices next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-best-practicesTeam-Deepiri/deepiri-axiomSkill2yesterdayApache-2.0A45Claude Code
build-ghost-appTryGhost/GhostSkill56kyesterdayMITA44Claude Code, Codex
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99kyesterdayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k4d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7k3d agoMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14kyesterdayMITA0Claude Code