Back to skills
SKILL.md
Schema Builder
ASecurityDatabase schema designer. Design table structures, generate SQL DDL, migration scripts, seed data, ER diagrams, optimization reports, NoSQL schemas, and schema diffs. Commands: design, sql, migrate, seed, erd, optimize, nosql, compare. Use for database design, table structure, SQL generation.
- 33 stars
- 0 votes
- 0 copies
- 3 views
- Added May 30, 2026
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add dvcrn/openclaw-skills-marketplace --skill schema-builder --agent claude-codeAre you the author of Schema Builder?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dvcrn-schema-builder)---
name: schema-builder
description: "Database schema designer. Design table structures, generate SQL DDL, migration scripts, seed data, ER diagrams, optimization reports, NoSQL schemas, and schema diffs. Commands: design, sql, migrate, seed, erd, optimize, nosql, compare. Use for database design, table structure, SQL generation."
---
# 🗃️ Schema Builder
From requirement to complete database structure in one step.
## Usage
```bash
bash scripts/schema.sh <command> <table_name> [options]
```
## Command Matrix
```
┌──────────┬──────────────────────────────┬───────────────┐
│ Command │ Description │ Output │
├──────────┼──────────────────────────────┼───────────────┤
│ design │ Design schema from name │ Field layout │
│ sql │ Generate CREATE TABLE DDL │ SQL statement │
│ migrate │ Generate migration script │ Migration │
│ seed │ Generate test/seed data │ INSERT stmts │
│ erd │ ASCII ER diagram │ Relationship │
│ optimize │ Index & perf recommendations │ Report │
│ nosql │ MongoDB schema │ JSON schema │
│ compare │ Diff two schemas │ Diff report │
└──────────┴──────────────────────────────┴───────────────┘
```
## Typical Flow
```
design → sql → migrate → seed
↓
optimize
↓
erd
```
1. `design users` — plan fields and relations
2. `sql users` — generate executable SQL
3. `migrate users` — versioned migration
4. `seed users` — populate test data
5. `optimize users` — check index suggestions
## Supported Databases
- Relational: MySQL, PostgreSQL, SQLite
- NoSQL: MongoDB, Redis (via `nosql` command)
Files in this skill
- SKILL.md
- scripts/schema.sh
- tips.md
Attribution
Related skills
View all in databases →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.