database

Design and implement relational and document database schemas with migrations.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/zenobiuszeto/banking-strawman-capabilities --skill database-zenobiuszeto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/zenobiuszeto/banking-strawman-capabilities/tree/main/skills/database
Command: npx skills add https://github.com/zenobiuszeto/banking-strawman-capabilities --skill database-zenobiuszeto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design, create, query, and manage robust databases for applications across relational (PostgreSQL, MySQL, SQLite) and document (MongoDB) models, ensuring data integrity, scalable schemas, and safe migrations.

Core Features & Use Cases

  • Schema design principles for relational and document stores, with guidance on normalization, indexing, and denormalization for performance.
  • ORM workflows (Prisma for Node.js, SQLAlchemy for Python) and migration tooling (Prisma Migrate, Alembic) to evolve schemas safely.
  • Seeding, transactions, and query patterns that support reliable development and production data operations, including migration-driven deployments and performance tuning.

Quick Start

Define your core entities and relationships, then ask me to generate a starter schema and seed data for your chosen stack.

Frequently Asked Questions about database

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

FAQPage Schema
How do I design a scalable database schema for PostgreSQL and MongoDB?

Database schema design for scalable apps involves applying normalization, indexing, and denormalization principles across PostgreSQL and MongoDB to ensure data integrity and performance. This skill provides guidance on balancing these techniques for both relational and document models.

How do I manage safe database migrations with Prisma or SQLAlchemy?

Safe database migrations are managed through version-controlled tooling like Prisma Migrate and Alembic to evolve schemas safely in production. This skill enforces migration-driven deployments and transaction management to prevent data loss during schema changes.

What is the best way to generate seed data for a relational database?

Database seeding is best handled by defining your core entities and relationships, then generating starter schema and seed data for your chosen stack. This approach supports reliable development operations and consistent data modeling across environments.

Does this database skill work with both ORM workflows and raw SQL indexing?

Yes, this database skill works with ORM workflows like Prisma for Node.js and SQLAlchemy for Python, alongside safe indexing strategies and raw query patterns. It ensures consistent data access and transaction management across PostgreSQL, MySQL, and SQLite.

When should I use denormalization for performance in document stores?

Denormalization for performance should be applied in document stores like MongoDB when complex joins slow down read operations and data integrity allows nested data structures. This skill provides schema design principles to determine the right balance for scalable applications.