Skip to content
Back to skills

Schema Builder

ASecurity

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.

  • 33 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 30, 2026
databasesgobashsqldatabase

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill schema-builder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Schema Builder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Schema Builder
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-schema-builder/badge)](https://www.skillsdirectory.com/skills/dvcrn-schema-builder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md2.1 KB
  • scripts/schema.sh16.9 KB
  • tips.md910 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading commentsโ€ฆ