/db-architect-skills:drizzle-orm-expertfrom db-architect-skills
Drizzle ORM: schema.ts review, drizzle-kit migration workflow, relational queries, serverless drivers. Read when the project contains drizzle.config.ts.
Ships in db-architect-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
First read drizzle.config.ts, the schema files it points to, and the drizzle/ migrations folder. Combine with skills/postgresql/SKILL.md for the Postgres dialect.
drizzle-kit push is for local development only; it can drop data. Production runs drizzle-kit generate then drizzle-kit migrate, with the SQL committed.drizzle(client, { schema }). Without it db.query.* is undefined and relational queries silently do not exist.relations() for every FK you want to traverse with with. Drizzle does not infer relations from references().db.query.* with with for nested reads instead of looping selects (N+1).index().on(...), uniqueIndex()), including every FK column. Review that they exist.InferSelectModel / InferInsertModel; no hand-written interfaces that drift.@neondatabase/serverless, @libsql/client, @planetscale/database). Never a new connection per request.RETURNING; read insertId from the result instead..prepare()) for hot queries in production.*_id without references().timestamp() without { withTimezone: true }; varchar where text is meant; real/doublePrecision for money..notNull() on required fields; missing relations() for tables queried together.push appearing in deploy scripts.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/database-adminDatabase operations: backups and restore testing, roles and privileges, destructive commands, maintenance. Read when the task touches a running database rather than its schema design./database-architectChoosing a database and ORM, planning scaling, sharding, caching or replication. Entry point for greenfield data-layer design and for architecture-level audits of an existing system./database-designSchema modeling and schema review: tables, keys, relationships, constraints, indexes, normalization. Use when designing a new schema or auditing an existing one for integrity and performance problems./database-migrationChanging a live database schema safely: zero-downtime column renames and type changes, backfills, rollbacks, moving between databases or ORMs. Read before writing any migration against a database that has data./nosql-expertDynamoDB, Cassandra/ScyllaDB and MongoDB data modeling: access-pattern-first design, partition keys, single-table design. Read when designing or auditing a NoSQL schema, or when deciding whether NoSQL fits at all./postgres-best-practicesPostgres and Supabase performance rules: missing or wrong indexes, connection pooling, RLS performance, locking, pagination, N+1, vacuum. Read when a Postgres query is slow or when reviewing queries and schema for performance.Generated from the plugin's indexed repository (mulosbron/db-architecture-skills) — no native marketplace selected
npx claudepluginhub p/mulosbron-db-architect-skills