Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add andrelandgraf/fullstackrecipes --skill drizzle-queries -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/drizzle-queries/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/drizzle-queries/

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.

Similar skills

All skills for Data and databases →

From the same set9

ralph-loop-workflow The ralph-loop-workflow skill runs an agent through a coding loop that turns a broad goal into tasks, changes code, and checks the result. Use it for work that needs repeated agent-led iterations. CX Codex +1 684installs use-fullstackrecipes use-fullstackrecipes — a skill for discovering and applying fullstackrecipes: setup guides for tools and day-to-day patterns for databases and APIs. The agent fetches the needed .md from the site and follows its instructions. CX Codex +1 240installs testing-best-practices testing-best-practices — a skill that teaches the agent to pick the right test type (Playwright, integration, or unit) and run it against an isolated Neon branch that auto-deletes after an hour. CX Codex +1 113installs logging-best-practices logging-best-practices teaches the agent to write structured Pino logs: context-first signature, levels for different scenarios, workflow-safe wrapper. CX Codex +1 111installs url-state-patterns The url-state-patterns Claude Code skill keeps React state in sync with URL query parameters using nuqs. It activates for shareable filters, search, and dialogs opened through a link. CX Codex +1 110installs authentication-best-practices The authentication-best-practices Claude Code skill covers Better Auth sessions, route protection, and sign-in flows. It activates when a task involves access control for pages or APIs. CX Codex +1 106installs sentry-best-practices The sentry-best-practices Claude Code skill guides Sentry error capture, context, tracing, and logging in application code. It activates during work on error handling or performance instrumentation. CX Codex +1 106installs workflow-best-practices The workflow-best-practices Claude Code skill covers durable workflows with steps, streaming, and agent runs. It applies when creating, starting, resuming, or saving a workflow. CX Codex +1 104installs

Project sponsors

Companies that keep this analytics open