drizzle-queries — Claude Code skill for Postgres queries
The drizzle-queries Claude Code skill guides type-safe Postgres queries with Drizzle ORM. It activates for database reads, mutations, and new table work.
no license 103 installs ★ 23 updated 2026-06-08
npx skills add andrelandgraf/fullstackrecipes --skill drizzle-queries -a claude-codeWhat drizzle-queries does
The skill shows how to read and change Postgres records with Drizzle ORM, including filtering results, sorting them, and inserting or removing rows. For related records, it uses Drizzle’s relational query API rather than hand-written joins.
For a new table, it covers defining the schema, adding it to the shared client, and running bun run db:generate followed by bun run db:migrate. Complete the Neon + Drizzle Setup recipe first.
What it helps with
- filter and sort rows from a Postgres table
- insert, update, or delete database records
- fetch related records in a relational query
- add a table schema and run its migration
Example prompts for the agent
- Write a query that finds a user's records and sorts them by creation date.
- Insert a row and return the created record.
- Add a products table, register its schema with the client, and prepare the migration.
How to install drizzle-queries
1Skills CLI (Vercel)
npx skills add andrelandgraf/fullstackrecipes --skill drizzle-queries -a claude-code2Manually: put the files in place
~/.claude/skills/drizzle-queries/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/drizzle-queries/
1Skills CLI (Vercel)
npx skills add andrelandgraf/fullstackrecipes --skill drizzle-queries -a codex2Manually: put the files in place
.agents/skills/drizzle-queries/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add andrelandgraf/fullstackrecipes --skill drizzle-queries -a cursor2Manually: put the files in place
.cursor/skills/drizzle-queries/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install andrelandgraf/fullstackrecipes skills/drizzle-queries2Manually: put the files in place
.github/skills/drizzle-queries/SKILL.md1Skills CLI (Vercel)
npx skills add andrelandgraf/fullstackrecipes --skill drizzle-queries -a gemini-cli2Platform CLI
gemini skills install https://github.com/andrelandgraf/fullstackrecipes --path skills/drizzle-queriesManually: put the files in place
.devin/skills/drizzle-queries/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add andrelandgraf/fullstackrecipes --skill drizzle-queries -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about drizzle-queries
How do I install drizzle-queries in Claude Code?
Run npx skills add andrelandgraf/fullstackrecipes --skill drizzle-queries -a claude-code. The skill file is at ~/.claude/skills/drizzle-queries/SKILL.md.
What does drizzle-queries do?
It guides type-safe Postgres work with Drizzle ORM, from selecting and changing rows to querying relations and adding tables.
What does drizzle-queries require?
Complete the Neon + Drizzle Setup recipe before using it.