AI-TadPole-OS: Skill for Claude Code

.agent/skills/nextjs-react-expert/SKILL.md

react-best-practices is a skill for Claude Code from DDS-Solutions/AI-TadPole-OS. It costs 48 tokens per session (968 once invoked), scanned A, original, MIT.

A set of React and Next.js guidelines for making web applications load faster and use less browser code. React is a JavaScript library for building interfaces, while Next.js is a framework built around it.

In plain words
What is it for?
Use it when building or reviewing React components, Next.js pages, data fetching, server rendering, and client-side performance.
Why use it?
It helps address slow data loading, oversized JavaScript bundles, and inefficient browser updates.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is DDS-Solutions/AI-TadPole-OS's own configuration. It tells Claude Code how to work on AI-TadPole-OS itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AI-TadPole-OS configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DDS-Solutions/AI-TadPole-OS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DDS-Solutions/AI-TadPole-OS/main/.agent/skills/nextjs-react-expert/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DDS-Solutions/AI-TadPole-OS

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/dds-solutions/ai-tadpole-os/nextjs-react-expert/github.svg)](https://agentmods.dev/skills/dds-solutions/ai-tadpole-os/nextjs-react-expert)
Your own site
<a href="https://agentmods.dev/skills/dds-solutions/ai-tadpole-os/nextjs-react-expert"><img src="https://agentmods.dev/badge/skills/dds-solutions/ai-tadpole-os/nextjs-react-expert/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/dds-solutions/ai-tadpole-os/nextjs-react-expert"><img src="https://agentmods.dev/badge/skills/dds-solutions/ai-tadpole-os/nextjs-react-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 968 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.00048 $0.00968
Opus 5 $0.00024 $0.00484
Sonnet 5 $0.00010 $0.00194
Haiku 4.5 $0.00005 $0.00097

Measured 8d ago against content hash 80c957aa8d51, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/convert_rules.py, scripts/react_performance_checker.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agent/skills/nextjs-react-expert/SKILL.md · 57 lines

How it starts

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

[!IMPORTANT] AI Context & Knowledge Heritage

  • Subsystem: Agent Skills Registry / nextjs-react-expert
  • Architecture: @docs ARCHITECTURE:Documentation
  • Failure Path: Information drift, legacy terminology, or documentation mismatch.
  • Observability: Traceability via execution/parity_guard.py ([SKILL])

Next.js & React Performance Optimization Core

Philosophy: Eliminate waterfalls first, optimize bundle payload second, eliminate re-render jank third. Standard: Vercel 57-Rule Performance Engineering Guide.


🎯 Progressive Disclosure & L3 Reference Index

Read REQUIRED core priorities below; consult deep L3 Reference Guides on demand:

L3 Reference Guide Impact / Priority Trigger / When to Load
1-async-eliminating-waterfalls.md 🔴 CRITICAL Slow page loads, sequential await fetch waterfalls
2-bundle-bundle-size-optimization.md 🔴 CRITICAL Large JS bundles (>200KB), barrel import bloat, dynamic imports
3-server-server-side-performance.md 🟠 HIGH Slow Server-Side Rendering (SSR), streaming Suspense boundaries
4-client-client-side-data-fetching.md 🟡 MEDIUM-HIGH Client-side SWR/TanStack query deduplication, optimistic updates
5-rerender-re-render-optimization.md 🟡 MEDIUM Excessive React re-renders, Zustand selector tuning, React.memo
6-rendering-rendering-performance.md 🟡 MEDIUM Virtualization (@tanstack/react-virtual), layout thrashing
7-js-javascript-performance.md POLISH Fast loops, memoized expensive compute, micro-benchmarks
8-advanced-advanced-patterns.md 🔵 ADVANCED useLatest, init-once refs, custom hook abstractions
9-cache-components.md 🔴 CRITICAL (Next 16+) use cache, cacheLife, Partial Prerendering (PPR), cacheTag

Read the full file on GitHub · 57 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. 8d ago First seen · 57 lines · 48 tokens per session scan A 80c957aa8d51

Subscribe to this mod's changes

react-best-practices is a skill published in the GitHub repository DDS-Solutions/AI-TadPole-OS (8 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 968 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-09-03.

Related

Other skills, from other repositories

magic-ui

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.

magicuidesign/magicui · 56 tokens

beui

Pick and install beUI (@beui) animated React components from the shadcn registry. Use when building motion UI, agent/chat interfaces, toasts, docks, bottom sheets, drawers, popovers, sliders, loaders, 404 pages, or any beui.dev component. Maps user intent to exact @beui install slugs instead of inventing custom…

starc007/ui-components · 78 tokens

typescript-react

Apply, review, and explain React conventions from the TypeScript Style Guide. Use automatically for TypeScript and TSX tasks involving prop-derived state, prop typing, component responsibilities, data flow, compound components, or client and server state.

mkosir/typescript-style-guide · 50 tokens

fireact-builder

Helps customize and extend Fireact SaaS apps after installation. Auto-detects Fireact projects by checking for @fireact.dev/app in package.json. Invoke when the user wants to add features, pages, custom components, navigation, branding, Cloud Functions, or i18n.

fireact-dev/main · 62 tokens

explorer

Entry point for working with the walkerOS explorer component library.

elbwalker/walkerOS · 0 tokens

building-react-quill-canvases

Author the React + Quill implementation of a PostHog canvas: the single-component contract, the allowed imports, Quill (PostHog's design system) component and composition rules, theme-aware design tokens, loading skeletons, and the in-canvas date picker. Use after building-canvases has routed a canvas request to a…

PostHog/posthog · 100 tokens