lenserfight: Skill for Claude Code

.agents/skills/react-vite-performance-reviewer/SKILL.md

react-vite-performance-reviewer is a skill for Claude Code, Codex from conectlens/lenserfight. It costs 216 tokens per session (1,863 once invoked), scanned A, original, MIT.

A code reviewer for React and Vite web applications. React builds user interfaces, while Vite builds and serves web projects during development and production.

In plain words
What is it for?
Use it to review components, routes, state management, network requests, forms, charts, animations, assets, and build settings for browser-performance risks.
Why use it?
It helps find changes that could make pages slower, use too much memory or CPU, increase download size, or behave poorly on weak devices and networks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Gemini CLI.

This is conectlens/lenserfight's own configuration. It tells Claude Code and Codex how to work on lenserfight 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 lenserfight configures →

Reuse

Borrowing it

Nothing to install: this file belongs to conectlens/lenserfight. 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/conectlens/lenserfight/main/.agents/skills/react-vite-performance-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/conectlens/lenserfight

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 react-vite-performance-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/conectlens/lenserfight/react-vite-performance-reviewer.svg)](https://agentmods.dev/skills/conectlens/lenserfight/react-vite-performance-reviewer)
Your own site
<a href="https://agentmods.dev/skills/conectlens/lenserfight/react-vite-performance-reviewer"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/react-vite-performance-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 216 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,863 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.00216 $0.01863
Opus 5 $0.00108 $0.00932
Sonnet 5 $0.00043 $0.00373
Haiku 4.5 $0.00022 $0.00186

Measured 8d ago against content hash 6f355cbf0a35, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

react-vite-performance-reviewer 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.

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.

.agents/skills/react-vite-performance-reviewer/SKILL.md · 140 lines

How it starts

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

React / Vite Performance Reviewer

When to activate

Any code touch on:

  • apps/web/** — components, routes, hooks, layouts
  • libs/* libraries bundled by Vite
  • vite.config.ts or vite.config.js — build configuration
  • Code split boundaries, dynamic imports, lazy routes
  • State management (Zustand, Redux Toolkit, Jotai, Context API)
  • Network layers (React Query, SWR, Apollo, tRPC, fetch wrappers)
  • Forms (React Hook Form, Formik), tables (TanStack Table), charts
  • Animations (Framer Motion, CSS transitions, Web Animations API)
  • Third-party library additions or upgrades
  • Asset handling (images, fonts, SVGs, CSS)

Review workflow

  1. Load references/PERFORMANCE_CHECKLIST.md and apply all sections relevant to the changed files.
  2. Inspect the diff for the detection rules below.
  3. Produce a severity-ordered finding list using the output format below.
  4. Use assets/review-report-template.md for the full structured report.

Severity classification

Severity Meaning
critical Causes browser OOM crash, hang, or complete render failure under normal traffic
high Visible jank or +1s LCP/TTI regression under moderate load (10+ concurrent tabs, slow 4G)
medium Degrades experience on low-end devices or under high traffic (50+ concurrent users)
low Minor inefficiency, acceptable now but risky at scale
info Observation with no current risk

Core detection rules

Rendering

  • Flag components that re-render on every parent render when their props haven't changed — check for React.memo absence.
  • Flag inline function/object/array props in JSX that produce a new reference each render (onClick={() => …}, style={{ margin: 8 }}).
  • Flag useEffect with unstable dependencies (objects/arrays/functions created inside the component without memoization).
  • Flag Context providers whose value is a new object on every render — use useMemo for the value or split the context.
  • Flag deeply nested context consumers subscribing to a large context object when only one field is needed (use selector pattern or split context).
  • Flag key changes on list items that are not actually replaced — causes unnecessary unmount/remount.

Read the full file on GitHub · 140 lines

Files

What ships with it

2 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.

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 · 140 lines · 216 tokens per session scan A 6f355cbf0a35

Subscribe to this mod's changes

react-vite-performance-reviewer is a skill published in the GitHub repository conectlens/lenserfight (18 stars, last pushed 28d ago), licensed MIT. It adds 216 tokens to every session and 1,863 once invoked, about $0.0011 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.

Related

Other skills, from other repositories

generic-react-feature-developer

Guide feature development for React applications with architecture focus. Covers Zustand/Redux patterns, IndexedDB usage, component systems, lazy loading strategies, and seamless integration. Use when adding new features, refactoring existing code, or planning major changes.

travisjneuman/.claude · 53 tokens

generic-react-ux-designer

Professional UI/UX design expertise for React applications. Covers design thinking, user psychology (Hick's/Fitts's/Jakob's Law), visual hierarchy, interaction patterns, accessibility, performance-driven design, and design critique. Use when designing features, improving UX, solving user problems, or conducting design…

travisjneuman/.claude · 69 tokens

generic-react-design-system

Complete design system reference for React applications. Covers colors, typography, spacing, component patterns, glassmorphism effects, GPU-accelerated animations, and WCAG AA accessibility. Use when implementing UI, choosing colors, applying spacing, creating components, or ensuring brand consistency.

travisjneuman/.claude · 59 tokens

generic-react-code-reviewer

Review React/TypeScript code for bugs, security vulnerabilities, performance issues, accessibility gaps, and CLAUDE.md workflow compliance. Enforces TypeScript strict mode, GPU-accelerated animations, WCAG AA accessibility, bundle size limits, and surgical simplicity. Use when completing features, before commits, or…

travisjneuman/.claude · 71 tokens

frontend-code-review

Trigger when the user requests a review of frontend files (e.g., .tsx, .ts, .js). Support both pending-change reviews and focused file reviews while applying the checklist rules.

sangrokjung/claude-forge · 42 tokens

react-artifact

Author app-like designs in React/JSX and bundle them in-sandbox into the same single self-contained HTML artifact Design Studio delivers. Use when the design needs real state, complex interactivity, or component reuse beyond what vanilla JS comfortably handles.

juspay/xyne-spaces · 53 tokens