vercel-react-best-practices

vercel-react-best-practices is a skill for Claude Code from TechNickAI/ai-coding-config. It costs 44 tokens per session (1,451 once invoked), scanned A, original, MIT.

A collection of practices for writing, reviewing and refactoring React and Next.js applications. React is a JavaScript interface library, while Next.js is a framework built around React.

In plain words
What is it for?
Use it when improving React performance, fixing repeated renders, reducing bundle size, removing request waterfalls or reviewing data-fetching code.
Why use it?
It helps avoid slow page loading, unnecessary screen updates, oversized downloads and inefficient data requests. It also calls out authentication checks for server-side actions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-coding-config plugin — 15 skills, 21 commands, 28 agents, 3 hooks shipped together

Good fit Use it when improving React performance, fixing repeated renders, reducing bundle size, removing request waterfalls or reviewing data-fetching code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/technickai/ai-coding-config/vercel-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 TechNickAI/ai-coding-config --skill vercel-react-best-practices
Clone the repo
git clone --depth 1 https://github.com/TechNickAI/ai-coding-config

Made for: Claude Code.

Or install ai-coding-config, the plugin that ships this one along with the rest of its 15 skills, 21 commands, 28 agents, 3 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/technickai/ai-coding-config/vercel-react-best-practices"><img src="https://agentmods.dev/badge/skills/technickai/ai-coding-config/vercel-react-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,451 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.00044 $0.01451
Opus 5.5 $0.00018 $0.00580
Sonnet 5.5 $0.00009 $0.00290
Haiku 4.5 $0.00004 $0.00145

Measured 25d ago against content hash 3a4a11a03fde, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vercel-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 25d 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.

plugins/core/skills/vercel-react-best-practices/SKILL.md · 137 lines

How it starts

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

1. Eliminating Waterfalls — CRITICAL

  • Defer await until needed — Move await into branches where actually used
  • Parallelize independent operations — Use Promise.all() instead of sequential awaits
  • Dependency-based parallelization — Use better-all for partial dependencies
  • Start promises early in API routes — Start independent operations before awaiting
  • Strategic Suspense boundaries — Use Suspense to stream content progressively

2. Bundle Size Optimization — CRITICAL

  • Avoid barrel file imports — Import directly from source files; barrels add 200-800ms
  • Dynamic imports for heavy components — Use next/dynamic for large components
  • Defer non-critical third-party libs — Load analytics/logging after hydration
  • Conditional module loading — Load modules only when feature is activated
  • Preload on user intent — Preload heavy bundles on hover/focus

3. Server-Side Performance — HIGH

  • Authenticate server actions — Verify auth inside each Server Action, not just middleware
  • React.cache() for request dedup — Per-request deduplication on the server
  • LRU cache for cross-request data — Share cached data across sequential requests
  • Minimize RSC serialization — Only pass fields the client actually uses
  • Parallel data fetching — Restructure components to parallelize server fetches
  • after() for non-blocking work — Schedule logging/analytics after response is sent

4. Client-Side Data Fetching — MEDIUM-HIGH

Read the full file on GitHub · 137 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. 25d ago First seen · 137 lines · 44 tokens per session scan A 3a4a11a03fde

Subscribe to this mod's changes

vercel-react-best-practices is a skill published in the GitHub repository TechNickAI/ai-coding-config (24 stars, last pushed 26d ago), licensed MIT. It adds 44 tokens to every session and 1,451 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-09-22.

Related

Other skills, from other repositories

ring:applying-composition-patterns

React composition patterns that scale. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or during architecture review. Skip for simple components with 1-2 props…

LerianStudio/ring · 68 tokens

ask-sonner

Sonner, the React toast library: mounting Toaster once, toast() calls, promise and loading toasts, updating, dismissing, styling, theming, dark mode, positioning. Use when toasts do not appear, appear twice, sit behind a modal, ignore Tailwind classes, or do nothing from a server action.

ericrisco/rsc-harness · 71 tokens

coding-standards

A set of general coding standards and practical patterns for TypeScript, JavaScript, React, and Node.js. It covers readable naming, simple designs, avoiding repetition, and delaying unnecessary features.

loulanyue/awesome-claude-notes · 41 tokens

nextjs-idioms

Next.js App Router architecture: React Server Components (RSC), Server Actions, nested layouts, route handlers, and streaming. Use when building or refactoring Next.js web applications. Pair with react-idioms and typescript-idioms.

irahardianto/awesome-agv · 55 tokens

react-idioms

React 19+ patterns: custom hooks, Suspense boundaries, state management, component composition, and web performance. Use when developing or refactoring React components and client applications. Pair with typescript-idioms.

irahardianto/awesome-agv · 48 tokens

azure-event-grid-webhooks

Receive and validate Azure Event Grid webhook deliveries. Use when setting up an Event Grid WebHook event handler, implementing the Microsoft.EventGrid.SubscriptionValidationEvent handshake (echo data.validationCode as validationResponse with HTTP 200), implementing the CloudEvents v1.0 HTTP OPTIONS abuse-protection…

hookdeck/webhook-skills · 148 tokens