- Home
- Skills
- Data & Databases
- db-schema
db Schema
Turn plain English app descriptions into fully normalized SQL schemas and entity relationship documentation.
$12
Works with the AI tools you already use
db-schema
Example session with this skill installed
Design a Postgres schema for an e-commerce catalog with products including slugs and categories. Ensure categories are linked and soft deletes are enabled.
- Read your context and instructions
- Compiled the db-schema
- Generated the UI component
-- schema.sql generated for Postgres
CREATE TABLE products (
id BIGSERIAL PRIMARY KEY,
slug VARCHAR(255) UNIQUE NOT NULL,
price NUMERIC(10,2) NOT NULL,
category_id BIGINT REFERENCES categories(id),
deleted_at TIMESTAMP WITH TIME ZONE
);
CREATE INDEX idx_products_category ON products(category_id);
db-schema.tsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
What it does
This skill transforms natural language requests into production-ready database architectures. It interprets high-level business requirements and automatically generates both the SQL DDL and comprehensive markdown documentation for your data layer.
Problem it solves
Designing a normalized database from scratch is time-consuming and prone to manual errors, such as missing indexes on foreign keys, inconsistent naming conventions, or improper data types for currency. This skill automates the drudgery of schema design while enforcing industry best practices from the start.
Supported Tools
- PostgreSQL: Default support with JSONB, BIGSERIAL, and automated updated_at triggers.
- MySQL: Optimized with UNSIGNED types and AUTO_INCREMENT syntax.
- SQLite: Lightweight syntax with CHECK constraints for enums.
Why use this skill
Unlike generic AI prompts, this skill applies strict 3rd Normal Form (3NF) logic, ensures every table includes audit timestamps and soft-delete support, and handles complex many-to-many junction tables automatically. It doesn't just give you code; it produces a professional SCHEMA.md directory of your entities and relationships for your team.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 5 months ago
- Passed all security checks, Safe to install