softaworks avatar

Database Schema Designer

This walks you through schema design from requirements to production-ready SQL or NoSQL. You describe your data model (e-commerce platform, SaaS app, whatever) and get normalized tables, foreign key constraints, indexing strategy, and reversible migrations. The real value is in the opinionated defaults: it indexes foreign keys automatically, enforces 3NF unless you have a reason not to, uses DECIMAL for money instead of FLOAT, and won't let you ship a migration without a rollback plan. The anti-patterns section alone (no VARCHAR(255) everywhere, no dates as strings) is worth keeping open during code review. Best for greenfield projects or when you're refactoring a schema that grew organically and now has orphaned records everywhere.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
skills.sh installs
4.4K
GitHub stars
2.7K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/softaworks/agent-toolkit
Categories
Backend & APIs, AI & Agent Building, Debugging, Design & UI/UX, Databases

More from softaworks/agent-toolkit

All 43
1redis avatarredis-coreredis/agent-skillsCore Redis modeling guidance — choose the right data structure (String, Hash, List, Set, Sorted Set, JSON, Stream, Vector Set) and use consistent colon-separate4.4Kskills.sh installs
2jeffallan avatargraphql-architectjeffallan/claude-skillsUse when designing GraphQL schemas, implementing Apollo Federation, or building real-time subscriptions. Invoke for schema design, resolvers with DataLoader, qu4.3Kskills.sh installs
3giuseppe-trisciuoglio avatarspring-ai-mcp-server-patternsgiuseppe-trisciuoglio/developer-kitProvides Spring Boot MCP server patterns that create Model Context Protocol servers with Spring AI by defining tool handlers, exposing resources, configuring pr3.9Kskills.sh installs
4giuseppe-trisciuoglio avatarlangchain4j-mcp-server-patternsgiuseppe-trisciuoglio/developer-kitProvides LangChain4j patterns for implementing MCP (Model Context Protocol) servers, creating Java AI tools, exposing tool calling capabilities, and integrating3.8Kskills.sh installs
5apollographql avatargraphql-operationsapollographql/skillsGuide for writing GraphQL operations (queries, mutations, fragments) following best practices. Use this skill when: (1) writing GraphQL queries or mutations, (23.8Kskills.sh installs
6dotnet avatarconvert-blazor-server-to-webappdotnet/skillsGuides conversion of a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App. USE FOR: migrating apps that use AddServerSideBlazor and MapBlazorHub to the 3.7Kskills.sh installs