Postgresql Table Design
Helps with PostgreSQL, 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 microck-postgresql-table-design npx -- -y @trustedskills/microck-postgresql-table-design
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"microck-postgresql-table-design": {
"command": "npx",
"args": [
"-y",
"@trustedskills/microck-postgresql-table-design"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill assists in designing PostgreSQL database tables. It can generate SQL CREATE TABLE statements based on a description of the data to be stored, including specifying column names, data types, and constraints like primary keys and foreign keys. The goal is to produce efficient and well-structured table schemas for various applications.
When to use it
- You need to create a new database table but aren't sure how to define its structure.
- You have a description of the data you want to store, and you need help translating that into SQL code.
- You’re prototyping a database schema and want to quickly generate initial
CREATE TABLEstatements. - You are refactoring an existing table design for improved performance or clarity.
Key capabilities
- Generates
CREATE TABLESQL statements. - Suggests appropriate data types based on descriptions.
- Handles primary key and foreign key constraints.
- Supports column name suggestions.
Example prompts
- "Create a table to store customer information, including name, email, and address."
- "Design a table for products with columns for product ID, name, price, and category."
- “Generate SQL for an orders table linked to a customers table.”
Tips & gotchas
The quality of the generated SQL depends heavily on the clarity and detail provided in your prompt. Be as specific as possible when describing the data you want to store.
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.