Agentic AI Coding / beginner

The Plan-First Protocol

Stop vibe coding. Apply the research-plan-implement workflow that prevents runaway Claude Code sessions and ships output you can trust.

6 chaptersEPUB + PDF + HTMLbeginner guide pricingDRM-free files
The Plan-First Protocol book cover
The problem

It starts with the situation you're actually in.

Hand an AI coding assistant a vague request and let it improvise, and you get scope creep, silent wrong turns, and sessions that spiral until you can no longer tell what changed or why.

You finished a feature on Friday. On Monday you open the same project to change one thing — and you genuinely don't remember what the assistant touched, why it touched it, or whether the tests that pass are testing the right behavior.
Outcomes

What you'll be able to do.

When the doing outruns the deciding

You type, "the dashboard is slow, can you make it faster?" and the assistant starts moving — adding a caching layer, rewriting a database query, pulling in a new lazy-loading library, and changing how three components fetch their data.

What "research" actually means here

You hand the assistant a task: "Add pagination to the results list." Some of what it produces might even work.

The drift you don't see coming

Once the assistant starts editing files, within minutes you face a choice you may not notice you're making: read every change as it lands, or scroll past and trust that the plan is holding.

A plan is a contract you can read in two minutes

A plan answers a different question: what are we about to change, and how will I know it worked? Skipping straight from that question to actual edits is where most beginners lose control.

Inside the book

A closer look at the work inside.

Practice

Take a real task you'd otherwise hand over in one line — "add a search box," "clean up this messy file," "set up tests for this module." Before opening your assistant, write three short bullets, starting with Research: what would I want the assistant to find out first?

When the doing outruns the deciding checklist

  • The Plan-First Protocol is three phases with different jobs: research (read and report), plan (propose and get approval), implement (build only the approved plan).
  • One long prompt collapses research, decisions, and execution into a single hidden motion. Separating them creates checkpoints you control at the points where wrong turns would.
  • Phases are joined by handoffs: a research report, then an approved plan. Each phase's "must not" guards against one of another chapter's failure modes.
  • The rule for moving forward: advance only when the current phase's output could be handed to a stranger who'd know what to do.
  • Your real work lives at those two review gates — judging whether there's enough context to plan, and whether the plan is worth building.

Why three phases beat one long prompt

It's tempting to think one very detailed prompt could get the same result — explain the task, the constraints, and the standards all at once, and let the assistant handle everything. That instinct is reasonable, and it fails for a specific reason.

The same task, two ways

Suppose the task is "let users export their reports as PDF." Run as one prompt, the assistant picks a PDF library, decides where the export button goes, invents a file-naming scheme, and wires it all up.

The protocol in one sentence

The Plan-First Protocol breaks one large request into three separate phases, each with a different job and a clear stopping point. Research: the assistant reads and reports — no code, no changes, just an account of what exists and what the task involves. Plan: the assistant proposes.

The Plan-First Protocol visual framework
The Plan-First Protocol frameworkInside the book
Visual preview

A diagram you can keep open while you work.

Table of contents

6 chapters, built to be read in order.

01

Why Vibe Coding Breaks Down

02

The Research-Plan-Implement Protocol at a Glance

03

Research First — Gathering Context Before Any Code

04

Writing a Plan You Can Approve

05

Implementing Against the Plan — and Keeping It on Track

06

Your Plan-First Practice, From Here On

136
Pages
8,898
Words
26
Exercises, checklists & tools
6
Chapters
Formats

Three formats. One purchase.

EPUB, PDF, and HTML are included so the book can work on an e-reader, as a designed copy, or as a searchable desk reference.

EPUB

For e-readers and reading apps.

PDF

The designed edition with diagrams and layouts intact.

HTML

Searchable, copy-pasteable, and practical as a reference.

Complete guide

The Plan-First Protocol

$6.99
beginner guide pricing
  • EPUB + PDF + HTML included in one purchase
  • 6 chapters from the complete guide
  • DRM-free files for your own devices
  • 7-day refund review for duplicate purchases, access issues, wrong files, or materially defective downloads
Add to cart - $6.99
Secure checkout / instant download / tax handled at checkout
Before you buy

Questions, answered.

Does this include the full book?

Yes. You get the complete edition, including the chapter sequence and internal materials described on this page.

Which formats are included?

EPUB, PDF, and HTML are included so you can read on an e-reader, keep a designed copy, or use the searchable browser version.

What is the refund policy?

Because this is an instant digital download, broad change-of-mind refunds are not offered after the files have been accessed. Refund requests are reviewed within 7 days for duplicate purchases, accidental purchases before access, access failures we cannot fix, wrong files, corrupted files, or pages that materially misdescribe the book.