Database Schema Designer
Designs relational and document schemas with keys, constraints, query-driven indexes, ERDs, and reversible migrations.
- CCM score
- 56 of 100
- skills.sh installs
- 452
- GitHub stars
- 451
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers requirements gathering, entity modeling, key and type selection, constraint design, index derivation, and migration writing
- Defaults to PostgreSQL 18 with Supabase support, and also covers MySQL, SQLite, and MongoDB references
- Enforces explicit
ON DELETEbehavior, indexed foreign keys,timestamptztimestamps, and row-level security for multi-tenant tables - Designed for building new app data models, reviewing existing schemas, and planning multi-tenancy; moving data between providers goes to database-migrator
Install
$ npx -y skills add onewave-ai/claude-skills --skill database-schema-designer -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Database Schema Designer
Design a schema that enforces the data's rules in the database and makes the app's real queries fast.
Workflow
-
Collect requirements. Get from the conversation or codebase, and ask only for what blocks the design:
- Engine and version (default: PostgreSQL 18; check
docker-compose.yml, ORM config, or Supabase project if present) - Entities and how they relate, in plain language
- The 5-10 most frequent or most important queries, including filters and sort order
- Volume and growth (rows per table per year), read/write mix
- Tenancy (single app, multi-tenant by organization), retention, audit, and compliance needs (PII, deletion requests)
- ORM or migration tool in use (Prisma, Drizzle, Rails, Django, Alembic, Supabase migrations, plain SQL)
- Engine and version (default: PostgreSQL 18; check
-
Model entities and relationships. List entities, attributes, and cardinality (1:1, 1:N, N:M). Normalize to 3NF by default; denormalize only for a named query that needs it, and say which.
Details
- Repository
- github.com/onewave-ai/claude-skills
- Categories
- Databases, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the database-schema-designer skill do?
database-schema-designer designs relational and document database schemas from requirements or an existing app, covering tables, keys, relationships, constraints, and indexes driven by real query patterns. It also produces ERDs and reversible migration scripts, with PostgreSQL including Supabase as the default and MySQL, SQLite, and MongoDB supported.
Who should use database-schema-designer?
database-schema-designer suits developers who need to model data for a new app or feature, review or fix an existing schema, choose keys or indexes, plan multi-tenancy, or write CREATE TABLE statements or migrations. It also helps anyone who describes their app and asks how to store the data.
How do I install database-schema-designer?
Run npx -y skills add onewave-ai/claude-skills --skill database-schema-designer -y in a project to install database-schema-designer. Once installed, the agent can design the schema, derive indexes from your main queries, and write DDL, ERDs, and migrations with rollback.
Which tools or database engines does database-schema-designer need?
database-schema-designer defaults to PostgreSQL 18 and reads docker-compose.yml, ORM config, or a Supabase project when present. It can verify its DDL against a local Postgres, a Docker postgres:18 container, or a Supabase branch, and it works with ORMs such as Prisma, Drizzle, Rails, Django, and Alembic.
Where does database-schema-designer stand in the Databases category?
database-schema-designer is listed in the Databases category on Claude Marketplaces, next to supabase-postgres-best-practices and several Prisma skills. What sets it apart is that it enforces data rules as database constraints and derives each index from a named query, rather than indexing every column.
More from onewave-ai/claude-skills
All 104- Animate451
- Contract Analyzer450
- Executive Dashboard Generator448
- Skill Navigator446
- Fantasy Lineup Optimizer440
- Linkedin Post Optimizer438
- Game Strategy Simulator418
- Social Selling Content Generator414
- Api Documentation Writer402
- Landing Page Optimizer400
- Sales Methodology Implementer394
- Objection Pattern Detector391
- Responsive Layout Builder391
- Financial Goal Planner385
- Conversation Archaeologist383
- Sales Coaching Plan Generator381
- Brand Consistency Checker378
- Customer Review Aggregator378
- Cross Conversation Project Manager375
- Injury Report Tracker374
- Highlight Reel Scripter373
- Sales Forecast Builder373
- Tax Strategy Optimizer373
- Sales Call Prep Assistant371
Similar to Database Schema Designer
More Databasesdatabase-designeralirezarezvani/claude-skills900 installsStructured schema design, index tuning, and zero-downtime migration planning driven by bundled analyzer and generator scripts.
postgresql-table-designwshobson/agents29.8K installsRules-driven PostgreSQL schema guidance covering types, constraints, indexing, partitioning, and gotchas, with a deeper reference file.
database-schema-documentationaj-geddes/useful-ai-prompts581 installsStructured documentation toolkit for database schemas, covering ERD diagrams, table definitions, and data dictionaries.
database-designcloudai-x/claude-workflow-v2143 installsSchema, indexing, query, and migration guidance for SQL and NoSQL databases, with concrete SQL and ORM examples.
database-migrationbobmatnyc/claude-mpm-skills443 installsPhased, backward-compatible schema migration patterns with rollback guidance, decision trees, and troubleshooting references.