Design Postgres Tables

🌐Community
by trancong12102 · vlatest · Repository

Helps with design, PostgreSQL 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.

1

Run in terminal (recommended)

terminal
claude mcp add trancong12102-design-postgres-tables npx -- -y @trustedskills/trancong12102-design-postgres-tables
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "trancong12102-design-postgres-tables": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/trancong12102-design-postgres-tables"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows AI agents to design PostgreSQL database tables based on provided requirements. It can generate SQL code defining table schemas, including column names, data types, and constraints. The agent can create tables suitable for various applications, from simple data storage to more complex relational models.

When to use it

  • Rapid prototyping: Quickly generate initial database structures for testing or proof-of-concept projects.
  • Database migrations: Create SQL scripts to modify existing table schemas based on evolving application needs.
  • Data modeling assistance: Help visualize and structure data relationships before implementation.
  • Learning PostgreSQL: Generate example tables to understand different data types and constraints available in PostgreSQL.

Key capabilities

  • Generates SQL code for creating PostgreSQL tables.
  • Defines column names, data types (e.g., integer, text, date).
  • Specifies table constraints (e.g., primary keys, foreign keys).

Example prompts

  • "Create a PostgreSQL table named 'customers' with columns for id, name, and email."
  • "Design a database schema for an online store including tables for products, orders, and customers."
  • “Generate SQL to create a table called ‘books’ with fields for title (text), author (text), and publication_date (date).”

Tips & gotchas

The skill's output is intended as a starting point. Review the generated SQL code carefully before deploying it to a production environment, ensuring it aligns with your specific requirements and security considerations.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
trancong12102
Installs
6

🌐 Community

Passed automated security scans.