Skip to main content
Back to registry

drizzle

lobehub/lobehub

Location: src/database/schemas/_helpers.ts

Installs393
Install command
npx skills add https://github.com/lobehub/lobehub --skill drizzle
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Location: src/database/schemas/_helpers.ts ID prefixes make entity types distinguishable. For internal tables, use uuid . Always use db.select() builder API. Never use db.query.* relational API ( findMany , findFirst , with: ). The relational API generates complex lateral joins with json_build_array that are fragile and hard to debug. When you need a parent record with its children, use two queries instead of relational with: : See the db-migrations skill for the detailed migration guide. - Config: drizzle.config.ts - Schemas: src/database/schemas/ - Migrations: src/database/migrations/ - Dialect: postgresql with strict: true - timestamptz(name) : Timestamp with timezone - createdAt() , updatedAt() , accessedAt() : Standard timestamp columns - timestamps : Object with all three for easy spread - Tables : Plural snake_case ( users , session_groups ) - Columns : snake_case ( user_id , created_at )

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does drizzle do?

Location: src/database/schemas/_helpers.ts

Is drizzle good?

drizzle does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does drizzle work with?

drizzle currently lists compatibility with codex, gemini-cli, opencode, cursor, kimi-cli, github-copilot, claude-code.

What are alternatives to drizzle?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install drizzle?

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

Related skills

More from lobehub/lobehub

Related skills

Alternatives in Software Engineering