cc-skill:nextjs-app-router-conventions
Claude Code skill · anthropic · active
This skill guides you on how to organize and build Next.js routes, pages, and API endpoints the way Jay does it. It tells you where files go, which parts should run on the server versus the browser, and when to use Server Actions instead of API routes.
A developer building web pages or API endpoints in a Next.js project.
When you mention Next.js routes, App Router, page.tsx, layout.tsx, server actions, API routes, route handlers, loading states, or error boundaries.
- "How do I set up a new authenticated page in the app directory?"
- "Should this be a Server Action or an API route?"
- "Where should I put my component files?"
You know it worked because you get clear guidance on file structure, which components should have 'use client' at the top, and whether to use a Server Action or API route for your specific use case.
How this performs
Cloud-automation runs, real outputs, and feedback.
No cloud runs yet for this skill.
Once you deploy it (above), every run will show up here with the actual output, exact cost, and a thumbs button so you can rate quality over time.
Claude Code skill at /Users/olanrewajukareem/.claude/skills/nextjs-app-router-conventions/SKILL.md. Auto-triggered by description matching when you type in Claude Code, OR embedded into agent system prompts (LeadFlow framework skills are wired this way). Auto-synced from disk every 6h via launchd.
Use this skill when building Next.js routes, pages, layouts, server components, server actions, or API routes in any Jay project. Triggers on "Next.js route", "App Router", "page.tsx", "layout.tsx", "server action", "API route", "route handler", "loa
Local Claude Code use (optional)
Install the SKILL.md file locally so this skill is available the next time you open Claude Code on your Mac. Most users skip this and just use cloud deployments above.
Save this skill to ~/.claude/skills/nextjs-app-router-conventions/SKILL.md so Claude Code auto-loads it whenever its description matches your prompt.
{
"source": "global",
"description": "Use this skill when building Next.js routes, pages, layouts, server components, server actions, or API routes in any Jay project. Triggers on \"Next.js route\", \"App Router\", \"page.tsx\", \"layout.tsx\", \"server action\", \"API route\", \"route handler\", \"loading state\", or \"error boundary\". Applies Jay's App Router conventions for component placement, server vs client splits, and when to use which primitive."
}{
"method": "embed_in_prompt",
"skill_path": "/Users/olanrewajukareem/.claude/skills/nextjs-app-router-conventions/SKILL.md"
}That means either: (a) the system has not had a task that matched its strengths, (b) a more cost-effective alternative was picked by the router, or (c) the related automation is toggled OFF on /automations. The Recommender reviews idle tools weekly and may suggest killing it.