Skip to content

Introduction

Start here, 3 min read

These docs describe how I take an issue from first read to merged pull request with Claude Code, with evidence at every step. You read them in any order, a page at a time.

Clean Merge is the software development lifecycle I run on every issue, as an AI developer on a production app: seven phases, from sizing the issue to shipping the pull request, each with the tool I use in it and what proves it worked. The pages describe that routine, the harness around the agent that makes its work checkable, the two plugins I hand it, and the principles I check a screen against.

The running example is the build of these docs. Every page you read was sized, specified, built by an agent on its own branch, verified by gates, reviewed, and shipped with a journal entry that records who judged each ticket, and when. The pages draw on that record rather than on a hypothetical project.

  • Not a Claude Code tutorial. The pages assume you have run it on real work. If you have not, the quickstart (source: Anthropic: Claude Code quickstart) installs it, signs you in and walks you through a first change; come back after that.
  • Not a prompt collection. Each phase names what you type, but the routine around the command matters more than the command: when to run it, what it produces, and what proves it worked.
  • Not a speed pitch. Nothing here helps you start a product from nothing in a weekend. Everything here is about shipping on a codebase that already has users, reviewers and a main branch to protect.

Engineers and developers, in the routine they already have.

  • You ship on an existing codebase, where the day runs on issues, branches, pull requests and reviews.
  • You use Claude Code at work, or are adopting it, and want one routine per issue rather than a prompt collection.
  • You answer for what you merge, so the proof comes before the pull request.
  • You work front end first, though the routine does not depend on it.

Not for learning Claude Code from zero, or for greenfield speed.

On your next issue, you will be able to:

  • size it first, and give it only the process its size deserves;
  • settle what done means before any code, with the agent finding the facts and you making the decisions;
  • hand a ticket to the agent on its own branch, and get back a claim with its evidence;
  • put checks where your attention used to go, so a mistake that repeats becomes a gate instead of a reminder;
  • judge the pull request in a set order, from the evidence to the diff to the verdict;
  • ship it with its evidence, and leave a record the next issue starts from.

Any order. The sidebar lists seven sections, every page carries its reading time, and no page assumes you read the one before it. If you prefer a path, the previous and next links at the end of every page walk the docs in order, across sections, and end where they started.

Three ways in:

  1. Anthropic: Claude Code quickstart code.claude.com