Experimenting with Starlette 1.0 with Claude skills
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Starlette 1.0 breaks compatibility with training data, but Simon Willison shows Claude can self-generate a Skill from the new release notes to write working 1.0 code.
Starlette, the Python web framework that quietly powers the popular FastAPI, just reached version 1.0. The update changes how apps handle startup and shutdown tasks, so older example code may not work. Because AI assistants learn from older code, Simon Willison taught Claude the new version by having Claude itself build a reference guide, then used it to generate a working task-management app.
Starlette 1.0 shipped in February 2026 with breaking changes, notably replacing on_startup/on_shutdown parameters with an async context manager 'lifespan' mechanism. Since FastAPI runs on Starlette, teams relying on AI-generated code face a training-data gap. Willison's workaround, having Claude build its own Skill document from the repo, offers a repeatable pattern for keeping AI coding current with new framework releases.
Starlette 1.0 (release candidate February 23, 2026) deprecates on_startup/on_shutdown in favor of a lifespan asynccontextmanager. Willison used claude.ai's skill-creator to clone the repo and generate a SKILL.md covering every feature, then prompted a separate chat to build a working app (Starlette 1.0 + aiosqlite + Jinja2), which Claude self-tested via TestClient and httpx against its own API endpoints.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
A self-hosted file manager fork with OIDC, LDAP, and real-time search
FileBrowser Quantum lets teams manage multiple storage sources with enterprise authentication and real-time search without complex setup, saving admin time and reducing security risk.
An open-source screen recorder that lets AI agents watch videos and see your screen
Enables AI agents to view and analyze screen content, cutting time spent crafting bug reports and improving debugging accuracy.
A Go implementation of MCP for connecting LLM apps to tools and data
Go developers can expose LLM tools without writing MCP plumbing, saving time on integration.
An open-source Canva alternative you can self-host, with video export
Self-hosted design tools let teams avoid subscription fees and keep data on their own servers, while adding video export unlocks new content formats for social media creators.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.