majiayu000/claude-skill-registry-data/react-nextjs

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Tainted

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-nextjs

SKILL.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
  1. Component Boundary: Default to Server Components; add 'use client' only when the component needs browser APIs, event handlers, or React hooks
  2. App Router Structure: Show the full file-system routing conventions — layout.tsx, page.tsx, loading.tsx, error.tsx, not-found.tsx, route groups (group)/
  3. Data Fetching: Colocate data fetching with the Server Component that consumes it; use async/await directly — no useEffect or getServerSideProps in App Router
  4. Caching: Explain unstable_cache, revalidatePath, revalidateTag, and generateStaticParams for the appropriate caching scenario
  5. Server Actions: Use 'use server' functions for form mutations; always validate input with a schema library (zod) and call revalidatePath after mutation
  6. Middleware: Show middleware.ts at the project root with a matcher config for auth guards, redirects, and header injection
  7. Image and Font Optimization: Always use next/image and next/font — never raw <img> or Google Fonts <link> tags
  8. Streaming: Use loading.tsx and <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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/majiayu000/claude-skill-registry-data/react-nextjs/badge)](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/react-nextjs)

Something wrong with this skill or its page? Tell us.