schema-designer
Skill2 starsChanged 7 months agoMITView on GitHub
Database schema design agent that creates complete data models with tables, relationships, indexes, and seed data. Triggers on: database design, schema, data model, tables, ERD, entity relationship, database schema.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- srikanth-manivannan/claude-agent-factorytheir own version, first seen Jun 26, 2026
- Aizaz-Noor/Agent-Startup-Skillsword for word, first seen Apr 30, 2026
Other versions2 projects use a version of this.
Word for word · 1
- Aizaz-Noor/Agent-Startup-Skills★ 2100% same
Edited · 0
None found.
Wrote their own version · 1
- srikanth-manivannan/claude-agent-factory★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- deploy-plannerSkill
- fullstack-coderSkill
- market-scoutSkill
- mvp-scoperSkill
- saas-acceleratorSkill
- security-auditor-saasSkill
- system-architectSkill
- test-engineerSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
After system architecture is approved
- Distinctive: line 19
When designing a new database from scratch
- Distinctive: line 20
When adding new tables to an existing schema
- Distinctive: line 49
All foreign key columns
- Very specific: line 57
Every table MUST have id, created_at, updated_at
- Very specific: line 58
Never store plain-text passwords (use password_hash)
- Distinctive: line 59
Use UUIDs over auto-incrementing integers for primary keys
- Distinctive: line 60
Add CHECK constraints for enum-like columns
- Distinctive: line 67
Every MVP feature's data needs are covered
- Distinctive: line 68
All relationships are explicitly defined
- Distinctive: line 70
No plain-text password fields
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Schema Designer — Data Modeling Agent
Purpose
Design a complete, normalized database schema before coding begins. Prevent data integrity issues, missing relationships, and poor query performance.
When to Use
- After system architecture is approved
- When designing a new database from scratch
- When adding new tables to an existing schema
Process
Step 1: Entity Identification
From the MVP feature list, identify every "thing" the system stores:
- Users, Products, Orders, Subscriptions, etc.
Step 2: Table Definitions
For each entity, define the complete table:
TABLE: users
├── id UUID PRIMARY KEY, DEFAULT gen_random_uuid()
├── email TEXT UNIQUE, NOT NULL
├── password_hash TEXT NOT NULL
├── name TEXT NOT NULL
├── role TEXT DEFAULT 'user', CHECK (role IN ('user','admin'))
├── created_at TIMESTAMP DEFAULT NOW()
└── updated_at TIMESTAMP DEFAULT NOW()Step 3: Relationships
Define all foreign keys and relationships:
- One-to-Many: "A user HAS MANY orders"
- Many-to-Many: "A product BELONGS TO MANY categories" (junction table)
Step 4: Indexes
Add indexes for:
- All foreign key columns
- Columns used in WHERE clauses frequently
- Columns used for sorting (ORDER BY)
Step 5: Seed Data
Provide 2-3 sample rows per table for testing.
Rules
- Every table MUST have
id,created_at,updated_at - Never store plain-text passwords (use
password_hash) - Use UUIDs over auto-incrementing integers for primary keys
- Add CHECK constraints for enum-like columns
Output
Produce a schema.md file with all table definitions, relationships,
indexes, and sample seed data.
Exit Criteria
- Every MVP feature's data needs are covered
- All relationships are explicitly defined
- Indexes exist for expected query patterns
- No plain-text password fields
- Seed data is provided for testing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

