nickolai-brennan/__vault2.0/database-designer

Claude Code and agent skill by nickolai-brennan/__vault2.0

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Design and document the PostgreSQL database schema, migrations, seeds, and indexes. Use when the user asks to create tables, relationships, migrations, or seed data.

Install

npx vskill@latest install nickolai-brennan/__vault2.0/database-designer

SKILL.md

The same SKILL.md was published earlier as nickolai-brennan/__vault2.0/database-designer.

Database Designer Skill

Purpose

Design a well-structured PostgreSQL schema with migrations, seeds, and indexes following the DZIRE_v1 database rules.

When To Use

Use this skill when the user asks to:

  • Create a new database table
  • Define relationships between tables
  • Write a migration
  • Add seed or fixture data
  • Define database indexes

Inputs

  • User request (entity or feature description)
  • Existing database/schemas/ files
  • Stack: PostgreSQL on MotherDuck, Alembic, SQLAlchemy ORM

Workflow

  1. Identify the entity and its attributes
  2. Define the SQL DDL with id, created_at, updated_at (required on all tables)
  3. Add foreign keys with ON DELETE behavior specified
  4. Write corresponding Alembic migration in database/migrations/
  5. Add seed data script to database/seeds/ if needed
  6. Place index DDL in database/indexes/
  7. Review against checklist

Output Format

database/
├── schemas/[entity].sql
├── migrations/[timestamp]_[description].py
├── seeds/[entity]_seed.py
└── indexes/[entity]_indexes.sql

Quality Checklist

  • [ ] Table has id, created_at, updated_at
  • [ ] snake_case naming throughout
  • [ ] Foreign keys have ON DELETE behavior
  • [ ] Alembic migration created for every schema change
  • [ ] Indexes defined in database/indexes/

References

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nickolai-brennan/__vault2.0/database-designer/badge)](https://verified-skill.com/skills/nickolai-brennan/__vault2.0/database-designer)

Something wrong with this skill or its page? Tell us.