Next.js app
From a first idea to a launched Next.js app: spec, design, test-first build, browser checks and SEO.
5 stages · 15 steps · 12 skills
Run it in Claude Code
Install its skills
One prompt installs the 12 skills it uses and skips the ones you already have.
Add the playbook skill
Save it as
.claude/skills/playbook-nextjs-app/SKILL.mdin your project. It runs the stages in order, asks before each new stage, and keeps its progress in.playbooks/nextjs-app.md.Add it to CLAUDE.md, if you like
A short block listing each stage and its skills, so every session knows the order.
Then ask Claude Code:
> Let's start a new Next.js app for booking tennis courts
Stages
Discovery
Know what you are building, and for whom, before any code exists.
Sets up spec-driven development for Claude Code in the project.
When: The project has no spec-kit setup yet.
specify init --here --integration claude
Done when: A written spec you have read, with every open decision answered.
Design
Settle the look and the main screens before building them.
- design-taste-frontendOptional
Designs public pages that do not look like a template.
When: The app has a landing or marketing page.
/design-taste-frontend <brief> - UI/UX Pro MaxOptional
Finds palettes, type pairings and styles to choose from.
When: You want options for colors and fonts before deciding.
python3 scripts/search.py "<query>"
Done when: DESIGN.md exists and you have approved the main screens.
Build
Build the features in the spec, test first, following React and Next.js practice.
Turns the spec and design into a plan of small tasks, each with its checks.
/superpowers:writing-plansBuilds the plan task by task, test first, with a review after each task.
/superpowers:subagent-driven-developmentChecks each page against Vercel's React and Next.js performance rules.
Help me optimize this Next.js pageReads the build, runtime and type errors straight from the dev server.
When: The dev server is running, on Next.js 16 or later.
Next Devtools, what errors are in my Next.js application?
Done when: Every feature in the spec works locally and the tests pass.
Verify
See the app work in a real browser, and check that destructive git and file commands are blocked.
Walks through the main flows in a real browser, as a visitor would.
dev-browser --headlessRecords how the main page loads and points at what slows it down.
performance_start_trace / performance_stop_traceConfirms the hook that blocks destructive git and file commands is active.
npx -y cc-safety-net doctor
Done when: The main flows pass in a browser with no console errors, and you have seen the result.
Launch
Make the public pages easy to find and good at turning visitors into sign-ups.
Finds technical SEO problems while they are still cheap to fix, before launch.
/seo-audit
Done when: The audit's critical issues are fixed and you agree the pages are ready.