New advertisers: 50% off your first month with code FIRSTMONTHSee slots
softaworks avatar

Database Schema Designer

Schema design guide covering normalization, indexing, constraints, migrations, and anti-patterns for SQL and NoSQL databases.

skills.sh installs
4.4K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the full design flow: analysis of entities and access patterns, schema design, indexing and optimization, then reversible migrations
  • Includes a Quick Start prompt, trigger phrases, a command table (design schema, normalize, add indexes, migration, review schema), and a verification checklist
  • Enforces 3NF normalization by default, constrained foreign keys with an ON DELETE strategy, and reversible migrations with a DOWN step
  • Designed for developers modeling OLTP or OLAP data and needing explicit normalization examples with before-and-after SQL

Install

$ npx -y skills add softaworks/agent-toolkit --skill database-schema-designer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Database Schema Designer

Design production-ready database schemas with best practices built-in.


Quick Start

Just describe your data model:

design a schema for an e-commerce platform with users, products, orders

You'll get a complete SQL schema like:

CREATE TABLE users (
  id BIGINT AUTO_INCREMENT PRIMARY KEY,
  email VARCHAR(255) UNIQUE NOT NULL,
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE orders (
  id BIGINT AUTO_INCREMENT PRIMARY KEY,
  user_id BIGINT NOT NULL REFERENCES users(id),
  total DECIMAL(10,2) NOT NULL,
  INDEX idx_orders_user (user_id)
);

What to include in your request:

  • Entities (users, products, orders)
  • Key relationships (users have orders, orders have items)
  • Scale hints (high-traffic, millions of records)
  • Database preference (SQL/NoSQL) - defaults to SQL if not specified

Triggers

Details

Repository
github.com/softaworks/agent-toolkit
Category
Databases

More from softaworks/agent-toolkit

All 40

Similar to Database Schema Designer

More Databases