Skip to main content

react-best-practices

Use when building or optimizing React or Next.js rendering, data fetching, bundles, or Server Actions, not styling.

소스 정보

저장소
anntnzrb/agents
최근 소스 활동
2026년 10월 4일 17:29
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
52 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
react-best-practices
description
Use when building or optimizing React or Next.js rendering, data fetching, bundles, or Server Actions, not styling.
license
AGPL-3.0-or-later
metadata
{"author":"anntnzrb"}
# Vercel React Best Practices React/Next.js performance-optimization guidance from Vercel Engineering. Apply the smallest relevant rule set; do not apply every rule opportunistically. ## Apply when - Writing new React components or Next.js pages - Implementing client- or server-side data fetching - Reviewing performance issues - Refactoring existing React/Next.js code - Optimizing bundle size or load times ## Required follow-up reads | Need | Read | When | | --- | --- | --- | | Pick a rule category by impact | `rules/_sections.md` | Before selecting optimization rules | | Apply a specific optimization | Matching `rules/<rule-id>.md` | After identifying the bottleneck | | Expanded Vercel guidance | `references/vercel-guide.md` | A broad review, or rule detail is insufficient | | Secure Next.js Server Actions | `rules/server-auth-actions.md` | Creating or reviewing Server Actions | | Human-facing package context | `README.md` | When needed | ## Category prefixes 1. Eliminating Waterfalls: `async-` 2. Bundle Size Optimization: `bundle-` 3. Server-Side Performance: `server-` 4. Client-Side Data Fetching: `client-` 5. Re-render Optimization: `rerender-` 6. Rendering Performance: `rendering-` 7. JavaScript Performance: `js-` 8. Advanced Patterns: `advanced-` ## Use 1. Start from the user-visible outcome or observed bottleneck. 2. Load `rules/_sections.md` to choose the relevant category. 3. Load only the matching rule files needed for the change. 4. Use `references/vercel-guide.md` only when a rule file is insufficient or a broad review requires the full compiled guide.
GitHub에서 보기