CtrlK
BlogDocsLog inGet started
Tessl Logo

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

80

1.02x
Quality

70%

Does it follow best practices?

Impact

98%

1.02x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/vercel-react-best-practices/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

Dashboard Page Performance Refactor

Async waterfall elimination

Criteria
Baseline
With context

Parallel independent fetches

100%

100%

No sequential waterfall

100%

100%

Suspense boundary present

100%

100%

Suspense enables streaming

100%

100%

Font hoisted to module level

100%

100%

Font loaded once not per request

100%

100%

Module-level font awaited correctly

100%

100%

Component composition for RSC parallelism

100%

100%

No unnecessary awaits in wrapper

100%

100%

CHANGES.md explains improvements

100%

100%

94%

4%

Next.js App Cold Start Optimization

Bundle optimization and server caching

Criteria
Baseline
With context

Analytics deferred via dynamic import

100%

100%

Analytics ssr: false

100%

100%

RichTextEditor uses dynamic import

100%

100%

RichTextEditor ssr: false

100%

100%

optimizePackageImports configured

100%

100%

optimizePackageImports includes lucide-react

100%

100%

React.cache wraps getAuthUser

100%

100%

React.cache uses primitive arg

50%

40%

React.cache not used for fetch calls

100%

100%

OPTIMIZATION_NOTES.md present

100%

100%

No static import of heavy libs in layout

50%

100%

100%

Task List Component Performance Audit

Re-render optimization patterns

Criteria
Baseline
With context

No inline component definition

100%

100%

TaskItem accepts props

100%

100%

completedCount is derived not state

100%

100%

useEffect for completedCount removed

100%

100%

Functional setState in addTask

100%

100%

Functional setState in toggleTask

100%

100%

Stable addTask callback

100%

100%

Stable toggleTask callback

100%

100%

Lazy state initialization

100%

100%

review.md identifies issues

100%

100%

Ternary for conditional rendering

100%

100%

Repository
udecode/plate
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.