~/2026/11/29/blitz-in-plain-english-making-an-ai-coder-show-its-work.md

Blitz in Plain English: Making an AI Coder Show Its Work

# originally published on lasswell.me

---
author: 
date: 
read: 15 min
series: working-with-ai (part 1/1)
in:   [engineering, strategy]
tags: [ai, claude, claude-code, devops]
---

$ tree series/working-with-ai/

Blitz in Plain English: Making an AI Coder Show Its Work

$ grep -n '^#' post.md

You ask an AI assistant to fix something. Twenty minutes later it reports back: done, tests passing, ready to ship. You open the app and the button still doesn't work.

Here's the frustrating part. Nothing it told you was a lie, exactly. It did write a test. The test does pass. The test checks the wrong thing, or the code under it is a placeholder that hands back an empty answer. If you've ever had a contractor swear the bathroom is finished and then found the faucet isn't connected to anything, you've met this pattern. AI does it faster … and with better grammar.

This isn't only my complaint. Anthropic's own best-practices guide for Claude Code lists it among the common failures: "Claude said it was done and it wasn't quite, usually because it had no way to check its own work." That's the people who build the tool saying it.

This is Part 1 of Working With AI, a series on getting real work out of Claude and other AI tools. I'm starting with blitz, the Claude Code plugin I maintain, because every later part sits on the idea behind it. Its current design dates from a rewrite on September 19, 2026, and since then it has gone through 32 tagged releases and 199 commits. This post covers what it does, why it ships as a plugin, and how to use a plugin without regretting it.

When an AI tells you the work is done, treat that as a claim. Then make it prove the claim.

First, the vocabulary

A few terms come up in every part of this series. Here's what they mean without the jargon.

  • Claude Code is Anthropic's AI assistant that works inside a project folder. It reads files, runs commands and edits code. Think of a capable new hire with a keyboard and no fear.
  • A skill is a written playbook. It's a file called SKILL.md that Claude follows when the job calls for it, or when you type its name as a command, like /blitz:plan.
  • A subagent is a helper Claude starts for one job. Each one "runs in its own context window," which in plain English means it starts with a clean memory and only the tools you hand it.
  • A hook is a small script Claude Code runs automatically at set moments, such as right before Claude uses a tool. A hook can block that action outright.
  • A plugin is the box all of that ships in. Anthropic's documentation describes it as "a directory of skills, agents, hooks, MCP servers, or other components that Claude Code installs and loads as one unit." Blitz is one.

The hook is the one to remember. A hook is a locked door, and Claude can't talk its way through it.

Why AI coders over-report

None of this is malice. The model is built to finish the job you gave it, and "finished" is easy to fake by accident. Four habits do most of the damage.

  1. It grades its own homework. The same session writes the code, writes the test, and decides the test is good enough. Anthropic's guide is blunt about the report that comes back: "'All tests pass' on its own tells you very little." Ask for the command it ran and the output it got.
  2. Its instructions are requests. A line in your prompt or project notes saying "never edit the results file" gets read and weighed. The same guide says there's "no guarantee" Claude follows that kind of instruction. A model in a hurry can talk itself past a polite request.
  3. It stops when it feels done. A session ends when the model decides it's finished, whether or not the build passes.
  4. It reviews itself. Ask the same model "are you sure?" and you get the same habits that produced the bug. In a controlled study published in October 2026, one fresh same-model review plus one review by a strong model from another company caught 56.7% of the planted errors. Two same-model reviews caught 42.7%.

Sound familiar? It's every rushed project you've ever reviewed, minus the coffee breaks.

The four rules

Blitz answers with structure. Everything in the plugin exists to keep four rules true while Claude works.

RuleIn plain EnglishWhat enforces it
Done means the checks passedEach task gets a list of check commands when it's planned. A task is done only when all of them ran and succeeded.One script, tasks.sh, is the only thing allowed to mark a task done.
Nobody touches the scoreboardClaude can't hand-edit the record of what passed.A hook refuses any direct write to the task file.
Tests are never the only proofEvery task needs at least one check that isn't a test: a search for leftover placeholder code, a look at the built site.Planning refuses a task whose checks are only tests.
A skeptic signs offBefore anything counts as passing, a reviewer reads the final change looking for one reason to reject it.A critic subagent with a fresh memory and no ability to edit files.

Look at rule two again. A note saying "don't edit the results file" is a request. Blitz locks the scoreboard in a drawer and keeps the key.

A few smaller guards back those up. During a build, if Claude tries to wrap up while the code has type errors or the tests fail, a hook sends it back to work, up to four times, then stands down and logs it so a person can look. Hooks also refuse the classic shortcuts: deleting a test, switching one off, or skipping the safety checks that run before a commit. Creating one empty file named STOP in the project's session folder halts every action until you delete it. That's the big red button, and anyone on the team can press it.

The loop, as a building project

Blitz runs work through the same sequence a decent general contractor would.

StepCommandThe construction version
Research/blitz:researchRead up before the first meeting
Plan/blitz:planWrite the punch list, with an inspection for each item
Build/blitz:buildSend one worker per item, each seeing only that item
Check/blitz:checkThe inspection, plus a skeptical second inspector
Ship/blitz:shipSign off and hand over the keys
Learn/blitz:learnWrite down what went wrong so the next job avoids it

Each task gets a fresh worker that never sees the scoreboard. And the release button stays human: you can leave blitz running on a timer (/blitz:next --loop), but the ship step only runs when a person types it. The robot can build all night. It can't release anything.

Why put this in a plugin

Everything above could live as loose files inside one project. Then you'd copy them into the next project, and fix the same bug in every copy. Anthropic's documentation gives the reason for a plugin in one line: "Use a plugin when you want several skills, subagents, hooks, or MCP servers packaged as one unit." You can install someone else's setup "with one command and updates from its marketplace," or "share your own setup, install it in many projects, or publish versioned releases." A marketplace is a catalog, usually a GitHub repository, that lists plugins and where to fetch them.

The bigger reason ties back to habit two. Anthropic's best-practices guide sorts every instruction you give Claude Code into two kinds:

KindExamplesWill it happen every time?
Claude reads it and decidesyour prompt, CLAUDE.md, a skillUsually. The guide says there's "no guarantee"
Claude Code enforces ita hook, a deny rule, a managed settingYes. "Claude Code applies this every time"

Its rule of thumb: "If something has to happen every time, make it a hook, a deny rule, or a managed setting." A plugin ships both kinds together: skills that tell Claude how your team works, and hooks that make the non-negotiable parts happen. Blitz is mostly the second kind.

It isn't free. The docs say an enabled plugin "is part of every session": the name and description of each skill Claude can start on its own sit in its working memory on every turn, and "what the plugin runs, it runs as you." Plugins in Anthropic's official marketplace show a Context cost estimate before you install.

Anthropic has been building this out fast. From the Claude Code changelog this fall:

  • Sept 11 (2.1.269): plugin authors got a built-in test runner, claude plugin eval.
  • Nov 12 (2.1.323): a plugin can declare which Claude Code versions it supports.
  • Nov 13 (2.1.325): install screens now warn that plugins "can run code on your computer."
  • Nov 25 (2.1.332): MCP servers, the connectors that give Claude extra tools, can ship skills too.

The format is spreading past one vendor, too. In October, Anthropic gave the Agent Skills format to the Agentic AI Foundation, promising to keep it "open, community-driven, and vendor-neutral" (as Simon Willison reported on October 22).

What's inside a plugin: blitz as the example

Open the blitz repository and this is what you find. The counts come from the repository itself as of November 29, 2026:

text
blitz/
├── .claude-plugin/
│   ├── plugin.json        name, version, and the settings it asks you for
│   ├── marketplace.json   the catalog: lists blitz and the optional blitz-guard
│   └── compat.json        the minimum Claude Code version, in one place
├── skills/                21 slash commands, one folder and SKILL.md each (2 only you can start)
├── agents/                5 specialist helpers (dev, critic, ...), each with its own model and tools
├── hooks/
│   ├── hooks.json         which events fire which scripts (31 hooks on 15 events)
│   ├── scripts/           the guards: kill switch, no skipped checks, no deleted tests
│   └── tests/             47 test files for those guards
├── .lsp.json              code-intelligence servers for TypeScript, Python, Rust and Go
├── output-styles/         one reply style (terse)
├── workflows/             3 scripts that run helpers in parallel
├── mods/blitz-guard/      an optional add-on written in JavaScript
├── evals/                 10 test scenarios for `claude plugin eval`
└── README.md, SECURITY.md, CHANGELOG.md

Two files show how little magic there is. Here's the critic's definition from agents/critic.md, description and comments removed:

yaml
name: critic
tools: Read, Grep, Glob, Bash
maxTurns: 30
model: opus
effort: high

In plain English: the critic can read, search and run commands, has no tool for editing a file, and runs on Claude's strongest model at high effort. The developer helper runs on Sonnet and can edit. The money goes where the verdict is.

And here's the first hook in hooks/hooks.json, which runs before every tool Claude uses:

json
{
  "type": "command",
  "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/kill-switch.sh",
  "timeout": 10,
  "statusMessage": "blitz: kill switch",
  "onFailure": "block"
}

That's the STOP file check. The last line matters most: if the guard script itself breaks, the action is blocked. A broken guard fails closed. (The manifest also asks a few settings questions at install, such as which code-intelligence program to use per language, through a userConfig section.)

Using a plugin, safely

Installing blitz takes two commands in a terminal:

bash
claude plugin marketplace add lasswellt/blitz-cc
claude plugin install blitz@blitz

The first registers the catalog, the second installs from it. You pick a scope: user (you, every project), project (everyone on the repository, through the committed .claude/settings.json), or local (you, this repository). claude plugin disable turns a plugin off; claude plugin uninstall removes it.

Now the part I'd underline twice. Anthropic's security page says it plainly: "A Claude Code plugin you install can execute arbitrary code on your machine with your user privileges." Hooks, MCP servers and the other background programs a plugin starts run "outside the sandbox," and Claude Code's permission rules "cover the tool calls Claude makes, not the code a plugin runs by itself."

The same page lists what to check before you install:

  1. Run claude plugin marketplace list and confirm where the marketplace comes from.
  2. Open the plugin in /plugin and read the Will install section.
  3. Read the source: hooks/hooks.json, .mcp.json, and every file in bin/.
  4. Run claude plugin details <name> for the full list of what it adds.

This isn't theoretical. In September, researchers disclosed a flaw nicknamed Plugin4Shell: an attacker could name a branch after the exact version a marketplace had pinned and swap in their own code. The Register covered it on September 17, and the Cloud Security Alliance noted on September 19 that it hit Claude Code, OpenAI's Codex, GitHub Copilot and Google's Gemini CLI. Anthropic's advisory (October 9, high severity) says it's fixed in Claude Code 2.1.179, and users on standard auto-update already have the fix.

Blitz's own advice, from its README: "Pin the version and leave auto-update off for any plugin that runs hooks; read the diff before upgrading." When auto-update is on, Anthropic's security page warns that "the files you reviewed can change on disk."

For a company, the controls live in managed settings. This example from Anthropic's documentation registers an approved catalog on every machine and turns on a vetted plugin:

json
{
  "extraKnownMarketplaces": {
    "your-marketplace": {
      "source": { "source": "github", "repo": "your-org/your-marketplace" },
      "autoUpdate": true
    }
  },
  "enabledPlugins": {
    "code-formatter@your-marketplace": true
  }
}

Two more settings complete the fence: strictKnownMarketplaces allows only the catalogs you list (an empty list "blocks every source, including the official marketplace"), and allowManagedHooksOnly lets only the hooks you've approved run.

Once it's installed, these are the first blitz commands to try, inside Claude Code:

bash
/blitz:doctor                       # checks the install and your project setup
/blitz:onboard                      # maps an existing project for Claude
/blitz:plan "add a health endpoint" # spec, plan and task list with checks
/blitz:build health-endpoint        # works the next task with a fresh helper
/blitz:check --scope plan health-endpoint --fix

Blitz needs Claude Code 2.1.296 or later, plus bash, Node.js 18 or newer, python3 and jq.

In practice: how this blog got its series feature

The "Part 1 of" label at the top of this post exists because of a project I ran through blitz in September 2026: series, dark mode, a table of contents and a curated home page for this site and techcolumnist.com.

The plan came out as 15 tasks. Here's the real first one, trimmed for length:

json
{
  "id": "T-001",
  "title": "Series/featured content model: schema fields, series collection, useSeries composable",
  "files": ["content.config.ts", "packages/core/app/composables/usePosts.ts",
            "packages/core/app/composables/useSeries.ts"],
  "depends_on": [],
  "verify": [
    { "cmd": "grep -qE 'series: z\\.string\\(\\)\\.optional\\(\\)' content.config.ts", "timeout": 10 },
    { "cmd": "grep -qE \"source: 'series/\" content.config.ts", "timeout": 10 },
    { "cmd": "grep -qE 'export (async )?function useSeries' packages/core/app/composables/useSeries.ts", "timeout": 10 }
  ],
  "passes": true,
  "status": "done",
  "last_verify": { "ts": "2026-09-21T01:48:17Z", "ok": true }
}

In plain English: this task touches three files, depends on nothing, and is done only when those search commands find the code that's supposed to exist. The last_verify line is the receipt. It records when the checks ran and that they passed, and Claude has no way to write that line itself.

Three things happened that I'd never have caught by reading a chat transcript.

The plan was wrong once, and the system said so. One task's checks looked for a file name that the image library we used refuses to load. The work was correct and the inspection was broken. Blitz blocked the task, logged a ruling that the spec was at fault, and replaced it with a corrected task.

The critic found a gap. Claude's reviewer ran 13 checks of its own against the built website. Twelve passed. The miss: the plan added new formatting blocks for posts (callouts, pull quotes), and no post used them yet. Fixed, rebuilt, checked again.

Other AI tools found more. After Claude's own review passed, I asked for a second opinion from two other companies' tools: Google's Antigravity and GitHub's Copilot, both running from the command line. Blitz can hand the same review to either of them, or to Gemini CLI or OpenAI's Codex. They went five rounds against the same changes:

CountExamples
Real defects Claude's reviewer missed5link underline colors hardcoded, so they ignored dark mode; the series list hidden on smaller screens; a toggle button whose screen-reader label hid its visible text
Confident claims that were wrong3"this package version does not exist" (it was installed); "the series navigation is reversed" (the built pages proved it wasn't)

A second opinion from another model is worth having. Check its work before you act on it.

That's why blitz treats an outside rejection as a claim. Before another vendor's "reject" can block anything, Claude's own critic has to reproduce the problem, which filters out the hallucinated ones.

✅ Practical Takeaways

You can use most of this without installing anything.

  • ✅ Write the check before the work. Before you ask an AI for a change, decide what you'll run or look at to prove it worked. If you can't say, the AI can't either.
  • ✅ Ask for receipts. "Done" in a reply means nothing. Ask for the command it ran and the output it got, then look at it.
  • ✅ Keep the reviewer separate from the builder. A fresh session, a different model, or a colleague. Anyone who didn't watch the work get made.
  • ✅ Put the hard rules where the AI can't argue. Use a hook, a deny rule or a managed setting for anything that must happen every time.
  • ✅ Read a plugin before you install it. Check the marketplace, read its hooks and scripts, pin the version, and know whether it auto-updates.
  • ✅ Keep the release button human. Let the tool work unattended. Make shipping a step a person takes on purpose.

Actionable Questions

  1. When someone on your team says "the AI did it," what evidence do they hand you along with it?
  2. Who reviews AI-written work, and did that person (or model) also write it?
  3. Which of your rules for AI tools are written down as advice, and which are actually enforced?
  4. Which plugins are installed on your team's machines today, who approved them, and do they update themselves?
  5. If an AI assistant went off the rails at 2am, who could stop it, and how?

Coming Up Next

Every Thursday, this series takes one workflow and opens it up. Next week is the file that tells Claude how your project works: CLAUDE.md, the project memory Claude Code reads at the start of every session.

Most people write it like a wiki page and wonder why Claude ignores half of it. We'll write a short one it follows, and sort out which rules belong in a hook.

Spoiler: shorter wins.

Final Thought

AI coding tools are good. Some days they're startlingly good. But they're built to finish, and finishing is easy to fake when the same system does the work, the grading and the reporting.

Blitz is my answer to that, packaged so it installs in one command. Give every task a written inspection. Lock the scoreboard. Make a skeptic sign off. Get a second opinion from a different vendor, and check that too. And treat the plugin itself the way it treats Claude: read it before you trust it.

Trust the receipts. Read the transcript for fun.

The checks are cheap. Most of the ones on that first task ran in about five milliseconds. What they buy you is an argument settled by a script that can't be sweet-talked.

Let's build faster, and know it works. See you next Thursday.

References

All sources below were published or last checked between August 29 and November 29, 2026.