db-architect

Plans PostgreSQL schema migrations for Drizzle ORM projects with destructive-operation safeguards.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/grant-vine/wunderkind --skill db-architect-grant-vine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-architect
Source: https://github.com/grant-vine/wunderkind/tree/main/skills/db-architect
Command: npx skills add https://github.com/grant-vine/wunderkind --skill db-architect-grant-vine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Database design and safe migration planning for PostgreSQL projects, including Drizzle ORM workflows, Neon DB, and ERD generation, with built-in protocols to prevent destructive changes.

Core Features & Use Cases

  • Destructive Action Protocol: a strict, user-confirmed protocol for dangerous SQL operations.
  • Environment Prerequisites and guidance for Drizzle ORM workflows, Neon DB, ERD generation, and migration diffs.
  • Slash Commands and Drizzle ORM patterns: /describe, /generate-erd, /migration-diff, /index-audit, and standard schema management tasks.
  • End-to-end schema design patterns and migration best practices to maintain data integrity and audit trails.

Quick Start

Begin by reviewing the Destructive Action Protocol and then use drizzle-kit to inspect and migrate your live PostgreSQL schema.

Frequently Asked Questions about db-architect

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

FAQPage Schema
How do I plan safe PostgreSQL schema migrations for Drizzle ORM?

Analyze PostgreSQL schema migrations using an index audit and migration diff workflow. This process inspects existing indexes and generates schema diffs to expose potential performance bottlenecks before applying changes.

Can I generate an ERD for my PostgreSQL schema design?

Yes, you can generate an ERD for your PostgreSQL schema design using the dedicated slash command. This visualizes database relationships to support end-to-end schema design and maintain data integrity across team workflows.

Does this database migration workflow support Neon DB setups?

Yes, this database migration workflow supports Neon DB setups. It includes environment prerequisites and configuration guidance tailored for applying schema migrations and managing Drizzle ORM patterns on Neon DB infrastructure.

What is the destructive action protocol for SQL migrations?

The destructive action protocol for SQL migrations is a strict, user-confirmed safety mechanism. It prevents accidental data loss by requiring explicit approval before applying dangerous schema changes during team workflows.

How do I audit indexes in a PostgreSQL database?

Audit indexes in a PostgreSQL database using the dedicated index audit command. This evaluates your schema design to identify missing or redundant indexes, ensuring optimal query performance and maintaining migration audit trails.