Skip to main content
AI-Native

Claude Code + boilerplate: the new AI builder workflow

The end-to-end flow with Claude Code on an AI-native boilerplate. What the human does, what the agent does, and why the result is 5x faster.

Israel Palma Sebastià
3 min read

This blog belongs to CREA.MBA, a Next.js boilerplate with auth, payments and an admin panel already set up. See what's included

The new AI builder's flow in 2026 isn't "open VS Code and start typing." It's open Claude Code and let the agent start on your boilerplate. The productivity gap is brutal.

This guide explains the concrete flow: how you work in an AI-native boilerplate with Claude Code, what the human does, what the agent does.

End-to-end flow

Human                                       Agent
─────────────                               ─────────────
1. Idea / requirement
2. Short prompt
                                            3. Reads root CLAUDE.md
                                            4. Reads feature CLAUDE.md
                                            5. Proposes a plan
6. Approves or adjusts
                                            7. Implements following patterns
                                            8. Runs /verify
                                            9. Fixes errors
10. Reviews the PR
                                            11. Commits
12. Merge

The human does 4 things: idea, prompt, approve plan, review PR. Everything else is the agent.

Step 1: launch Claude Code

cd my-saas
claude

Claude automatically reads:

  • Root CLAUDE.md
  • ~/.claude/CLAUDE.md (your global instructions)
  • .claude/rules/*.md if they exist
  • Available skills and agents

That's context you don't have to repeat.

Step 2: minimal prompt

You no longer need to dump the whole context. This is enough:

"Add an endpoint to subscribe to the newsletter following the project patterns"

The agent already knows:

  • Your boilerplate uses createApiHandler
  • Emails go through Resend
  • Data hits Prisma
  • Errors log with @/lib/errors/logger

You say WHAT. The HOW comes from CLAUDE.md.

Step 3: plan review

Before typing, the agent floats a short plan:

"I'll create:

  • src/app/api/newsletter/subscribe/route.ts with createApiHandler
  • Zod schema for email
  • Resend call to confirm subscription
  • success/error log Proceed?"

If it's right → "yes". If something's missing → fix it in one line. You haven't typed code.

Step 4: implementation + verification

The agent implements. Then runs /verify or the equivalent. If it fails:

  • Reads the error
  • Fixes it
  • Retries

You read the result, not the process.

Step 5: commit and PR

If you have the rule "always conventional commits and open a PR", the agent:

  • Does selective git add
  • Writes a descriptive message
  • Opens a PR with summary + test plan

You merge once you've reviewed.

What changes vs Cursor / Copilot

Stage Cursor / Copilot Claude Code + boilerplate
Context You re-open files manually Reads CLAUDE.md automatically
Patterns Autocomplete suggestions Full implementation following rules
Verification You run tests Agent verifies on its own
Iteration Accept or reject lines Accept plan, not lines

"Keyboard assistant" and "junior engineer with your repo in their head" are not the same thing.

Typical flow mistakes

1. No CLAUDE.md and generic prompts: the agent improvises, you fix.

2. Skipping the plan: if you let the agent go straight to code, you'll spend more time reviewing. Always ask for the plan first.

3. Accepting PRs without review: the agent is senior, not infallible. Read at least the key files before merging.

4. Not updating CLAUDE.md: when you see the agent making the same mistake 3 times, the rule isn't there. Add it.

Bottom line

The Claude Code + AI-native boilerplate flow is what separates today's fast AI builders from the rest. It's not magic: it's discipline about where rules live.

If your repo is ready, you ship features in hours that used to take days. If it isn't, you keep "getting help from AI" instead of building with it.

Thin line. Crystal clear.

Enjoyed this article?

Subscribe for more tutorials and tips on building products with AI