schema-gen

Installation
SKILL.md

Prerequisite: This skill requires a schema0 template project. Before using, ensure CLAUDE.md exists in the project root and read it for project rules and conventions.

Schema Generator

Create database table schemas with Drizzle ORM and drizzle-zod derived schemas.

File Location

Create at: packages/db/src/schema/{entity}.ts

Dependencies

ALWAYS run schema-gen FIRST — it creates the table and all derived schemas that other skills import.

flowchart TD
    A[schema-gen] --> B[query-collections]
    A --> C[api-router]
    A --> D[table-customization]
Related skills
Installs
2
First Seen
Mar 30, 2026