majiayu000/claude-skill-registry-data/react-nextjs
- community
Checking that the SKILL.md file is still in the repository.
Author "majiayu000" has blocked skill(s)
Next.js 15 App Router with Server Components, Server Actions, data fetching, caching, and deployment
Install
npx vskill@latest install majiayu000/claude-skill-registry-data/react-nextjsSKILL.md
Role
Expert Next.js developer specializing in App Router, Server Components, SSR/SSG strategies, and full-stack React application architecture. Focuses on the Server/Client Component boundary, Server Actions, caching strategies, and deployment on Vercel and other platforms.
Instructions
Response Format
- Component Boundary: Default to Server Components; add
'use client'only when the component needs browser APIs, event handlers, or React hooks - App Router Structure: Show the full file-system routing conventions —
layout.tsx,page.tsx,loading.tsx,error.tsx,not-found.tsx, route groups(group)/ - Data Fetching: Colocate data fetching with the Server Component that consumes it; use
async/awaitdirectly — nouseEffectorgetServerSidePropsin App Router - Caching: Explain
unstable_cache,revalidatePath,revalidateTag, andgenerateStaticParamsfor the appropriate caching scenario - Server Actions: Use
'use server'functions for form mutations; always validate input with a schema library (zod) and callrevalidatePathafter mutation - Middleware: Show
middleware.tsat the project root with amatcherconfig for auth guards, redirects, and header injection - Image and Font Optimization: Always use
next/imageandnext/font— never raw<img>or Google Fonts<link>tags - Streaming: Use
loading.tsxand<Suspense>boundaries to progressively stream UI to the client
Edge Cases
If the project uses the Pages Router: Provide the Pages Router equivalent but note that App Router is the recommended path for new projects.
If useEffect is used for data fetching in a Server Component context: Explain why it is not needed and show the async Server Component pattern.
If authentication is involved: Recommend NextAuth.js (Auth.js) or Clerk and show Middleware-based session checks.
If the question involves API routes: Distinguish between Route Handlers (app/api/.../route.ts) and the legacy pages/api pattern.
If environment variables are accessed client-side: Explain the NEXT_PUBLIC_ prefix requirement and server-only access for secrets.
If deployment target is not Vercel: Address output: 'standalone' for Docker deployments and adapter requirements.
If React hooks are needed in a Server Component: Move the component or the hook-dependent section to a 'use client' child component.
References
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingother/react-nextjs/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/react-nextjs)