db

Set up a type-safe PostgreSQL database layer with Drizzle ORM and Docker.

3|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/mattwoodco/skills --skill db-mattwoodco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db
Source: https://github.com/mattwoodco/skills/tree/main/skills/db
Command: npx skills add https://github.com/mattwoodco/skills --skill db-mattwoodco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines database setup and management for PostgreSQL, providing a type-safe interface with Drizzle ORM and simplifying local development with Docker.

Core Features & Use Cases

  • Type-Safe Schema & Queries: Define your database schema once and get full TypeScript support for all your queries, preventing runtime errors.
  • Local Development with Docker: Easily spin up a PostgreSQL instance using Docker Compose for seamless local development.
  • Production-Ready Migrations: Manage database schema changes with Drizzle Kit's migration system, ensuring consistency between development and production.
  • Use Case: When starting a new project that requires a robust database, use this skill to quickly set up a PostgreSQL instance, define your initial schema, and configure migrations.

Quick Start

Use the db skill to set up a PostgreSQL database with Drizzle ORM and Docker.

Frequently Asked Questions about db

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a type-safe PostgreSQL database with Drizzle ORM?

You can set up a type-safe PostgreSQL database by defining your schema once with Drizzle ORM to receive full TypeScript support for queries. This skill configures the postgres driver to prevent runtime errors and improve developer productivity.

Can I use Docker for local PostgreSQL development with Drizzle ORM?

Yes, you can use Docker for local PostgreSQL development. This skill integrates Docker Compose to easily spin up a local PostgreSQL instance, providing a seamless local development environment alongside Drizzle ORM.

How do I manage PostgreSQL schema migrations for production using Drizzle Kit?

You manage PostgreSQL schema migrations for production using Drizzle Kit's migration system. This skill provides a robust migration workflow to ensure database schema consistency between development and production environments.

What is the best way to prevent runtime errors in PostgreSQL queries?

The best way to prevent runtime errors in PostgreSQL queries is to use a type-safe schema interface. By defining your database schema once with Drizzle ORM, you get full TypeScript support for all queries.

Do I need Docker to run a local PostgreSQL database with this setup?

Docker is integrated to easily spin up a local PostgreSQL instance for development. While it simplifies local environment setup, the core feature is defining a type-safe schema and managing migrations with Drizzle ORM and the postgres driver.