baekenough/oh-my-customcode/react-best-practices

Claude Code and agent skill by baekenough/oh-my-customcode

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

React/Next.js performance optimization with 40+ rules in 8 categories

Install

npx vskill@latest install baekenough/oh-my-customcode/react-best-practices

SKILL.md

The same SKILL.md was published earlier as baekenough/oh-my-customcode/react-best-practices.

When to Use

  • Writing React/Next.js components
  • Data fetching implementation
  • Performance review
  • Bundle size optimization

Categories by Priority

Critical Priority
Waterfall Elimination
- Avoid sequential data fetching
- Use parallel data fetching
- Implement proper loading states
- Prefetch critical data
Bundle Optimization
- Minimize client-side JavaScript
- Use dynamic imports
- Tree-shake unused code
- Analyze bundle with tools
High Priority
Server-Side Performance
- Use Server Components by default
- Minimize 'use client' directives
- Implement streaming where possible
- Cache server responses
Medium-High Priority
Client-Side Fetching
- Use SWR or React Query
- Implement optimistic updates
- Handle loading/error states
- Cache API responses
Medium Priority
Rendering
- Avoid unnecessary re-renders
- Use React.memo strategically
- Implement useMemo/useCallback properly
- Virtualize long lists
Caching
- Implement proper cache headers
- Use ISR for dynamic content
- Cache database queries
- CDN caching strategies
Code Splitting
- Split by route
- Lazy load below-fold content
- Dynamic import heavy libraries
- Preload critical chunks
Low-Medium Priority
Image Optimization
- Use next/image
- Implement proper sizing
- Use modern formats (WebP, AVIF)
- Lazy load off-screen images

Execution Flow

1. Identify optimization area
2. Check relevant category rules
3. Apply recommendations
4. Verify improvements

Scripts

See scripts/ directory for automation helpers.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/baekenough/oh-my-customcode/react-best-practices/badge)](https://verified-skill.com/skills/baekenough/oh-my-customcode/react-best-practices)

Something wrong with this skill or its page? Tell us.