schema-builder

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. Use when you need schema builder capabilities. Triggers on: schema builder.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "schema-builder" with this command: npx skills add ckchzh/schema-builder

🗃️ Schema Builder

From requirement to complete database structure in one step.

Usage

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)

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Youtube Script

YouTube视频脚本、标题A/B测试、缩略图文案、SEO优化、开头Hook、章节标记。YouTube script writer with title testing, thumbnail copy, SEO optimization, hooks, chapter markers. Use when you...

Registry SourceRecently Updated
1960ckchzh
General

Polymarket Screener

Screen Polymarket prediction markets by category, probability, liquidity, and track probability changes to find high-value opportunities. Use when you need p...

Registry SourceRecently Updated
General

Fund Advisor Cn

基金投资顾问。基金筛选、定投策略、资产配置、风险评估、收益计算、再平衡建议。Fund investment advisor with screening, DCA strategy, asset allocation, rebalancing. 基金理财、定投计划、投资组合、资产配置。Use when makin...

Registry SourceRecently Updated
1760Profile unavailable
General

Task Planner

- **name**: Task Planner. Use when you need task planner capabilities. Triggers on: task planner.

Registry SourceRecently Updated
2590Profile unavailable