用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill react-best-practices命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when user needs capabilities Claude lacks (image generation, real-time X/Twitter data) or explicitly requests external models ("blockrun", "use grok", "use gpt", "dall-e", "deepseek")
Principal AI Architect and Machine Learning Engineer.
Elite Cloud and Multi-Cloud Architect Master Skill.
基于 SOC 职业分类
正在显示 SKILL.md
| name | react-best-practices |
| description | React & Next.js engineering standards. |
| category | development |
| version | 4.1.0-fractal |
| layer | master-skill |
Goal: Build high-performance, maintainable, and accessible React applications using modern patterns (React 19+, Next.js App Router).
app/) for all new projects.'use client' when interactivity (state, hooks, event listeners) is strictly needed.<Suspense> boundaries to stream UI parts that depend on slow data.useEffect for data fetching.children prop to tackle prop drilling.useHookName.any.next/image with proper width, height, and sizes.next/font to eliminate layout shift (CLS).next/dynamic or React.lazy for heavy client components below the fold.@next/bundle-analyzer.clsx + tailwind-merge (typically cn() helper) for conditional class merging.md:, lg: prefixes.app/
├── (marketing)/ # Route group
├── dashboard/
│ ├── page.tsx
│ ├── layout.tsx
│ ├── _components/ # Private feature components
│ └── loading.tsx
components/ # Shared components (UI Kit)
lib/ # Utilities and helpers
hooks/ # Shared hooks
types/ # Global types
dangerouslySetInnerHTML.NextAuth.js (Auth.js) or Clerk. Protect routes via Middleware.Checklist before PR:
'use client' used only where necessary?key props?