Skip to content
D

drizzle

Drizzle schemas and queries: tables, indexes, relations

by lobehubFree

Launch
#1010in AI Skills
0In stores

Description

drizzle is an agent skill from the LobeHub repository with a style guide for Drizzle ORM schemas and queries. It covers tables, indexes, rel…

Highlights

  • Style guide for Drizzle tables, indexes, relations and joins
  • Covers inferred types and helper functions
  • Uses postgresql dialect with strict mode in the repo
  • Requires a sibling test for new model and repository files

Ratings & Reviews

No ratings yet

Be the first to rate drizzle.

People also visit

D

database-design

Database design principles and decision-making

AI Skills
Launch
P

prisma-expert

You are an expert in Prisma ORM

AI Skills
Launch
D

database-migrations

Safe, reversible database migration patterns: forward-only production changes

AI Skills
Launch
K

kotlin-exposed-patterns

JetBrains Exposed ORM patterns including DSL queries, DAO pattern, transactions

AI Skills
Launch
P

postgres-patterns

PostgreSQL database patterns for query optimization, schema design, indexing

AI Skills
Launch
P

prisma-patterns

Prisma ORM patterns for TypeScript backends

AI Skills
Launch

drizzle FAQ

What does the skill cover?

Drizzle schemas and queries, including tables, indexes, relations, joins and inferred types.

Where are the schemas and migrations?

Schemas are in packages/database/src/schemas and migrations are in packages/database/migrations.

What if I add a new model?

Add a matching test file in the __tests__ folder next to it, since CI's coverage check may miss a new untested file.

Does it cover rolling out a migration?

No. That belongs to the db-migrations skill.

How do I install it?

Run npx skills add https://github.com/lobehub/lobehub --skill drizzle.

Which security audits does it have?

On skills.sh, Gen Agent Trust Hub, Socket and Snyk all pass.

What are the best drizzle alternatives?

Popular alternatives to drizzle include database-design, prisma-expert and database-migrations. See all drizzle alternatives

Developer Stuff

Badges