xiaowen-jiang/agent-enterprise/database-schema-design
Claude Code and agent skill by xiaowen-jiang/agent-enterprise
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Design normalized database schemas with tables, relationships, indexes, and migrations
Install
npx vskill@latest install xiaowen-jiang/agent-enterprise/database-schema-designSKILL.md
Process
- Identify entities — Map domain objects to tables (users, orders, products, etc.)
- Define relationships — One-to-one, one-to-many, many-to-many
- Normalize to 3NF — Eliminate redundancy, ensure each fact is stored once
- Choose primary keys — UUID vs auto-increment, composite keys when needed
- Design indexes — Based on query patterns (WHERE, JOIN, ORDER BY)
- Plan constraints — NOT NULL, UNIQUE, FOREIGN KEY, CHECK
- Write migration — CREATE TABLE statements, ALTER TABLE for existing schemas
Output Format
Guidelines
- Prefer UUIDs for primary keys in distributed systems, auto-increment for simple apps
- Always add
created_atandupdated_attimestamps - Use soft deletes (
deleted_at) for data that might need recovery - Index foreign keys — they're used in JOINs
- Don't over-normalize — denormalize for read-heavy queries when justified
- Include rollback SQL in migrations (DROP TABLE, ALTER TABLE DROP COLUMN)
- Consider data volume and growth rate when designing indexes
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent_enterprise/skills_data/database_schema_design/SKILL.md
Popularity
- Repository stars
- 52
- Repository forks
- 3
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/xiaowen-jiang/agent-enterprise/database-schema-design)