🎯

nextjs

🎯Skill

from blencorp/claude-code-kit

VibeIndex|
What it does

Provides expert guidance, best practices, and auto-activated code generation for Next.js 15+ App Router, server components, and server actions.

πŸ“¦

Part of

blencorp/claude-code-kit(10 items)

nextjs

Installation

npxRun with npx
npx github:blencorp/claude-code-kit
πŸ“– Extracted from docs: blencorp/claude-code-kit
3Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Overview

Claude Code Kit

# Claude Code Kit

Claude Code infrastructure with auto-activating skills and framework-specific kits.

Install complete Claude Code infrastructure in 30 seconds with automatic framework detection and skill auto-activation.

Quick Start

```bash

npx github:blencorp/claude-code-kit

```

What happens:

  1. Detects your frameworks (Next.js, React, Express, Prisma, etc.)
  2. Asks which kits to install
  3. Copies hooks, agents, commands, and skills to .claude/
  4. Configures automatic skill activation via skill-rules.json
  5. Installs everything in < 30 seconds

Result: Skills automatically activate when you need them based on your prompts, file edits, and technology usage.

---

What's a Kit?

A kit is a framework-specific package that includes:

  • Skill - Best practices, patterns, and examples for the framework
  • Auto-activation triggers - Keywords and patterns that activate the skill
  • Resources - Detailed guides organized by topic
  • Detection logic - Automatic framework detection

When installed, kits make Claude Code an expert in your stack.

---

Available Kits

Frontend Kits

| Kit | Description | Documentation |

|-----|-------------|---------------|

| Next.js | Next.js 15+ App Router, Server Components, Server Actions | [README](cli/kits/nextjs/README.md) |

| React | React 19 hooks, Suspense, lazy loading, TypeScript patterns | [README](cli/kits/react/README.md) |

| shadcn/ui | shadcn/ui component library with Tailwind CSS | [README](cli/kits/shadcn/README.md) |

| Tailwind CSS | Tailwind v4 utilities, responsive design, theming | [README](cli/kits/tailwindcss/README.md) |

| Material-UI | MUI v7 components, sx prop styling, theming | [README](cli/kits/mui/README.md) |

| TanStack Router | File-based routing, loaders, type-safe navigation | [README](cli/kits/tanstack-router/README.md) |

| TanStack Query | Data fetching with useSuspenseQuery, cache management | [README](cli/kits/tanstack-query/README.md) |

Backend Kits

| Kit | Description | Documentation |

|-----|-------------|---------------|

| Express | Express.js routing, middleware, controllers | [README](cli/kits/express/README.md) |

| Node.js | Layered architecture, async patterns, error handling | [README](cli/kits/nodejs/README.md) |

| Prisma | Prisma ORM query patterns, repository pattern, transactions | [README](cli/kits/prisma/README.md) |

All kits are auto-detected during installation based on your package.json and project structure.

---

Core Infrastructure

Every installation includes:

Hooks (6)

Essential (Auto-configured):

  • skill-activation-prompt (UserPromptSubmit) - Analyzes prompts and suggests relevant skills automatically
  • post-tool-use-tracker (PostToolUse) - Tracks file changes to maintain context across sessions

Optional (Requires customization):

  • tsc-check (Stop) - TypeScript compilation check (monorepo-friendly)
  • trigger-build-resolver (Stop) - Auto-launches build-error-resolver agent on build failures
  • error-handling-reminder (Stop) - Gentle reminders for error handling patterns
  • stop-build-check-enhanced (Stop) - Enhanced build checking with smart filtering

Agents (6)

Specialized assistants for complex tasks:

  • code-architecture-reviewer - Reviews code for adherence to best practices and architectural consistency
  • code-refactor-master - Refactors code for better organization, cleaner architecture, improved maintainability
  • documentation-architect - Creates comprehensive documentation from code and memory
  • plan-reviewer - Reviews development plans for completeness and potential issues
  • refactor-planner - Analyzes code structure and creates comprehensive refactoring plans
  • web-research-specialist - Researches technical solutions across GitHub, Stack Overflow, Reddit, forums

Commands (6)

Slash commands for common workflows:

  • /build-and-fix - Builds project and automatically fixes errors
  • /code-review - Conducts comprehensive code review with best practices
  • /dev-docs - Creates strategic development plans with structured task breakdown
  • /dev-docs-update - Updates development documentation before context compaction
  • /route-research-for-testing - Maps edited routes and launches comprehensive tests
  • /test-route - Tests authenticated API routes with proper auth context

Skills (1)

  • skill-developer - Meta-skill for creating and managing Claude Code skills following Anthropic best practices

---

How It Works

Auto-Activation System

Skills automatically activate based on:

  1. Prompt Keywords

- Example: "create a table component" β†’ shadcn skill activates

- Example: "query the database" β†’ Prisma skill activates

  1. Intent Patterns (Regex)

- Example: "add.*authentication" β†’ relevant auth patterns activate

- Example: "optimize.*component" β†’ React performance skill activates

  1. File Path Triggers

- Editing app/*/.tsx β†’ Next.js skill activates

- Editing prisma/schema.prisma β†’ Prisma skill activates

  1. Content Patterns

- File contains useQuery( β†’ TanStack Query skill activates

- File contains createFileRoute β†’ TanStack Router skill activates

All configured in .claude/skills/skill-rules.json (auto-generated during install).

What Gets Installed

```

your-project/

└── .claude/

β”œβ”€β”€ hooks/ # Automation scripts

β”‚ β”œβ”€β”€ skill-activation-prompt.*

β”‚ β”œβ”€β”€ post-tool-use-tracker.sh

β”‚ └── ... (4 optional hooks)

β”œβ”€β”€ agents/ # Specialized assistants

β”‚ β”œβ”€β”€ code-architecture-reviewer.md

β”‚ β”œβ”€β”€ refactor-planner.md

β”‚ └── ... (4 more agents)

β”œβ”€β”€ commands/ # Slash commands

β”‚ β”œβ”€β”€ dev-docs.md

β”‚ β”œβ”€β”€ build-and-fix.md

β”‚ └── ... (4 more commands)

└── skills/ # Skills + auto-activation

β”œβ”€β”€ skill-developer/

β”œβ”€β”€ nextjs/ # If installed

β”œβ”€β”€ react/ # If installed

β”œβ”€β”€ shadcn/ # If installed

└── skill-rules.json # Auto-activation config

```

---

Usage Examples

Installing for Next.js + shadcn Project

```bash

cd my-nextjs-app

npx github:blencorp/claude-code-kit

```

Detects:

  • Next.js (from package.json)
  • React (from package.json)
  • shadcn/ui (from components.json)
  • Tailwind CSS (from tailwind.config.ts)

Prompts: "Install these detected kits? (Y/n)"

Result: Next.js, React, shadcn, and Tailwind skills auto-activate when you:

  • Ask: "create a server component with a data table"
  • Edit: app/dashboard/page.tsx
  • Mention: "use shadcn table component"

---

Installing for Express Backend

```bash

cd my-api

npx github:blencorp/claude-code-kit

```

Detects:

  • Express (from package.json)
  • Node.js (module type)
  • Prisma (from prisma/schema.prisma)

Prompts: "Install these detected kits? (Y/n)"

Result: Express, Node.js, and Prisma skills auto-activate when you:

  • Ask: "create an API route for users"
  • Edit: routes/users.ts
  • Mention: "query users from database"

---

Installing for Full-Stack App

```bash

cd my-fullstack-app

npx github:blencorp/claude-code-kit

```

Detects both frontend and backend kits automatically

Prompts: Select from detected frameworks

Result: Complete coverage of your entire stack

---

Re-running to Add More Kits

```bash

npx github:blencorp/claude-code-kit

```

Detects: Existing installation

Offers:

  • Update existing kits
  • Add new kits
  • Keep current setup

---

Contributing Kits

Want to add support for a new framework? Here's how to create a kit:

Kit Structure

```

cli/kits/your-framework/

β”œβ”€β”€ kit.json # Metadata and detection

β”œβ”€β”€ skills/

β”‚ └── your-framework/

β”‚ β”œβ”€β”€ SKILL.md # Main skill file (<500 lines)

β”‚

More from this repository9

🎯
tailwindcss🎯Skill

Provides expert Tailwind CSS guidance, offering v4 utility generation, responsive design patterns, theming recommendations, and intelligent component styling strategies.

🎯
shadcn🎯Skill

Provides intelligent component generation and integration guidance for the shadcn/ui library, offering best practices for creating and customizing Tailwind CSS-based React UI components.

🎯
nodejs🎯Skill

nodejs skill from blencorp/claude-code-kit

🎯
route-tester🎯Skill

Tests and validates API routes by automatically generating comprehensive test cases, checking endpoint responses, and identifying potential routing issues or vulnerabilities.

🎯
mui🎯Skill

Skill

🎯
react🎯Skill

Provides React 19 best practices, advanced hooks, Suspense patterns, lazy loading techniques, and TypeScript-optimized component development strategies.

🎯
tanstack-router🎯Skill

Provides file-based routing, type-safe navigation, and loader support for React applications using TanStack Router, enabling declarative and efficient client-side routing.

🎯
prisma🎯Skill

Provides Prisma ORM-specific code generation, query optimization, repository pattern implementations, and database transaction best practices for Claude Code interactions.

🎯
express🎯Skill

Provides Express.js-specific code generation, routing best practices, middleware patterns, and controller implementation guidance for Node.js backend development.