Agent skill

Nextjs Fullstack

by cohen-liel in cohen-liel/hivemind

Next.js App Router patterns for full-stack applications. An agent skill from cohen-liel/hivemind.

Apache-2.0Auto-check passedBackend & APIs

Install Nextjs Fullstack

skills CLI
$ npx skills add cohen-liel/hivemind --skill nextjs-fullstack -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cohen-liel/hivemind nextjs-fullstack --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/nextjs-fullstack .claude/skills/nextjs-fullstack && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nextjs-fullstack
GitHub stars
110
Token cost
~844 tokens
SKILL.md length
95 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
Apache-2.0

At a glance

Next.js App Router patterns for full-stack applications. An agent skill from cohen-liel/hivemind.

  • Building Next.js apps with App Router
  • SKILL.md covers Project Structure, Server Component (default — no…, Client Component (interactive) and Server Action (form submit…, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Server Components

What it does

Nextjs Fullstack is an agent skill from cohen-liel/hivemind. Next.js App Router patterns for full-stack applications. Use when building Next.js apps with App Router, Server Components, API Routes, authentication, or full-stack React applications.

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs. It works with Next.js and React. The repository describes itself as: One prompt. A full AI engineering team. Go lie on the couch. 🧠. The licence is Apache-2.0.

When your agent uses it

  • Building Next.js apps with App Router
  • Server Components
  • Full-stack React applications

Example prompts

  • “/nextjs-fullstack”

What it can do on your machine

Read from SKILL.md and the folder at commit 918dd9b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nextjs Fullstack loads about 844 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 95 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~844

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cohen-liel/hivemind at commit 918dd9b, republished under its Apache-2.0 licence (© cohen-liel). 95 words, ~844 tokens.

Download SKILL.mdSave it as .claude/skills/nextjs-fullstack/SKILL.md (or your agent's skills folder).
name
nextjs-fullstack
description
Next.js App Router patterns for full-stack applications. Use when building Next.js apps with App Router, Server Components, API Routes, authentication, or full-stack React applications.

Next.js App Router Patterns

Project Structure

app/
  (auth)/           # Route group (no URL segment)
    login/page.tsx
    register/page.tsx
  (dashboard)/
    layout.tsx      # Dashboard shell with nav
    page.tsx        # Dashboard home
    users/page.tsx
  api/              # API routes
    auth/[...nextauth]/route.ts
    users/route.ts
  layout.tsx        # Root layout (html, body, providers)
  globals.css
components/
  ui/               # Reusable primitives (Button, Input, Modal)
  features/         # Feature-specific components
lib/
  db.ts             # Prisma client
  auth.ts           # NextAuth config
  validations.ts    # Zod schemas

Server Component (default — no 'use client')

tsx
// app/users/page.tsx — runs on server, has direct DB access
import { db } from '@/lib/db'

export default async function UsersPage() {
  const users = await db.user.findMany({ orderBy: { createdAt: 'desc' } })
  return (
    <div>
      {users.map(u => <UserCard key={u.id} user={u} />)}
    </div>
  )
}

Client Component (interactive)

tsx
'use client'
import { useState } from 'react'

export function Counter() {
  const [count, setCount] = useState(0)
  return <button onClick={() => setCount(c => c + 1)}>{count}</button>
}

Server Action (form submit without API route)

tsx
// app/actions.ts
'use server'
import { revalidatePath } from 'next/cache'
import { db } from '@/lib/db'

export async function createUser(formData: FormData) {
  const name = formData.get('name') as string
  if (!name) throw new Error('Name required')
  await db.user.create({ data: { name } })
  revalidatePath('/users')
}

// Usage in Server Component:
<form action={createUser}>
  <input name="name" />
  <button type="submit">Create</button>
</form>

API Route

tsx
// app/api/users/route.ts
import { NextRequest, NextResponse } from 'next/server'
import { getServerSession } from 'next-auth'

export async function GET(req: NextRequest) {
  const session = await getServerSession(authOptions)
  if (!session) return NextResponse.json({ error: 'Unauthorized' }, { status: 401 })
  const users = await db.user.findMany()
  return NextResponse.json(users)
}

export async function POST(req: NextRequest) {
  const body = await req.json()
  const parsed = UserCreateSchema.safeParse(body)
  if (!parsed.success) return NextResponse.json({ error: parsed.error }, { status: 400 })
  const user = await db.user.create({ data: parsed.data })
  return NextResponse.json(user, { status: 201 })
}

Metadata & SEO

tsx
export const metadata: Metadata = {
  title: 'My App',
  description: '...',
  openGraph: { title: '...', images: ['/og.png'] }
}

Rules

  • Default to Server Components — only use 'use client' when you need interactivity
  • Use Server Actions for mutations (simpler than API routes for form submits)
  • Validate ALL input with Zod on the server side
  • Protect routes in middleware.ts (not just in components)
  • Use loading.tsx for Suspense boundaries on slow data fetches
  • Use error.tsx for error boundaries
  • Never fetch data in Client Components if a Server Component can do it

© cohen-liel, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/nextjs-fullstack of cohen-liel/hivemind.

Open the folder on GitHubat commit 918dd9b

Compare with similar skills

Nextjs Fullstack next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nextjs Fullstack compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nextjs Fullstack this skillcohen-liel/hivemind110—~844Automated safety check: PassApache-2.0
Supabasecurvenote/curvenote1695 repos~2.2kAutomated safety check: PassCustom licence
Databuddydatabuddy-analytics/Databuddy1.2k—~2.1kAutomated safety check: PassAGPL-3.0
Rsc Data Optimizerjulianromli/opencode-template1441 repos~805Automated safety check: PassNone
Spiceflowremorses/spiceflow167—~1.9kAutomated safety check: PassMIT
Nextjs Ssrasmyshlyaev177/test-proxy-recorder112—~4.4kAutomated safety check: PassMIT

Similar skills

  • Supabase

    curvenote/curvenote

    A skill your agent uses when doing ANY task involving Supabase.

    169 GitHub starsUsed in 5 repos~2.2k tokens
    Backend & APIsAuto-check passed
  • Databuddy

    databuddy-analytics/Databuddy

    Integrate Databuddy analytics using the SDK, REST API, or MCP.

    1.2k GitHub stars~2.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Rsc Data Optimizer

    julianromli/opencode-template

    Optimize Next.js App Router data fetching by converting slow client-side fetching to fast server-side fetching using React Server Components (RSC).

    144 GitHub starsUsed in 1 repo~805 tokens
    Backend & APIsAuto-check passed
  • Spiceflow

    remorses/spiceflow

    Spiceflow is a super simple, fast, and type-safe API and React Server Components framework for TypeScript.

    167 GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Nextjs Ssr

    asmyshlyaev177/test-proxy-recorder

    Tag server-side fetches with the x-test-rcrd-id session header so SSR is recorded under the correct Playwright test session.

    112 GitHub stars~4.4k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Apollo Client

    apollographql/skills

    Guide for building React applications with Apollo Client 4.x.

    116 GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from cohen-liel/hivemind

All 33 skills in this repo
  • API Design

    cohen-liel/hivemind

    REST API design principles and best practices. An agent skill from cohen-liel/hivemind.

    110 GitHub starsUsed in 1 repo~857 tokens
    Auto-check passed
  • Graphql API

    cohen-liel/hivemind

    GraphQL API design and implementation patterns. An agent skill from cohen-liel/hivemind.

    110 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Async Python

    cohen-liel/hivemind

    Python asyncio patterns for high-performance async code. An agent skill from cohen-liel/hivemind.

    110 GitHub stars~992 tokensUpdated 5 mo ago
    Auto-check passed
  • Celery Tasks

    cohen-liel/hivemind

    Celery background task patterns for Python apps. An agent skill from cohen-liel/hivemind.

    110 GitHub stars~1.1k tokensUpdated 5 mo ago
    Auto-check passed
  • Docker Deployment

    cohen-liel/hivemind

    Docker, docker-compose, and deployment configuration best practices.

    110 GitHub stars~674 tokensUpdated 5 mo ago
    Auto-check passed
  • E2E Testing

    cohen-liel/hivemind

    End-to-end testing patterns with Playwright. An agent skill from cohen-liel/hivemind.

    110 GitHub stars~1.2k tokensUpdated 5 mo ago
    Auto-check passed

Works with

Categories

Questions about Nextjs Fullstack

What does Nextjs Fullstack do?

Next.js App Router patterns for full-stack applications. An agent skill from cohen-liel/hivemind. Nextjs Fullstack is an agent skill from cohen-liel/hivemind.js App Router patterns for full-stack applications.

When should I use Nextjs Fullstack?

Nextjs Fullstack fits situations like: building Next.js apps with App Router; server Components; full-stack React applications.

How do I install Nextjs Fullstack in Claude Code?

Run `npx skills add cohen-liel/hivemind --skill nextjs-fullstack -a claude-code`. Or copy the skill folder (.claude/skills/nextjs-fullstack in cohen-liel/hivemind) into .claude/skills/nextjs-fullstack in your project. Claude Code loads it when a task matches its description.

How do I install Nextjs Fullstack in Codex?

Run `npx skills add cohen-liel/hivemind --skill nextjs-fullstack -a codex`. Or copy the skill folder (.claude/skills/nextjs-fullstack in cohen-liel/hivemind) into .agents/skills/nextjs-fullstack in your project. Codex loads it when a task matches its description.

Can I use Nextjs Fullstack in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cohen-liel/hivemind --skill nextjs-fullstack -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nextjs-fullstack, .gemini/skills/nextjs-fullstack, .github/skills/nextjs-fullstack and .opencode/skills/nextjs-fullstack in your project.

What does Nextjs Fullstack need to run?

SKILL.md names no scripts, command-line tools or credentials: Nextjs Fullstack is instructions for the agent only.

Does Nextjs Fullstack access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Nextjs Fullstack safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nextjs Fullstack use?

Nextjs Fullstack is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nextjs Fullstack use?

About 844 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nextjs Fullstack?

Skills that share tags, products or a category with Nextjs Fullstack: Supabase (curvenote/curvenote, 169 stars), Databuddy (databuddy-analytics/Databuddy, 1.2k stars), Rsc Data Optimizer (julianromli/opencode-template, 144 stars) and Spiceflow (remorses/spiceflow, 167 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nextjs Fullstack?

cohen-liel (a GitHub user) maintains it in cohen-liel/hivemind, which has 110 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on April 18, 2026.

Source: cohen-liel/hivemind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.