Guided Coding Help and Information
When Claude Code makes a fix for you, you are left with some questions. Do I understand the change it made? How was it tested? What remains uncertain?
Guided Coding is a short set of instructions for Claude Code that is built to answer those questions for every change. You give Claude a bug or a bounded change. Claude makes the fix and, where feasible, writes a test that fails on the old code and passes on the new code; where it is not, the report says why and what evidence was used instead. Claude runs one review pass over the change, prepares an outside review by another AI assistant for hard or consequential changes, adds further checks only when the change needs them, and ends with a short report. You decide what to keep, and whether and when anything is pushed.
This is the procedure I use in my own software work. You can use it in any project managed with Git.
- Why Guided Coding and not just Claude Code?
- Why Guided Coding and not Vibe Coding?
- How Guided Coding works
- Quick Start with Guided Coding
Start here
Guided Coding runs inside Claude Code, so you need Claude Code first. If you do not have it yet, follow Anthropic's Claude Code quickstart, then come back here. Guided Coding has been tested on macOS; it should work on Linux, and has not been tested on Windows.
- Recommended: let Claude install it with you. Open Quick Start, copy its one message into Claude Code, and follow Claude's directions.
- Prefer to install it yourself? Download the ZIP, or use the install commands for Git or the ZIP.
- Then use it. Open Claude Code in the folder of the project you want to change, and type
/gcfollowed by what you want done. Installing is once per computer;/gc setupis optional, once per project, and saves that project's build and test commands.
Two things matter more than any procedure
Ask until you understand. Before you accept a change, you should be able to say what was wrong, what changed, and how the test shows it is fixed. Guided Coding is built to give you short, clear answers to those questions, but it only works if you ask. If something in a report is unclear, ask again, or ask for it in plainer words. If you still do not understand it, do not accept it. For hard or consequential changes Claude prepares an outside review file itself; for any other change, ask for one if you are unsure or it matters a lot. Give it to another AI assistant for a second opinion, then paste the reply back to Claude to address. A second reader, especially a different model, may catch problems that the first one missed.
You are in control, not the AI. Claude proposes; you decide. You decide what the task is, how far the change may reach, what to keep, and whether and when anything is pushed or installed. Guided Coding asks you before it changes behaviour you did not ask for and before any irreversible step, and it commits or pushes only when you ask. You can redirect or stop it at any time.
A small example
Suppose your program crashes when it reads an empty file. You want it to print "The file is empty" and stop. When the file contains data, the program should work as it did before.
You type /gc followed by a description of the crash. Claude finds the cause and fixes it. It writes a test that reads an empty file: the test fails on the old code with the crash, and passes on the new code. It runs the existing tests and one review pass. Its report tells you what changed, how the test shows the fix, what it could not check, and what it recommends you do next. You read the report, ask about anything unclear, and decide whether to keep the fix.
What you decide
- The task and its reach. Claude does the routine work the task needs, and asks you before it changes intended behaviour, an interface, a default or a file format that you did not ask about.
- The decisions in the report. Each comes with the background, the options and a recommendation.
- Committing and pushing. Claude commits or pushes only when you ask. Your project's own rules apply, for example whether an AI assistant may push at all.
- Consequential work. For installations, migrations, or changes that could cause damage that is hard to undo, Claude first prepares and tests the change. Before the irreversible step it asks for your approval of a short plan, checks a backup, and has the change read by an outside reviewer.
Several tasks in a row
/gc batch runs a list of tasks one after another, each as its own job, while you stay reachable. Each job's changes are kept as a separate patch, and your checkout is restored between jobs. Tasks that depend on each other are left for afterwards; paid live calls and outside reviews are left pending; nothing is pushed or installed. At the end you get one summary and decide which patches to keep. It is supervised, not an unattended overnight run.
Help
Type /gc on its own for a short introduction. /gc setup saves your project's build and test commands in a short notes file, so later jobs can use them. If a report or a choice is hard to understand, ask Claude to explain it more simply. You can also give the text to a Guided Workflow Helper.
Evidence and limits
In a replay of 37 past bug-fix jobs, adding one review pass to plain Claude Code cut missed program errors per job from 0.81 to 0.47. Guided Coding always includes that review pass, which is the main reason to expect it to do better than plain Claude Code; it has not been shown to do better than Claude Code with one review. On 18 harder jobs (selected, not a random sample), an outside review by another AI assistant removed further major errors when added to Guided Coding, narrowly (the net gain came from 4 of the 18 jobs, and the reviews also brought in a few new errors). Guided Coding 1.4 keeps one review pass and an outside review (for hard or consequential changes), which were found to help, and a test that proves the fix. It drops or makes optional what showed no clear benefit, and narrows a strict scope rule that probably cost errors. Guided Coding 1.4 as a whole has not itself been measured; it was checked in a small trial and is being evaluated in real use. The effects are small next to the variation between runs, and the study also found evidence for the larger earlier kit on some major errors. See Why Guided Coding for the findings in one page, and Evidence and limits for each part of Guided Coding. The full report and the methods of the study can be downloaded.
Guided Coding replaced a much larger earlier kit on 2026-10-23. The earlier kit had approval screens, evidence packets and an unattended auto mode. It is kept on the repository's branch full-kit-rev21.
Install
Guided Coding is five instruction files for Claude Code, kept in the repository cctbx/guided_coding. Installing Guided Coding gives the commands, which check before they change anything. To let Claude Code do the setup with you, see Quick Start.
Or clone the repository: git clone https://github.com/cctbx/guided_coding.git
Installing Guided Coding has complete commands for the ZIP and for a clone.
Download details and checksum
Revision 17e6bb8 · 2026-10-26 · ZIP: 70 KB
To check the ZIP, download it into Downloads, then run this command in Terminal. The result should end with guided_coding.zip: OK.
cd ~/Downloads && printf '%s guided_coding.zip\n' '8a42a85637eeef3072a57f2bb31620b0b3b023f7c9b5a0f24a8aff31a74a350d' | shasum -a 256 -c -