/agentic-awesome-skills:optimize-reactfrom agentic-awesome-skills
Measures a slow React or Next.js route, traces the delay to its cause (waterfall, bundle size, duplicate work, or slow interactions), fixes it, and compares before/after medians.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use when a React or Next.js route loads slowly, an interaction lags, or a request waterfall or large first-load bundle delays what the user sees. For a hotspot inside a single React component, use react-component-performance.
Use a local production build or a fixed, authorized preview, a representative fixture and an available timer, React Profiler or browser trace. For a server timing, use a local route and record the point at which the response is measured.
Pick one route or action and a user-visible milestone, such as the product list appearing. Use a production build or a fixed preview. Record the build, device profile, fixture, cache state, and measurement method. Run at least three samples per version and record the median.
Follow the measured delay to its cause:
| Evidence | First change to try |
|---|---|
| Requests run in series | Start independent reads together and await them at their point of use. Keep auth checks and real data dependencies in order. With streaming, put slow secondary content behind its own Suspense boundary. |
| Too much script on the first screen | Check which imports actually ship. Split large secondary features at their point of use and defer optional third-party scripts. Compare transferred JS and check the delayed feature still opens. |
| Server work repeats | Check for duplicate reads and large serialized props. Deduplicate within the request where possible. Check user and tenant boundaries before sharing a cache across requests. |
| Typing or clicking feels slow | Use the React Profiler or a browser trace to find expensive commits or long tasks. Remove unnecessary derived-state effects or narrow subscriptions before adding memoization. |
When the user requests a fix, change the main cause within the requested scope. For a diagnosis request, report the measured cause and proposed change. Run the same measurement again, with the same fixture and cache policy. Check that the original content, permissions, and interactions still work. Report the before/after median, sample count, what changed, and any remaining bottleneck.
User request: Find why the workshop schedule page loads slowly and fix the main cause.
Inputs: A local production build and a fixture with one workshop session and room.
Expected result: Both still appear in the HTML. Repeat loopback timings under the same conditions and report the two medians.
The published worked example records a prior test by Copybook and its actual timings.
A slow route can have several independent causes. A timing from the server describes its response, and browser loading requires a browser measurement. A median of three runs is a starting point for a stable fixture. Collect more samples when variance obscures the result.
Use fixture data for traces and timings. Keep project code and data local. A requested fix can change files and run tests within the project. Ask before contacting a new external service, spending money or deploying. Preserve authentication and tenant boundaries when changing request order or caching.
Copybook's published skill is a rewrite of Vercel's MIT skill. The published change record pins the original version and explains the rewrite. LICENSE retains the permission notice.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sickn33/agentic-awesome-skills --plugin agentic-awesome-skills3,104 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.2 plugins in one repository ship this exact skill · first indexed Dec 2, 2026
Other plugins' skills for the same job