design-postgres-tables

Community

Build robust Postgres schemas with confidence

AuthorM4n5ter
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Comprehensive PostgreSQL-specific table design reference covering data types, constraints, indexing, performance patterns, and advanced features to help engineers build robust, scalable schemas.

Core Features & Use Cases

  • Normalize first (to 3NF) to eliminate redundancy; denormalize only for measured, high-ROI reads where join performance is proven problematic.
  • PK/FK strategy, NOT NULL, DEFAULT usage, indexing guidelines for access paths (including time-series, event logs, and analytic schemas), and partitioning strategies; guidance on JSONB usage.
  • Suitable for design of reference tables, event/log data, time-series, and analytic schemas with ID generation, MVCC considerations, and performance tuning.

Quick Start

Describe your current domain model and the queries you expect to run to generate a PostgreSQL table design plan.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: design-postgres-tables
Download link: https://github.com/M4n5ter/skills/archive/main.zip#design-postgres-tables

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.