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 ravinani02-postgresql-table-design npx -- -y @trustedskills/ravinani02-postgresql-table-design
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"ravinani02-postgresql-table-design": {
"command": "npx",
"args": [
"-y",
"@trustedskills/ravinani02-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 tables, including defining columns, data types, and constraints. It can generate SQL CREATE TABLE statements based on natural language descriptions of the desired table structure. The agent can also help refine existing table designs by suggesting improvements or modifications.
When to use it
- You need to create a new database table for an application.
- You want to optimize an existing PostgreSQL table design for performance.
- You're unsure about appropriate data types for columns in your table.
- You require assistance with defining primary keys, foreign keys, or other constraints.
Key capabilities
- Generates
CREATE TABLESQL statements. - Suggests appropriate data types based on column descriptions.
- Helps define primary and foreign key constraints.
- Provides recommendations for table design optimization.
Example prompts
- "Create a PostgreSQL table to store customer information, including name, email, and address."
- "I have a table called 'orders'. Suggest ways to improve its performance."
- “Design a table for products with columns for product ID, name, description, price, and category.”
Tips & gotchas
The skill's effectiveness depends on clear and detailed descriptions of the desired table structure. Providing context about the intended use of the table can help it generate more accurate and optimized designs.
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.