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.
npx skills add gohypergiant/agent-skills --skill accelint-react-best-practicesgit clone --depth 1 https://github.com/gohypergiant/agent-skillsWrote 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/gohypergiant/agent-skills/accelint-react-best-practices)<a href="https://agentmods.dev/skills/gohypergiant/agent-skills/accelint-react-best-practices"><img src="https://agentmods.dev/badge/skills/gohypergiant/agent-skills/accelint-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/gohypergiant/agent-skills/accelint-react-best-practices"><img src="https://agentmods.dev/badge/skills/gohypergiant/agent-skills/accelint-react-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00157 | $0.02560 |
| Opus 5 | $0.00078 | $0.01280 |
| Sonnet 5 | $0.00031 | $0.00512 |
| Haiku 4.5 | $0.00016 | $0.00256 |
Grade A, and why
accelint-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.
How it starts
The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Best Practices
Comprehensive performance optimization and best practices for React applications, designed for AI agents and LLMs working with React code.
NEVER Do React
These are the most critical anti-patterns that cause real production issues. Experts learned these the hard way through debugging sessions and performance investigations.
NEVER define components inside components — creates new component type on every render, causing full remount with state loss and DOM recreation. Results in input fields losing focus on keystroke, animations restarting unexpectedly, and useEffect cleanup/setup running on every parent render.
NEVER subscribe to searchParams/localStorage if you only read them in callbacks — causes component to re-render on every URL change or storage event even when the component doesn't display those values. Read directly in the callback instead: new URLSearchParams(window.location.search).
NEVER use object/array dependencies in useEffect — triggers effect on every render since objects are recreated with new references each time. Extract primitive values (id, name) from objects and use those as dependencies instead.
NEVER sync derived state with useState + useEffect — leads to extra re-renders, infinite loops, and stale intermediate states. Calculate derived values during render instead: const fullName = firstName + ' ' + lastName.
NEVER use client-only state (localStorage, cookies, device detection) directly in SSR components — causes hydration mismatches where server HTML doesn't match client render, resulting in React warnings, visual flickering, and broken interactivity. Use synchronous inline <script> before React hydrates.
NEVER use forwardRef in React 19+ — deprecated API. Use ref as a regular prop instead: function MyInput({ ref }) { return <input ref={ref} /> }.
NEVER create callbacks/objects/arrays inline as props to memoized components — breaks memoization since new reference is created each render. Extract to module scope, useMemo, or useCallback: const config = useMemo(() => ({ theme }), [theme]).
What ships with it
43 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.
- AGENTS.md 10 KB
- assets/output-report-template.md 9.7 KB
- CHANGELOG.md 7.2 KB
- evals/assertions.md 3.0 KB
- evals/evals.json 12 KB
- README.md 6.2 KB
- references/activity-component-show-hide.md 760 B
- references/animate-svg-wrapper.md 1.3 KB
- references/avoid-usememo-simple-expressions.md 1.2 KB
- references/cache-repeated-function-calls.md 2.0 KB
- references/calculate-derived-state.md 1.3 KB
- references/compound-patterns.md 22 KB
- references/css-content-visibility.md 954 B
- references/defer-state-reads.md 1.1 KB
- references/effect-event-deps.md 1.9 KB
- references/extract-default-parameter-value.md 1.3 KB
- references/extract-memoized-components.md 1.1 KB
- references/functional-setstate-updates.md 2.1 KB
- references/hoist-regexp-creation.md 1.2 KB
- references/hoist-static-jsx.md 995 B
- references/initialize-app-once.md 1.1 KB
- references/interaction-logic-in-event-handlers.md 1.4 KB
- references/lazy-state-initialization.md 2.1 KB
- references/named-imports.md 716 B
- references/narrow-effect-dependencies.md 1.0 KB
- references/no-forwardref.md 696 B
- references/no-inline-components.md 1.9 KB
- references/optimize-svg-precision.md 836 B
- references/prevent-hydration-mismatch.md 2.8 KB
- references/quick-checklists.md 9.3 KB
- references/react-compiler-guide.md 6.4 KB
- references/split-combined-hooks.md 1.6 KB
- references/store-event-handlers-refs.md 1.3 KB
- references/subscribe-derived-state.md 953 B
- references/transitions-non-urgent-updates.md 1.2 KB
- references/use-deferred-value.md 1.6 KB
- references/use-usetransition-over-manual-loading.md 2.1 KB
- references/uselatest-stable-callbacks.md 2.4 KB
- references/useref-for-transient-values.md 1.9 KB
- scripts/check-imports.sh 1.5 KB runs code
- scripts/detect-static-jsx.sh 2.9 KB runs code
- scripts/find-forwardref.sh 1.6 KB runs code
- scripts/README.md 4.5 KB
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 · 212 lines · 157 tokens per session scan A 4b9327067525
accelint-react-best-practices is a skill published in the GitHub repository gohypergiant/agent-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 157 tokens to every session and 2,560 once invoked, about $0.0008 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.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
material-ui-tailwind
Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.
r3f-best-practices
React Three Fiber (R3F) and Poimandres ecosystem best practices. Use when writing, reviewing, or optimizing R3F code. Triggers on tasks involving @react-three/fiber, @react-three/drei, zustand, @react-three/postprocessing, @react-three/rapier, or leva.
dashboard-widgets
Author a dashboard widget — a small React component backed by named LangWatchQL queries — from a plain question. Discovers the analytics schema, writes the queries, writes the widget file, saves it, then proves it renders. Use when asked to build, prototype, or iterate on a custom chart widget, or to add a widget…
assistant-ui-primitives
Guide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive. Use when customizing chat UI components.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…