Scaffold relational backend with seed data
An immediate, stateful multi-resource CRUD backend with typed schemas and realistic seed records, ready for frontend integration testing without manual JSON fixture creation.
How it works
Changes data in your accountsSoftware development
The agent identifies the target workspace and uses the scaffold_backend tool to define a domain model. It specifies collections with typed fields (e.g., strings, numbers, enums) and requests seed records. The agent ensures the prompt includes all necessary schema details and custom endpoints to atomically create the folders, resources, and routes in one step.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for Scaffold relational backend with seed data
In workspace "acme", scaffold an e-commerce backend with: - A "products" collection with fields: name (string, required), price (number, required), in_stock (boolean), and category (enum: electronics, apparel, home). Include 5 seed records. - An "orders" collection with fields: user_id (string, required), total (number, required), status (enum: pending, paid, shipped). - A custom POST /api/checkout endpoint that accepts cart items and returns an order confirmation.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Claude uses scaffold_backend to create folders, typed database collections, realistic seed records, and custom routes atomicallyConnect Mock APIs to Claude & Cursor with MCP (Model Context Protocol)