Database Schema Design
Helps with database, schema design, design as part of working with databases and data persistence workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add aj-geddes-database-schema-design npx -- -y @trustedskills/aj-geddes-database-schema-design
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"aj-geddes-database-schema-design": {
"command": "npx",
"args": [
"-y",
"@trustedskills/aj-geddes-database-schema-design"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to generate optimized database schemas based on natural language descriptions of data requirements. It translates abstract business rules and entity relationships into structured SQL definitions, ensuring efficient storage and retrieval strategies from the outset.
When to use it
- Greenfield Projects: Define the entire data architecture for a new application before writing any backend code.
- Legacy Migration: Analyze existing data flows to propose normalized schemas that reduce redundancy in outdated systems.
- Prototype Validation: Quickly visualize how specific data entities (e.g., users, orders) relate to one another during the design phase.
- Requirement Translation: Convert vague stakeholder requests like "we need to track inventory" into concrete table structures with appropriate keys and constraints.
Key capabilities
- Generates normalized SQL schemas based on text prompts.
- Identifies primary keys, foreign keys, and data types automatically.
- Structures tables to minimize redundancy and improve query performance.
- Adapts output to various SQL dialects (PostgreSQL, MySQL, etc.).
Example prompts
- "Create a database schema for an e-commerce platform with users, products, and orders."
- "Design a normalized schema for a social media app tracking posts, comments, and likes."
- "Generate a SQL schema for a logistics system that tracks shipments, drivers, and delivery addresses."
Tips & gotchas
- Provide clear context about the business domain to ensure the AI selects appropriate data types and relationships.
- Always review generated schemas for specific edge cases or compliance requirements (e.g., GDPR fields) before deployment.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.