
Database Designer
This handles schema normalization analysis, index optimization based on query patterns, and migration script generation with rollback procedures for PostgreSQL and MySQL. You get Mermaid ERDs, composite index recommendations ordered by selectivity, and expand-contract patterns for zero-downtime migrations on large tables. The workflows are solid: feed it DDL or JSON schemas, run the analyzers, get actionable output. It catches the usual problems like missing foreign keys and over-indexing, plus generates validation queries for every migration step. The scope is clear about what it won't do (no live profiling, no NoSQL-specific design), which saves time. If you're designing schemas or planning migrations without locking production tables, this covers the mechanics well.
- skills.sh installs
- 170
- GitHub stars
- 1.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add borghei/claude-skills --skill database-designer --agent claude-codeInstalls into .claude/skills of the current project.
Files
Database Designer
The agent analyses an existing relational schema for normalization, constraint, naming and type problems, recommends indexes for the queries that actually run, and generates forward and rollback migrations between two schema versions. To design a new schema from product requirements (ERDs, RLS, ORM models), use engineering/database-schema-designer instead.
When to Use
- Reviewing a schema (DDL or JSON) before or after a change.
- Choosing or pruning indexes for a known set of queries.
- Turning a schema diff into a migration with rollback and validation queries, optionally zero-downtime (expand-contract).
- Choosing between database engines for a workload (reference only).
Clarify First
Before designing or migrating, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Sponsors
Details
- Repository
- github.com/borghei/claude-skills
- Categories
- Backend & APIs, Debugging, Productivity & Planning, Marketing & SEO, Design & UI/UX, Databases
- First seen
- Jun 3, 2026
More from borghei/claude-skills
All 82- Sales Engineer166
- Information Security Manager Iso27001164
- Api Design Reviewer163
- Agent Designer159
- Agile Product Owner159
- Customer Success Manager153
- Aws Solution Architect148
- Marketing Strategy Pmm147
- Content Creator145
- App Store Optimization143
- Create Prd143
- Senior Computer Vision143
- Content Strategy139
- Atlassian Templates138
- Interview System Designer136
- Quality Documentation Manager136
- Risk Management Specialist136
- Skill Tester135
- Campaign Analytics134
- Devops Workflow Engineer134
- Senior Secops133
- Isms Audit Expert131
- Jira Expert131
- Codex Cli Specialist130