
Database Schema Designer
Handles the full database design workflow from requirements gathering to production-ready schemas. It generates proper SQL or NoSQL table definitions with primary keys, foreign keys, and indexes, plus ASCII ERD diagrams and up/down migration scripts. The output follows solid conventions like snake_case naming, appropriate data types, and 3NF normalization with denormalization notes where performance matters. It covers both relational patterns (PostgreSQL, MySQL) and document stores (MongoDB) with different strategies for each. The structured format with sections for relationships, indexes, and optimization notes makes it easy to review or hand off to a team. Solid for greenfield projects or when you need to formalize an ad hoc schema that grew organically.
- skills.sh installs
- 426
- GitHub stars
- 422
- last updated
- Aug 21, 2026
Install
$ npx -y skills add onewave-ai/claude-skills --skill database-schema-designer --agent claude-codeInstalls into .claude/skills of the current project.
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.
Sponsors
Details
- Repository
- github.com/onewave-ai/claude-skills
- Categories
- Backend & APIs, Code Review & Quality, Productivity & Planning, Design & UI/UX, Databases
- First seen
- Jun 3, 2026
More from onewave-ai/claude-skills
All 108- Executive Dashboard Generator424
- Financial Document Parser422
- Fantasy Lineup Optimizer421
- Linkedin Post Optimizer420
- Animate413
- Game Strategy Simulator401
- Social Selling Content Generator396
- Api Documentation Writer384
- Landing Page Optimizer381
- Sales Methodology Implementer377
- Objection Pattern Detector373
- Responsive Layout Builder370
- Financial Goal Planner368
- Conversation Archaeologist366
- Sales Coaching Plan Generator363
- Customer Review Aggregator361
- Brand Consistency Checker359
- Cross Conversation Project Manager356
- Injury Report Tracker356
- Sales Forecast Builder356
- Tax Strategy Optimizer356
- Highlight Reel Scripter355
- Sales Call Prep Assistant353
- Seo Keyword Cluster Builder352