来源信息
- 仓库
- OpenBMB/PilotDeck
- 最近来源活动
- 2026年6月9日 03:48
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 4,040
- 分支
- 458
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- 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.
在 GitHub 查看