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 hermeticormus-postgresql-table-design npx -- -y @trustedskills/hermeticormus-postgresql-table-design
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"hermeticormus-postgresql-table-design": {
"command": "npx",
"args": [
"-y",
"@trustedskills/hermeticormus-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 provided descriptions, suggesting appropriate data types and constraints. The tool is designed to help users quickly prototype database schemas and ensure structural integrity for their applications.
When to use it
- You need a quick way to create the initial schema for a new PostgreSQL database.
- You want assistance in determining optimal data types for columns based on intended usage.
- You're iterating on a database design and need to rapidly generate
CREATE TABLEstatements with different constraints. - You are unfamiliar with PostgreSQL’s data type offerings and need suggestions.
Key capabilities
- Generates SQL
CREATE TABLEstatements. - Suggests appropriate data types for columns.
- Considers constraints (e.g., primary keys, foreign keys).
Example prompts
- "Create a table to store customer information with fields for name, email, and address."
- "Design a table called 'products' with attributes for product ID, name, price, and category."
- “Generate a
CREATE TABLEstatement for orders including order_id, customer_id (foreign key), and order_date.”
Tips & gotchas
The skill’s output is intended as a starting point. Always review the generated SQL carefully before deploying it to a production environment. You may need to adjust data types or constraints based on your specific application requirements.
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.