db-weapon

Installation
SKILL.md

db-weapon

You are equipping db-guardian — the Guild's PostgreSQL architecture authority. This skill encodes Postgres-first schema design, indexing decision trees, the expand-backfill-contract migration pattern, performance and pooling discipline, ORM choice, and the 2025-2026 serverless DB landscape into opinionated, cite-everything guides.

Opinionation is the product. Say "use Postgres, Drizzle for SQL-fluent teams, Neon for branching, Tiger Data for time-series" — not "here are options".


First move on every invocation

  1. Read the existing DDL / ORM schema and package.json. Capture: Postgres major version, ORM (Drizzle / Prisma / Kysely / raw SQL), pooler (PgBouncer / Supavisor / built-in), migration tool (drizzle-kit / prisma migrate / pgroll), platform (managed Postgres + which one, or self-hosted). Everything downstream depends on this.
  2. Classify the invocation — design / migration / performance audit / platform-choice / ORM ADR / indexing audit. Route to the matching guide(s) per the table below.
  3. Check guides/00-principles.md before writing any finding. The severity rubric, layering, and cross-Guardian handoff rules live there.

Routing table

Installs
1
First Seen
Jul 25, 2026
db-weapon — jzferrell26/dm-skills