Skip to content
cccskills
FreePublished on GitHub

nextjs-best-practices

React + Next.js performance: 64 reglas en 8 categorías (waterfalls, bundle, server, client fetching, re-render, rendering, JS, advanced) priorizadas por impacto, de Vercel Engineering. Usar al escribir/optimizar React o Next.js.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3 stars(GitHub 3 + cccskills 0)
Works withVercel

Run score Not tested

See how to install

Files included (9)

  • SKILL.md3.3 KB
  • references/advanced.md895 B
  • references/bundle-size.md1.4 KB
  • references/client-fetching.md797 B
  • references/javascript.md1.8 KB
  • references/rendering.md1.7 KB
  • references/rerender.md2.2 KB
  • references/server.md1.8 KB
  • references/waterfalls.md1.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

nextjs-best-practices — Performance priorizada por impacto

64 reglas de optimización de performance para React y Next.js, de Vercel Engineering, organizadas en 8 categorías priorizadas de CRITICAL a LOW. Detalle por categoría en references/.

MANDATORY WORKFLOW

Diagnóstico dirigido por métricas, no aplicar las 64 reglas a ciegas (este es el enfoque vercel-optimize: medir primero, optimizar solo lo que las métricas señalan).

Step 0: Medir / localizar

  1. ¿Hay métricas? Lighthouse, Web Vitals (LCP/INP/CLS), bundle analyzer, traces de Vercel.
  2. ¿Cuál es el síntoma dominante? TTFB alto → waterfalls/server. Bundle grande / TBT → bundle size. Jank en interacción → re-render. Layout shift → rendering.
  3. Identificar las rutas/componentes concretos que las métricas apuntan. Optimizar esos, no todo.

Step 1: Priorizar por impacto

PrioridadCategoríaImpactoReference
1Eliminating WaterfallsCRITICALreferences/waterfalls.md
2Bundle Size OptimizationCRITICALreferences/bundle-size.md
3Server-Side PerformanceHIGHreferences/server.md
4Client-Side Data FetchingMEDIUM-HIGHreferences/client-fetching.md
5Re-render OptimizationMEDIUMreferences/rerender.md
6Rendering PerformanceMEDIUMreferences/rendering.md
7JavaScript PerformanceLOW-MEDIUMreferences/javascript.md
8Advanced PatternsLOWreferences/advanced.md

Step 2: Aplicar + medir de nuevo

Aplicar la regla, re-medir. Si la métrica no mejoró, revertir y subir de categoría — no acumular micro-optimizaciones sin impacto medible.

Step 3: Checklist de cierre

  • Fetches independientes en paralelo (Promise.all), no en cascada
  • Server Components por defecto; 'use client' empujado abajo en el árbol
  • Sin barrel imports en el critical path; componentes pesados con next/dynamic
  • Server Actions autenticadas individualmente
  • Sin componentes definidos dentro de componentes
  • next/image + generateMetadata + resource hints donde corresponde
  • Re-medir Web Vitals post-cambios

Si todo el checklist pasa → optimización COMPLETE. Antes de escribir cambios significativos, confirmar el approach con el usuario (Question → Decision → Approval).

Tabla síntoma → categoría

Métrica malaCategoría
TTFB / tiempo de respuesta del serverWaterfalls, Server
First Load JS / TBT altoBundle Size
INP / jank en interacciónRe-render, JS
LCPRendering, Bundle, Server
CLS / flicker en hydrationRendering

Adaptado de vercel-labs/agent-skills (react-best-practices, MIT, © Vercel). 64 reglas priorizadas por impacto, reorganizadas al formato skill+references de Arcane.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

See all skills by SebastianLuser

Report a problem with this skill