Willison分享接口试用方法:让Claude写插件,再修设计问题
Simon Willison让Claude Opus 5.5试写Datasette图表扩展,借此发现此前未实际使用过的插件接口存在设计问题,并在0.4a0中修正。他同时发布插件作者教程及可交互图表示例,供开发者参考。
提供用AI试写扩展、检查接口易用性的可迁移做法。原文正文+原站 RSS 时间核验;效果属作者自述,未独立复测。
The new datasette-charts plugin has its own plugin hook to allow other plugins to define new chart types, but I hadn't actually used it for anything yet. I had Claude Opus 5.5 build an experimental plugins just to try out the hook and it came up with a bunch of friction points in the design. This release addresses those, which should make building additional chart plugins a whole lot more ergonomic.
I've also added a website for the plugin, at charts.datasette.io. The new website includes a tutorial for plugin authors, and a gallery showing all of the core charts and annotations, each one linking to an interactive demo on Datasette Lite.

来源:Simon Willison · simonwillison.net