Agent SkillsOpenBMB/PilotDeck › react-next-best-practices

react-next-best-practices

GitHub

提供React/Next.js项目创建、审查和重构的最佳实践,涵盖组件拆分、数据获取、性能优化、RSC、Hydration及路由等核心领域,并输出带路径和严重程度的具体修复建议。

skills/react-next-best-practices/SKILL.md OpenBMB/PilotDeck

Trigger Scenarios

创建React或Next.js应用 审查前端代码质量 重构现有前端架构

Install

npx skills add OpenBMB/PilotDeck --skill react-next-best-practices -g -y
More Options

Use without installing

npx skills use OpenBMB/PilotDeck@react-next-best-practices

指定 Agent (Claude Code)

npx skills add OpenBMB/PilotDeck --skill react-next-best-practices -a claude-code -g -y

安装 repo 全部 skill

npx skills add OpenBMB/PilotDeck --all -g -y

预览 repo 内 skill

npx skills add OpenBMB/PilotDeck --list

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

Same Skill Collection

skills/1password/SKILL.md
skills/apple-notes/SKILL.md
skills/apple-reminders/SKILL.md
skills/bear-notes/SKILL.md
skills/blogwatcher/SKILL.md
skills/browser-use/SKILL.md
skills/diagram-maker/SKILL.md
skills/frontend-slides/SKILL.md
skills/github/SKILL.md
skills/gog/SKILL.md
skills/himalaya/SKILL.md
skills/karpathy-guidelines/SKILL.md
skills/meeting-recorder-assistant/SKILL.md
skills/notion/SKILL.md
skills/obsidian/SKILL.md
skills/pdf/SKILL.md
skills/pilotdeck-skills-migration/SKILL.md
skills/powershell/SKILL.md
skills/pptx/SKILL.md
skills/skill-creator/SKILL.md
skills/spike/SKILL.md
skills/spreadsheets/SKILL.md
skills/summarize/SKILL.md
skills/tmux/SKILL.md
skills/trello/SKILL.md
skills/weather/SKILL.md
skills/docx/SKILL.md
skills/find-skills/SKILL.md
skills/frontend-design/SKILL.md
skills/minimax-pdf/SKILL.md
skills/web-design-guidelines/SKILL.md

Metadata

Files
0
Version
c88d7d1
Hash
f5cb645d
Indexed
2026-07-05 20:08

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 14:59
浙ICP备14020137号-1 $Гость$