.claude/skills/react-best-practices/SKILL.md
React/Next.js performance optimization with 40+ rules in 8 categories
npx skillsauth add baekenough/oh-my-customcode react-best-practicesInstall 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.
- Avoid sequential data fetching
- Use parallel data fetching
- Implement proper loading states
- Prefetch critical data
- Minimize client-side JavaScript
- Use dynamic imports
- Tree-shake unused code
- Analyze bundle with tools
- Use Server Components by default
- Minimize 'use client' directives
- Implement streaming where possible
- Cache server responses
- Use SWR or React Query
- Implement optimistic updates
- Handle loading/error states
- Cache API responses
- Avoid unnecessary re-renders
- Use React.memo strategically
- Implement useMemo/useCallback properly
- Virtualize long lists
- Implement proper cache headers
- Use ISR for dynamic content
- Cache database queries
- CDN caching strategies
- Split by route
- Lazy load below-fold content
- Dynamic import heavy libraries
- Preload critical chunks
- Use next/image
- Implement proper sizing
- Use modern formats (WebP, AVIF)
- Lazy load off-screen images
1. Identify optimization area
2. Check relevant category rules
3. Apply recommendations
4. Verify improvements
See scripts/ directory for automation helpers.
development
Generate and maintain a persistent codebase wiki — LLM-built interlinked markdown knowledge base (Karpathy LLM Wiki pattern)
development
Use the project wiki as RAG knowledge source — search wiki pages to answer codebase questions before exploring raw files
tools
Analyze task trajectories to propose reusable SKILL.md candidates from successful patterns
data-ai
hada.io RSS feed monitoring for AI agent/harness articles with automated /scout analysis