Database Design
Helps with database, 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 baotoq-database-design npx -- -y @trustedskills/baotoq-database-design
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"baotoq-database-design": {
"command": "npx",
"args": [
"-y",
"@trustedskills/baotoq-database-design"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill assists in designing relational databases. It can generate SQL schemas based on textual descriptions, suggest appropriate data types and relationships between tables, and optimize existing designs for performance and scalability. The goal is to streamline the database creation process by translating requirements into a functional and efficient structure.
When to use it
- You need to create a new database from scratch but are unsure how to structure the tables and relationships.
- You have an existing database design that needs optimization for performance or scalability.
- You want to translate a business process described in natural language into a relational database schema.
- You're prototyping a database quickly and need assistance with initial table structures.
Key capabilities
- SQL Schema Generation: Creates SQL schemas from textual descriptions of data requirements.
- Data Type Suggestion: Recommends appropriate data types for columns based on the intended use.
- Relationship Definition: Defines relationships (one-to-many, many-to-many) between tables.
- Database Optimization: Provides suggestions to improve database performance and scalability.
Example prompts
- "Design a database schema for an online bookstore with tables for books, authors, customers, and orders."
- "Suggest data types for columns in a table representing 'products' including name, price, description, and inventory level."
- “Optimize this SQL schema: [paste schema here]”
Tips & gotchas
The skill’s output is based on the provided descriptions; clarity and detail in your prompts are crucial for accurate results. It may require iteration to refine the design and achieve the desired outcome.
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.