Adding a new content type to my blog-to-newsletter tool

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

Why it matters

Willison demonstrates that a single short prompt referencing a second codebase can drive a coding agent to a correct, tested one-shot change.

Read this as

Simon Willison, a well-known programmer and writer, updated his newsletter tool so it includes short items from his blog called 'beats'. Instead of writing detailed instructions, he gave the AI assistant Claude Code a three-line prompt telling it to study his blog's source code as a reference, make the change, and then test the result itself. The agent produced the exact fix in one attempt. It matters mainly for programmers exploring how to give AI assistants concise but effective instructions.

Willison updated his personal blog-to-newsletter tool by delegating the work to Claude Code on the web with a three-sentence prompt. The trick: point the agent at a GitHub clone of the related Django blog code as reference, then have it self-test using a local server and the Rodney browser automation tool. The lesson for teams is that reference repositories plus a validation loop can substitute for lengthy specifications. No cost figures or timelines are given, and the subject is a hobby-scale tool, not a product.

Willison used Claude Code on the web against his simonw/tools repository. The prompt cloned simonw/simonwillisonblog to /tmp as reference, asked for a UNION-clause SQL change to blog-to-newsletter.html filtering non-draft beats with a non-empty note column, and instructed validation via python -m http.server plus the uvx rodney browser tool, comparing newsletter output against his blog homepage. The resulting PR (#268) also derived beat-type display names from the Django ORM definition.

Read the original

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

Key terms

Simon Willison Claude Code simonw/tools simonwillisonblog Datasette Substack Rodney

Was this summary useful?

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

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.