Linear walkthroughs

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Vibe-coded code no longer has to stay a mystery, the same agent that wrote it can produce a verified, executable walkthrough, turning throwaway projects into learning material.

Read this as

Simon Willison used an AI coding assistant, Claude Code running the model Opus 4.6, to explain a slide app he had 'vibe coded', meaning built entirely by prompting AI without reading the code himself. He prompted the agent to plan a 'linear walkthrough' of the code, then use his own tool, Showboat, to write the explanation. Showboat runs real shell commands to pull code snippets into the document, so the AI cannot hallucinate or mistype examples. The result is a detailed guide to all six Swift files, which he says taught him real SwiftUI skills.

This is a practical workflow, not a product launch. Willison demonstrates that frontier models, specifically Claude Code with Opus 4.6, can document codebases their authors never actually read, including code generated entirely by AI. The technique constrains the AI to show real code via executed commands, reducing hallucination risk in documentation. Cost is roughly 40 minutes of vibe coding; the payoff is onboarding material and genuine skill-building from AI-generated projects.

The pattern: prompt a coding agent to plan a linear walkthrough, then have it write the document using Showboat, Willison's tool whose self-describing --help output is the model's only reference. 'showboat note' injects Markdown commentary; 'showboat exec' runs a shell command and records both command and output, guaranteeing snippets come from the repo via sed/grep/cat rather than model-generated text. The output walkthrough covers all six .swift files of the 'present' SwiftUI app. No benchmarks, costs or token figures are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Simon Willison Claude Code Showboat Opus 4.6 SwiftUI present GitHub

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading