← AUTOMATER NEWSROOM

Simon Willison Used Claude to Test Datasette’s Chart Plugin API From the Outside

An experimental plugin built with Claude Opus 5.5 exposed friction in Datasette Charts’ extension hook. SDK and plugin maintainers can use the same approach to test what a downstream developer can build from public docs.

Three connected stages show how a standalone plugin exercises published documentation and a public hook, then gives the maintainer a concrete problem to reproduce and fix.Three connected stages show how a standalone plugin exercises published documentation and a public hook, then gives the maintainer a concrete problem to reproduce and fix.
A downstream plugin turns an extension API into a task the maintainer can replay. This illustration shows the proposed workflow inspired by Simon Willison’s Datasette Charts experiment.

Simon Willison had a hook that let other plugins define chart types for Datasette Charts. He had yet to use it himself. So he asked Claude Opus 5.5 to build an experimental plugin against it. Willison says the exercise surfaced friction in the hook’s design and that datasette-charts 0.4a0, announced November 27, addressed it. The release also introduced a project site with a tutorial for plugin authors and a gallery linking to interactive Datasette Lite demos. Simon Willison’s release note

Simon Willison’s Weblog release post for datasette-charts 0.4a0
Simon Willison’s Weblog, November 27, 2026. The release post announces datasette-charts 0.4a0. · Original source

The detail that matters for SDK and plugin maintainers is the assignment Willison gave the model. Building an extension forces a consumer to make choices the host project can leave implicit. Where does registration happen? What does the host supply? What does the extension need to return? A runnable example gives the maintainer a place to investigate each answer. This is a different engineering task from the earlier Datasette Agent feature, which lets a user turn a chat request into an editable chart. Earlier coverage of the chat-to-chart workflow

What the release establishes

Willison’s account identifies the extension hook as existing before the exercise. The announcement describes the outcome in aggregate and leaves the individual design changes unspecified, a limit also flagged by New Runtime’s coverage. The project homepage links to the plugin documentation and lists 0.5a0, dated November 28, as its latest release. The experiment and the fixes Willison describes belong to his announcement for 0.4a0. New Runtime’s coverage · Datasette Charts project site

Give the agent one downstream job

For a similar trial on your own SDK or plugin API, pick one outcome a new consumer can demonstrate. For a chart extension, an illustrative target would be to register a new chart type, select it in the host, and render it against a small fixture with known values. Use a separate sample project and pin the host version. Give the agent the installation instructions, the public author documentation, and whatever examples a new developer would ordinarily find. Keep the host fixed during the first attempt so every observation refers to the same interface.

Ask the agent to log the first point where it needs information beyond the material you provided. If it needs to consult the implementation, record the question and what it found before continuing. Ask for the sample project, the steps to reproduce the result, and an expected output you can check yourself. A prototype that eventually works can still expose a missing instruction. The record of how it got there is what lets you distinguish a documentation gap from an API constraint.

What you observe What to verify before changing anything
Registration succeeds only after reading the host source Check whether the required setup is documented for the pinned version. If the public API already supports it, add the missing step to the tutorial.
The extension uses an internal helper to finish Try the smallest example using the documented public interface. If it still needs the helper, decide whether to expose a supported operation.
The output looks plausible Check it against a fixture with an independently known result. For a chart, compare the plotted values with the rows or aggregate they represent.

Keep the smallest example that proves the fix

Replay the first failure yourself before changing the interface. The agent may have missed a documented step, used the wrong version, or made an assumption about the input. Once you can reproduce the problem, change the smallest part that addresses it and rerun the sample in a clean environment. If the fix is in the tutorial, give the revised instructions to a fresh session so it has to find the step on its own. If the fix changes the API, keep the sample small enough to run as an integration test during the next release.

The artifact worth retaining is a downstream project another developer can install, run, and check. It gives your team a concrete test each time you edit the extension interface or the instructions that explain it.

Sources

  1. Release: datasette-charts 0.4a0
  2. Datasette Charts: charts for any Datasette table, view or SQL query
  3. Testing the chart-type extension hook surfaced design friction - New Runtime