ss-design-postgres-tables
CommunityDesign optimal PostgreSQL tables.
AuthorJasonLo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive guidance and best practices for designing efficient and robust PostgreSQL tables, schemas, and data models.
Core Features & Use Cases
- Data Type Selection: Recommends appropriate data types for various use cases (IDs, strings, numbers, time, JSONB, etc.).
- Constraint Design: Details best practices for Primary Keys, Foreign Keys, UNIQUE, CHECK, and EXCLUDE constraints.
- Indexing Strategies: Explains different index types (B-tree, GIN, GiST, BRIN) and when to use them.
- Partitioning: Guides on implementing effective table partitioning for large datasets.
- Use Case: When designing a new e-commerce application, use this Skill to ensure your
productsandorderstables are structured for performance, scalability, and data integrity.
Quick Start
Use the ss-design-postgres-tables skill to design a PostgreSQL table for storing user profiles with an email, name, and a JSONB field for preferences.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ss-design-postgres-tables Download link: https://github.com/JasonLo/skill-sommelier/archive/main.zip#ss-design-postgres-tables Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.