Simple Express app
You can use Tessl to create spec-driven applications from scratch! Starting with a basic spec for an app gives you an easy template to expand upon, building up useful context along the way.
In this example, we'll create a simple one-page Express app using the Tessl MCP server via Claude Code.
With Tessl initialized, and Claude Code set up, we're able to drive this process with a simple prompt:

Claude Code will invoke the create
MCP tool, which will give us a simple starter spec.
At this point, you can ask Claude Code to build
your spec — if it hasn't already!
Once you’ve got the initial spec, you can:
Add a new route
Add middleware
Expand test cases
Integrate with other services, like DBs, queues, or APIs
Simply ask Claude to add any of these things to the spec for you, or to create related specs. Claude will invoke the edit
tool to update your spec, and build
for you when you want to try out the changes yourself.
There are many ways to scaffold an app, but approaching it in a spec-driven way means that our spec stays the source of truth, even between agent sessions.
Last updated