postgres-column-design
OfficialDecide Postgres column shapes JSONB vs relational
Authorlgerard314
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Decide whether a new or evolving schema should store data in a JSONB column or in normalized relational columns, balancing flexibility with queryability, integrity, and performance.
Core Features & Use Cases
- Gate-based decision framework for column shape (Gate 1: Shape, Gate 2: Access, Gate 3: Cost) to decide between JSONB and relational design.
- Clear rules on indexing and query patterns for JSONB (GIN, jsonb_path_ops, expression or partial indexes) and when to stage data.
- Use cases across table design, adding JSONB fields, and reviewing schema changes that introduce JSONB payloads.
Quick Start
Analyze a schema change to decide whether to use JSONB or relational columns, applying the three gates and recommended indexes.
Dependency Matrix
Required Modules
None requiredComponents
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: postgres-column-design Download link: https://github.com/lgerard314/global-plugin/archive/main.zip#postgres-column-design 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 471,000+ vetted skills library on demand.