skills/vercel-react/SKILL.md
React/Next.js performance rules from Vercel Engineering. Triggers on: React components, Next.js pages, data fetching, bundle optimization.
npx skillsauth add thkt/claude-config vercel-reactInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Source: vercel-labs/agent-skills (react-best-practices)
~/.claude/skills/vercel-react/cache/{rule}.mdbash ~/.claude/skills/vercel-react/scripts/fetch-rule.sh {rule}bash ~/.claude/skills/vercel-react/scripts/sync.sh| Rule | Description | | ------------------------- | ---------------------------------------------- | | async-defer-await | Move await into branches where actually used | | async-parallel | Promise.all() for independent operations | | async-dependencies | better-all for partial dependencies | | async-api-routes | Start promises early, await late in API routes | | async-suspense-boundaries | Suspense to stream content |
| Rule | Description | | ------------------------ | ------------------------------------------- | | bundle-barrel-imports | Import directly, avoid barrel files | | bundle-dynamic-imports | next/dynamic for heavy components | | bundle-defer-third-party | Load analytics/logging after hydration | | bundle-conditional | Load modules only when feature is activated | | bundle-preload | Preload on hover/focus for perceived speed |
| Rule | Description | | ------------------------ | ------------------------------------------- | | server-auth-actions | Authenticate server actions like API routes | | server-cache-react | React.cache() for per-request dedup | | server-cache-lru | LRU cache for cross-request caching | | server-dedup-props | Avoid duplicate serialization in RSC props | | server-hoist-static-io | Hoist static I/O to module level | | server-serialization | Minimize data passed to client components | | server-parallel-fetching | Restructure to parallelize fetches | | server-after-nonblocking | after() for non-blocking operations |
Client-Side Data (MEDIUM-HIGH), Re-render (MEDIUM), Rendering (MEDIUM), JS Performance (LOW-MEDIUM), Advanced (LOW) — check only when user specifically asks for deep optimization.
→ Full rule indexes: reference.md
tools
Delegate implementation to codex (coder) via the herdr-agentchat plugin and drive a two-pane conversation to completion.
development
Extract recurring patterns from past closed PRs/issues and the research findings in workspace/research/, verify them against the latest code, and propose them to docs/wiki/ via PR.
development
Create Decision Records (DR) in MADR v4 format with auto-numbering.
development
Codex review + cleanup. Findings are challenged by critic-audit, not aggregated as facts, and fixes are applied directly. Do NOT use for internal multi-reviewer deep audits or findings reports (use /audit).