Drizzle
LobeHub Drizzle ORM schema and query style. Use for pgTable schemas, indexes, joins, inferred types, db.select/db.query, schema fields, foreign keys, junction tables, or postgres query patterns.
- Type
- Skill
- Author
- lobehub
- Category
- Database
- GitHub stars
- 83.5K
- Installs
- 5.4K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/lobehub/lobehub --skill drizzleUse cases
- Define a pgTable schema with indexes and foreign keys.
- Write db.select or db.query calls that follow LobeHub conventions.
- Model junction tables and joins for a Postgres feature.
Frequently Asked Questions
Does it cover query building as well as schema design?
Yes, it covers both pgTable schemas and db.select/db.query patterns.
Which database does it target?
It focuses on Postgres conventions, including foreign keys and junction tables.
Can it help with inferred types?
Yes, inferred types are part of the schema and query style it documents.
About this skill
Applies LobeHub's Drizzle ORM conventions for schemas and queries, covering pgTable definitions, indexes, joins, inferred types, and db.select/db.query patterns. It's for developers working in the LobeHub codebase or following its Postgres conventions, including foreign keys and junction tables. The skill keeps schema and query style consistent across a project.
Summary written with AI assistance from the project's public description.
Categories
More from lobehub
Zustand
LobeHub Zustand store conventions. Use when editing src/store, store slices, public/internal actions, dispatch actions, flattenActions, optimistic...
by lobehub
React
LobeHub React component conventions. Use when editing TSX UI, choosing base-ui vs @lobehub/ui vs antd, styling with antd-style, component boundarie...
by lobehub
Typescript
LobeHub TypeScript style and type-safety guide. Use when editing TS/TSX/MTS, fixing types, choosing interface vs type, avoiding any/object, import...
by lobehub
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh