Agent Skills
› OpenBMB/PilotDeck
› react-next-best-practices
react-next-best-practices
GitHub用于创建、审查或重构 React/Next.js 应用的最佳实践指南。涵盖组件拆分、数据获取、渲染模型(RSC/SSR)、状态管理、性能优化及无障碍访问,提供带路径和严重程度的具体审查反馈。
Trigger Scenarios
React 或 Next.js 项目代码审查
React/Next.js 应用重构建议
前端最佳实践咨询
Install
npx skills add OpenBMB/PilotDeck --skill react-next-best-practices -g -y
SKILL.md
Frontmatter
{
"name": "react-next-best-practices",
"description": "React\/Next.js 项目最佳实践:组件拆分、数据获取、性能、bundle、RSC、hydration 和路由。"
}
React / Next.js Best Practices
Use this skill when creating, reviewing, or refactoring React or Next.js applications.
Focus Areas
- Component boundaries: keep components cohesive and avoid unnecessary abstraction.
- Data fetching: avoid waterfalls; keep server/client responsibilities explicit.
- Rendering model: distinguish Server Components, Client Components, SSR, SSG, and dynamic routes.
- State: keep local state local; avoid global state unless shared behavior requires it.
- Performance: watch bundle size, memoization misuse, expensive renders, image loading, and caching.
- Hydration: avoid browser-only values during server render unless guarded.
- Accessibility: use semantic HTML before custom ARIA.
- Testing: prefer targeted tests for changed behavior.
Review Output
Return concrete findings with file paths, severity, and suggested fixes. Avoid generic advice unless tied to the current code.
PilotDeck Migration Note
- Source inspiration: Vercel Agent Skills for React/Next.js workflows.
- This is a PilotDeck-native draft, not a verbatim copy and is not Vercel-platform-specific.
Version History
- 1730cb4 Current 2026-07-05 20:08


