Skip to content

laguagu/claude-code-nextjs-skills

v1.0.0MIT

Agent skills for building Next.js + AI SDK applications: app scaffolding, shadcn/ui, RSC and caching, pgvector search, SEO, and browser verification.

🧠 Claude Code AI Skills

Skills for building AI applications, especially Next.js + bun runtime.

Packaged as an Agent Plugin (v1.0.0), so the same skills load in Claude Code, ChatGPT, Codex, Cursor, GitHub Copilot, VS Code and Kiro. See Installation.

⚑ Quick Start

# Start a full-stack AI app
/ai-app

# Or use individual skills as needed
/ai-sdk-6              # AI agents & streaming
/postgres-semantic-search  # Vector/hybrid search

πŸ“‹ Skills

πŸš€ App Generators

SkillDescription
ai-appFull-stack AI app (chatbots, agents, dashboards)
nextjs-shadcnNext.js 16 + shadcn/ui + bun
nextjs-chatbotProduction chatbot (HITL, persistence, GDPR)

🎨 UI & Design

SkillDescription
shadcnshadcn/ui component management
iconsSourcing icons, flags, file-type badges and brand logos (Iconify, svgl)
frontend-designProduction-grade frontend interfaces
web-design-guidelinesUI/UX review against Web Interface Guidelines
chrome-devtoolsLive browser inspection via Chrome DevTools MCP (DOM, console, network, performance)
goBrowser smoke test β€” verify recent UI changes work

⚑ Next.js

SkillDescription
next-best-practicesRSC, async APIs, routing, optimization
react-best-practicesReact/Next.js performance optimization (Vercel)
cache-componentsCache Components & PPR
nextjs-seoSEO (metadata, sitemaps, JSON-LD)

πŸ€– AI SDKs

SkillDescription
ai-sdkVercel AI SDK general guide (official)
ai-sdk-6AI SDK v6 (agents, streaming, tools)
ai-sdk-7AI SDK v7 (WorkflowAgent, harnesses, v6β†’v7 migration)
ai-elementsAI Elements UI components
openai-agents-sdkOpenAI Agents SDK (Python)

πŸ—„οΈ Database & Search

SkillDescription
postgres-semantic-searchpgvector semantic & hybrid search
supabase-postgres-best-practicesPostgres optimization (Supabase)

πŸ› οΈ Tooling

SkillDescription
skill-creatorCreate, test, and optimize custom skills (extended)
handoffWrite a HANDOFF.md so a fresh agent can continue your work
hetzner-cloudHetzner Cloud infrastructure via the hcloud CLI

πŸ€– Custom Agents

Example agents for common workflows. Installed automatically with the plugin; otherwise copy to .claude/agents/.

AgentDescription
code-simplifierRefines code for clarity (DRY/KISS/YAGNI)
e2e-testerE2E testing via DevTools MCP, Playwright, or Claude in Chrome

πŸ“¦ Based On

SkillOriginal SourceLicense
ai-sdkvercel/aiApache 2.0
cache-componentsvercel/next.jsMIT
react-best-practicesvercel-labs/agent-skills-
skill-creatoranthropics/skills (extended)Apache 2.0
next-best-practicesskills.sh/vercel-labs/vercel-plugin-
web-design-guidelinesskills.sh/vercel-labs/agent-skills-
supabase-postgres-best-practicessupabase/agent-skillsMIT
chrome-devtoolsaddyosmani/agent-skills-
shadcnshadcn/uiMIT

πŸ”„ Updating

Skills under Based On drift as their upstreams change. To refresh one: fetch the upstream folder, diff it against the local copy, and copy over the changed content files β€” but keep the local SKILL.md frontmatter, since name/description and cross-skill references are often customized. Skip a blind npx skills update: there is no lock file and some folders are renamed from upstream.

πŸ“₯ Installation

Claude Code (plugin)

The repo doubles as its own marketplace, so no clone is needed:

/plugin marketplace add laguagu/claude-code-nextjs-skills
/plugin install claude-code-nextjs-skills@laguagu

That installs all 23 skills, both agents, and the two MCP servers from .mcp.json. Plugin skills are namespaced, so they invoke as /claude-code-nextjs-skills:go rather than /go, and model-invoked skills trigger as usual. Update later with /plugin marketplace update laguagu.

To try it without installing, clone the repo and run claude --plugin-dir ./claude-code-nextjs-skills.

Other agents (Agent Plugin)

This repo is also an Agent Plugins v1.0.0 package: plugin.json at the root, skills as immediate children of skills/, and MCP servers in mcp.json. Clone it and point a plugin-capable client at the folder:

git clone https://github.com/laguagu/claude-code-nextjs-skills.git

ChatGPT, Codex, Cursor, GitHub Copilot, VS Code and Kiro read this format, but the loading step itself is client-specific β€” installation, enablement and updates are deliberately outside the spec, so check your client's docs. What the spec does guarantee is that all of them read the same skills/ and mcp.json, with no per-client rearranging.

Individual skills

Copy or symlink single skill folders to:

  • Claude Code: ~/.claude/skills/ (global) or .claude/skills/ (project)
  • Other agents (Codex, Windsurf, Cursor): ~/.agents/skills/ or .agents/skills/

πŸ”§ MCP Servers

Recommended MCP servers that pair with these skills:

{
  "mcpServers": {
    "next-devtools": {
      "command": "npx",
      "args": ["-y", "next-devtools-mcp@latest"]
    },
    "chrome-devtools": {
      "command": "npx",
      "args": ["chrome-devtools-mcp@latest"]
    },
    "ai-elements": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://registry.ai-sdk.dev/api/mcp"]
    }
  }
}

Two files carry this, on purpose: mcp.json is the portable Agent Plugins copy that any plugin-capable client reads, and .mcp.json is the Claude Code project file. Both wire up next-devtools and ai-elements and must be kept in step. chrome-devtools is optional and shown here for reference only.

  • Next.js DevTools MCP β€” pairs with next-best-practices, e2e-tester
  • Chrome DevTools MCP β€” pairs with chrome-devtools, go, e2e-tester. Install via CLI: claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest
  • AI Elements registry MCP β€” pairs with ai-elements, ai-app, nextjs-chatbot

πŸ“š See Also

  • agents-best-practices β€” .agents-first best practices, auditing (improving-skills), skill creation (skill-creator), and discovery (skill-finder) for cross-platform agent skills

πŸ“„ License

MIT (this repository)

Some skills are extended from open source originals β€” see Based On for details.