Skip to content
Agentmart
Submit a tool

database-schema-designer

Design production-ready database schemas with best practices built-in (SQL/NoSQL).

Skill by Gunesh22

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/gunesh22-database-schema-designer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Design production-ready database schemas with best practices built-in (SQL/NoSQL).

Use cases: design, backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/database-schema-designer

What's inside

Skill name
database-schema-designer
Description
Design production-ready database schemas with best practices built-in (SQL/NoSQL).
License
Apache-2.0
Instructions
52 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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
\\\

## Process Overview
1.  **Analysis**: Identify entities, relationships, access patterns, and choose SQL/NoSQL.
2.  **Design**: Normalize (3NF for SQL), define keys, types, and constraints.
3.  **Optimize**: Plan indexing, consideration denormalization, add timestamps.
4.  **Migrate**: Generate migration scripts, ensure backward compatibility.

## Verification Checklist
After designing a schema:
-  Every table has a primary key
-  All relationships have foreign key constraints
-  ON DELETE strategy defined for each FK
-  Indexes exist on all foreign keys
-  Indexes exist on frequently queried columns
-  Appropriate data types (DECIMAL for money, etc.)
-  NOT NULL on required fields
-  UNIQUE constraints where needed
-  CHECK constraints for validation
-  created_at and updated_at timestamps
-  Migration scripts are reversible
-  Tested on staging with production data

## Normal Forms & Best Practices

### 1st Normal Form (1NF)
Avoid multiple values in a column. Use separate tables.

### 2nd Normal Form (2NF)
Eliminate partial dependencies. All non-key attributes must depend on the full primary key.

### 3rd Normal Form (3NF)
Eliminate transitive dependencies. Non-key attributes should not depend on other non-key attributes.

### Common Patterns
- **Money**: ALWAYS use DECIMAL(10, 2), NEVER FLOAT.
- **Boolean**: is_active BOOLEAN DEFAULT TRUE (PostgreSQL) or TINYINT(1) (MySQL).
- **Dates**: store in UTC TIMESTAMP.
- **Indexes**: Index FKs and frequently queried columns. Use composite indexes with most selective column first.

### Polygot Persistence
- **SQL**: Relational data, complex queries, transactions (Users, Orders, Billing).
- **NoSQL**: High write throughput, flexible schema, massive scale (Logs, Analytics, Content, Sessions).

From Gunesh22/tgf-excel-version-2, Apache-2.0.

More from Gunesh22/tgf-excel-version-2

Signals

Stars
0
Forks
1
Open issues
0
Last commit (this folder)
Apr 28, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Gunesh22

Cite this page

database-schema-designer skill. Agent Mart. https://agentmart.dev/skills/gunesh22-database-schema-designer (last updated 2026-10-24)