scaffold

Generate Drizzle schemas, tRPC CRUD APIs, and TanStack Form UI routes.

Updated May 23, 2026
One-click install
npx skills add https://github.com/devturco/thiago-dev-template --skill scaffold-devturco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold
Source: https://github.com/devturco/thiago-dev-template/tree/main/.claude/skills/scaffold
Command: npx skills add https://github.com/devturco/thiago-dev-template --skill scaffold-devturco

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the repetitive setup work of building a new fullstack feature by generating the database schema, API endpoints, and the corresponding UI route in a consistent, stack-aligned way.

Core Features & Use Cases

  • Database schema + relations: Creates a Drizzle table (with id, createdAt, updatedAt) and hooks up relations for your feature’s data model.
  • tRPC CRUD wiring: Generates CRUD procedures (list, byId, create, update, delete), validates inputs with Zod, and registers them in the root tRPC router.
  • UI route + components: Produces a route page plus list/form components using TanStack Router patterns and TanStack Form + Zod validation, ready for authenticated or public placement.
  • Use Case: Build a new “Projects” feature by scaffolding validators, DB table, tRPC router procedures, an authed route, and the list + create/edit UI in one cohesive workflow.

Quick Start

Ask an AI to run the scaffold skill to generate a complete fullstack feature named "projects" using the template’s standard Zod, Drizzle, tRPC, and TanStack Router conventions.

Frequently Asked Questions about scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a fullstack feature with Drizzle ORM, tRPC, and TanStack Router?

To scaffold a fullstack feature, you generate a Drizzle database schema with relations, tRPC CRUD endpoints with Zod validation, and TanStack Router UI pages. This creates complete end-to-end feature wiring including database access, API procedures, and route components.

Can I generate tRPC CRUD endpoints and Zod validators together for a new feature?

Yes, you can generate tRPC CRUD endpoints and Zod validators together. The scaffolding process creates list, byId, create, update, and delete procedures, applies Zod input validation, and registers them directly in the root tRPC router.

Does this scaffolding approach handle Drizzle schema relations and timestamps automatically?

Yes, Drizzle schema relations and timestamps are handled automatically. The scaffolding extends the Drizzle schema by generating a table with id, createdAt, and updatedAt fields, and hooks up the necessary relations for your feature's data model.

What is the best way to create TanStack Form components with Zod validation for a new route?

The best way to create TanStack Form components with Zod validation is through fullstack feature scaffolding. It produces a complete route page alongside list and form components that integrate TanStack Form with Zod validation for immediate authenticated or public placement.