Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mblode avatar

Scaffold Nextjs

  • 406 installs
  • 74 repo stars
  • Updated August 5, 2026
  • mblode/agent-skills

scaffold-nextjs is a Claude agent skill that generates a production-ready Next.js turborepo with TypeScript, Tailwind, Blode UI, Ultracite tooling, and Vercel deployment so developers starting web projects skip repetitiv

About

scaffold-nextjs is an mblode/agent-skills agent skill (version 1.0.1) that scaffolds a production-ready Next.js turborepo through an 8-phase workflow: gather project metadata, create the Next.js app, install Blode UI from ui.blode.co, add Agentation, install Ultracite (Biome-based lint/format with husky), convert to Turborepo, configure GitHub and Vercel, and run a pre-launch checklist. The skill enforces opinionated conventions—no src directory, no ESLint (Ultracite replaces it), blode-icons-react instead of lucide-react—and ships reference files for turbo.json, biome.jsonc, next.config.ts, and deploy steps. Developers reach for scaffold-nextjs when spinning up marketing sites or web apps that need consistent TypeScript, Tailwind, shadcn CLI, and CI-ready monorepo structure, with handoffs to optimise-seo and audit-ui skills after deployment.

  • Opinionated Next.js project bootstrap
  • App router and layout defaults
  • TypeScript and styling conventions
  • Agent-ready file structure
  • Faster first feature PRs

Scaffold Nextjs by the numbers

  • 406 all-time installs (skills.sh)
  • +22 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #659 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mblode/agent-skills --skill scaffold-nextjs

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs406
repo stars74
Last updatedAugust 5, 2026
Repositorymblode/agent-skills

How do you scaffold a production Next.js turborepo?

Generate a Next.js app scaffold with routing, layout, and conventions so agents start frontend work from a consistent production-ready baseline.

Who is it for?

Developers starting a new Next.js marketing site or web app who want an opinionated turborepo with Blode UI and Vercel deploy baked in.

Skip if: Teams with existing Next.js monorepos who only need minor feature work or who require ESLint and lucide-react instead of Ultracite and blode-icons-react.

When should I use this skill?

User asks to create a Next.js project, bootstrap a turborepo, scaffold a new website, or start a production-ready web app from scratch.

What you get

Next.js turborepo monorepo, Blode UI components, Ultracite config, GitHub repo, and Vercel deployment checklist.

  • Next.js turborepo
  • turbo.json and biome.jsonc configs
  • Vercel deployment setup

By the numbers

  • Runs an 8-phase scaffolding workflow from app creation to pre-launch checklist
  • Skill package version 1.0.1
  • Includes 3 reference files: app-setup.md, turbo-configs.md, deploy-and-launch.md

Files

SKILL.mdMarkdownGitHub ↗

Scaffold Next.js

Scaffold a Next.js turborepo with full tooling, GitHub, and Vercel deployment.

  • IS: bootstrapping a brand-new Next.js turborepo end to end: app creation, Blode UI, Ultracite tooling, turborepo conversion, GitHub, and Vercel.
  • IS NOT: scaffolding a TypeScript CLI or npm package (use scaffold-cli), designing folder structure or module contracts for an existing app (use define-architecture), or choosing visual direction and palettes (use ui-design).

This is a low-freedom workflow. Commands live in the reference files and are exact: run them as written, in phase order. The reference files are the single source of truth for commands; do not reconstruct them from memory.

Reference Files

FileRead When
references/app-setup.mdStarting Phase 2: create-next-app flags, shadcn + Blode registry setup, Agentation, Ultracite commands, and the move into apps/web/
references/turbo-configs.mdStarting Phase 6: root package.json, turbo.json, .gitignore, knip.json, workspace scripts, next.config.ts
references/deploy-and-launch.mdStarting Phase 7: GitHub setup, Vercel deployment, favicon, OG images, validation checklist

Scaffold Workflow

Copy this checklist to track progress:

Scaffold progress:
- [ ] Phase 1: Gather project info
- [ ] Phase 2: Create Next.js app
- [ ] Phase 3: Install Blode UI components
- [ ] Phase 4: Install Agentation
- [ ] Phase 5: Install Ultracite
- [ ] Phase 6: Convert to Turborepo
- [ ] Phase 7: GitHub and Vercel setup
- [ ] Phase 8: Pre-launch checklist
- [ ] Validation: run the checklist in deploy-and-launch.md

Phase 1: Gather project info

Collect from the user (ask only what was not provided):

VariableExampleDefaultUsed in
{{name}}acme-webnone (required)Root package.json, directory name, README
{{description}}Marketing site for Acmenone (required)App package.json, README
{{repo}}acme-corp/acme-webnone (required)GitHub remote URL
{{domain}}acme.comnone (ask if missing)Vercel custom domain, metadataBase
{{author}}Your Namenone (required)package.json author
{{year}}2026current yearLICENSE

Phase 2: Create Next.js app

Load references/app-setup.md and run the create-next-app command exactly as written there (it pins the linter, React Compiler, and package-manager flags). Confirm the app loads at http://localhost:3000 before moving on.

Phase 3: Install Blode UI components

Follow the Blode UI section in references/app-setup.md: shadcn init, then register the @blode namespace, then add components. Registration must come before any add @blode/... call. Always use blode-icons-react for icon imports (never lucide-react).

Phase 4: Install Agentation

Follow the Agentation section in references/app-setup.md: install the package and patch app/layout.tsx with the dev-only <Agentation /> guard. Optionally add Google Analytics via @next/third-parties.

Phase 5: Install Ultracite

Follow the Ultracite section in references/app-setup.md: delete the Biome placeholder config, run ultracite init with the exact flags listed, then verify with npx ultracite fix and npx ultracite check.

Phase 6: Convert to Turborepo

Move the app into apps/web/ (commands at the end of references/app-setup.md), then load references/turbo-configs.md and:

1. Generate root package.json, turbo.json, knip.json, and .gitignore from the templates. 2. Update apps/web/package.json scripts to the turbo-compatible block in the reference. 3. Verify apps/web/next.config.ts has reactCompiler: true. 4. Run npm install from the root. 5. Verify npm run dev works from the root (turbo runs apps/web).

Phase 7: GitHub and Vercel setup

Load references/deploy-and-launch.md. Create the GitHub repo with gh, deploy to Vercel, and attach {{domain}}.

Phase 8: Pre-launch checklist

Follow the favicon and OG image steps in references/deploy-and-launch.md, then run the validation checklist at the end of that file. The scaffold is done only when every validation item passes; "the site loads" is not sufficient evidence.

Placeholder Reference

All templates use {{variable}} syntax. Before Phase 7, sweep for missed placeholders:

grep -rn '{{' --include='*.json' --include='*.ts' --include='*.tsx' --include='*.md' .

A {{name}} left in package.json makes npm install fail with an invalid-name error; a {{domain}} left in metadata ships broken OG URLs.

Gotchas

  • Do not add a src/ directory. The scaffold uses --no-src-dir; introducing src/ later breaks the @/* alias and every shadcn component path.
  • Do not add ESLint or Prettier. Ultracite owns lint and format via Oxlint + Oxfmt; a stray .eslintrc makes the editor disagree with the lefthook pre-commit hook.
  • Do not run oxlint or oxfmt ad hoc; use npx ultracite fix / npx ultracite check (or npm run fix / npm run check at the root) so config resolution matches the hook. The oxlint . / oxfmt . scripts inside apps/web/package.json exist only so turbo can orchestrate per-workspace tasks.
  • Do not configure git hooks manually. ultracite init writes lefthook.yml and a prepare: lefthook install script; adding husky or another hook manager double-runs or skips fixes.
  • Do not put app dependencies in the root package.json. The root holds only turbo and ultracite; app deps at the root break workspace isolation and turbo cache keys.
  • Do not run npx shadcn@latest add @blode/... before npx shadcn@latest registry add @blode=.... The unregistered namespace makes the add command fail.
  • Do not import from lucide-react. blode-icons-react is the icon library for Blode UI; mixed imports bundle two icon sets. Replace any generated lucide-react import paths.
  • Do not create apps/web/ by hand. Scaffold at the root first, then move it in Phase 6; hand-building skips create-next-app defaults (Tailwind wiring, alias config).
  • Do not deploy from the dashboard without checking the Root Directory. If Vercel serves a 404 or the wrong app, set the project Root Directory to apps/web in Settings > General.

Skill Handoffs

WhenRun
After deployment, optimise SEOoptimise-seo
Before launch, audit UI qualityui-audit
Before launch, add motion and animationui-animation

Related skills

How it compares

Pick scaffold-nextjs over bare create-next-app when you need a Turborepo monorepo with Blode UI, Ultracite, and Vercel deploy wired in one opinionated workflow.

FAQ

What does scaffold-nextjs install by default?

scaffold-nextjs installs a Next.js turborepo with TypeScript, Tailwind CSS, shadcn CLI, Blode UI from ui.blode.co, Agentation, Ultracite (Biome tooling), and GitHub plus Vercel deployment across 8 guided phases.

What conventions does scaffold-nextjs enforce?

scaffold-nextjs disables the src directory, replaces ESLint with Ultracite/Biome, uses blode-icons-react instead of lucide-react, and keeps app dependencies out of the root package.json per its reference templates.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.