database-schema-designer

Design database schemas with ER diagrams, normalization, and DDL generation.

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/ref-docs/sdd-stl --skill database-schema-designer-ref-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-schema-designer
Source: https://github.com/ref-docs/sdd-stl/tree/main/.claude/skills/database-schema-designer
Command: npx skills add https://github.com/ref-docs/sdd-stl --skill database-schema-designer-ref-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps with database schema design, ER diagrams, normalization, DDL generation, and performance-oriented design decisions.

Core Features & Use Cases

  • Data Modeling: ER diagrams, normalization, and physical design.
  • DDL & Migrations: Generate CREATE TABLE statements and migration plans.
  • Performance & Security: Index design, access control, and backup considerations.

Quick Start

Start by outlining key entities and relationships for a transactional system, then generate a DDL for PostgreSQL.

Frequently Asked Questions about database-schema-designer

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

FAQPage Schema
How do I design a database schema using ER diagrams and normalization?

Database schema design combines entity-relationship diagrams to visualize entities and relationships with normalization techniques (1NF through BCNF) to eliminate redundancy. Start by mapping your data entities, define relationships, apply normalization rules, then generate DDL statements for your target database system.

What's the best way to generate DDL and plan database migrations?

Generate CREATE TABLE statements and migration strategies by first designing your schema with proper keys and constraints, then mapping changes incrementally across development, testing, and production environments. Include consideration for indexing, partitioning, and rollback procedures.

How do I optimize database performance through indexing and partitioning?

Performance optimization involves analyzing query patterns to design effective indexes, applying partitioning strategies for large tables, and configuring access controls and backup approaches. Schema design decisions directly impact query execution and resource utilization across relational and NoSQL databases.

Can I use schema design for both relational and NoSQL databases?

Yes. Schema design principles apply across relational databases like PostgreSQL and NoSQL systems, though normalization approaches and physical design strategies differ. The Skill addresses both contexts, helping you model data and plan migrations appropriately for your chosen database type.

What constraints and security considerations should I include in my schema?

Database schemas must incorporate keys, constraints, and triggers to enforce data integrity, plus access control policies and security configurations. Comprehensive schema design accounts for backup strategies, monitoring requirements, and compliance needs across your deployment contexts.