react-nextjs-development
它能做什么
这个工具可以帮你使用 React 和 Next.js 构建现代化的网页应用。它会引导你完成初始设置、组件创建、使用 Tailwind CSS 进行样式设计,以及搭建完整项目的其他关键步骤。
适用场景
- ✓用 React 和 Next.js 开始一个新的网页项目时。
- ✓需要配置 TypeScript 和 Tailwind CSS 时。
- ✓从开发到部署,搭建全栈应用时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/react-nextjs-development/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想创建一个新的 Next.js 14 项目,使用 App Router,并配置 Tailwind CSS。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会在每个开发阶段调用其他专门的技能,例如项目配置、组件搭建、样式设计和测试。它会为你提供需要执行的命令和设置建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
React/Next.js Development Workflow
Overview
Specialized workflow for building React and Next.js 14+ applications with modern patterns including App Router, Server Components, TypeScript, and Tailwind CSS.
When to Use This Workflow
Use this workflow when:
- Building new React applications
- Creating Next.js 14+ projects with App Router
- Implementing Server Components
- Setting up TypeScript with React
- Styling with Tailwind CSS
- Building full-stack Next.js applications
Workflow Phases
Phase 1: Project Setup
Skills to Invoke
app-builder- Application scaffoldingsenior-fullstack- Full-stack guidancenextjs-app-router-patterns- Next.js 14+ patternstypescript-pro- TypeScript setup
Actions
- Choose project type (React SPA, Next.js app)
- Select build tool (Vite, Next.js, Create React App)
- Scaffold project structure
- Configure TypeScript
- Set up ESLint and Prettier
Copy-Paste Prompts
Use @app-builder to scaffold a new Next.js 14 project with App Router
Use @nextjs-app-router-patterns to set up Server Components
Phase 2: Component Architecture
Skills to Invoke
frontend-developer- Component developmentreact-patterns- React patternsreact-state-management- State managementreact-ui-patterns- UI patterns
Actions
- Design component hierarchy
- Create base components
- Implement layout components
- Set up state management
- Create custom hooks
Copy-Paste Prompts
Use @frontend-developer to create reusable React components
Use @react-patterns to implement proper component composition
Use @react-state-management to set up Zustand store
Phase 3: Styling and Design
Skills to Invoke
frontend-design- UI designtailwind-patterns- Tailwind CSStailwind-design-system- Design systemcore-components- Component library
Actions
- Set up Tailwind CSS
- Configure design tokens
- Create utility classes
- Build component styles
- Implement responsive design
Copy-Paste Prompts
Use @tailwind-patterns to style components with Tailwind CSS v4
Use @frontend-design to create a modern dashboard UI
Phase 4: Data Fetching
Skills to Invoke
nextjs-app-router-patterns- Server Componentsreact-state-management- React Queryapi-patterns- API integration
Actions
- Implement Server Components
- Set up React Query/SWR
- Create API client
- Handle loading states
- Implement error boundaries
Copy-Paste Prompts
Use @nextjs-app-router-patterns to implement Server Components data fetching
Phase 5: Routing and Navigation
Skills to Invoke
nextjs-app-router-patterns- App Routernextjs-best-practices- Next.js patterns
Actions
- Set up file-based routing
- Create dynamic routes
- Implement nested routes
- Add route guards
- Configure redirects
Copy-Paste Prompts
Use @nextjs-app-router-patterns to set up parallel routes and intercepting routes
Phase 6: Forms and Validation
Skills to Invoke
frontend-developer- Form developmenttypescript-advanced-types- Type validationreact-ui-patterns- Form patterns
Actions
- Choose form library (React Hook Form, Formik)
- Set up validation (Zod, Yup)
- Create form components
- Handle submissions
- Implement error handling
Copy-Paste Prompts
Use @frontend-developer to create forms with React Hook Form and Zod
Phase 7: Testing
Skills to Invoke
javascript-testing-patterns- Jest/Vitestplaywright-skill- E2E testinge2e-testing-patterns- E2E patterns
Actions
- Set up testing framework
- Write unit tests
- Create component tests
- Implement E2E tests
- Configure CI integration
Copy-Paste Prompts
Use @javascript-testing-patterns to write Vitest tests
Use @playwright-skill to create E2E tests for critical flows
Phase 8: Build and Deployment
Skills to Invoke
vercel-deployment- Vercel deploymentvercel-deploy-claimable- Vercel deploymentweb-performance-optimization- Performance
Actions
- Configure build settings
- Optimize bundle size
- Set up environment variables
- Deploy to Vercel
- Configure preview deployments
Copy-Paste Prompts
Use @vercel-deployment to deploy Next.js app to production
Technology Stack
| Category | Technology |
|---|
…
常见问题
什么是 Server Components(服务端组件)?
这是在服务器上运行的 Next.js 组件,有助于提升应用的性能和安全性。
什么是 Tailwind CSS?
它是一个样式(CSS)库,让你可以直接在 HTML 代码中快速、灵活地设计网站外观。
我需要完全掌握 React 才能使用吗?
不一定。这个工具会引导你一步步操作,但如果具备一些 React 基础知识,会更容易理解整个过程。
详情
作者的原始描述
React and Next.js 14+ application development with App Router, Server Components, TypeScript, Tailwind CSS, and modern frontend patterns.
热度
- GitHub 星标
- 48k
- 排名
- #5580
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。