postgresql-table-design

70
C

Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install Microck/ordinary-claude-skills/postgresql-table-design
skilz install Microck/ordinary-claude-skills/postgresql-table-design --agent opencode
skilz install Microck/ordinary-claude-skills/postgresql-table-design --agent codex
skilz install Microck/ordinary-claude-skills/postgresql-table-design --agent gemini

First time? Install Skilz: pip install skilz

Works with 22+ AI coding assistants

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/Microck/ordinary-claude-skills
2. Copy the agent skill directory:
cp -r ordinary-claude-skills/skills_categorized/sql-databases/postgresql-table-design ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

Agentic Skill Details

Type
Non-Technical
Meta-Domain
general
Primary Domain
general
Sub-Domain
database schema query
Market Score
70

Agent Skill Grade

C
Score: 70/100 Click to see breakdown

Score Breakdown

Spec Compliance
11/15
PDA Architecture
16/30
Ease of Use
19/25
Writing Style
8/10
Utility
17/20
Modifiers: -1

Areas to Improve

  • Description needs trigger phrases
  • No Progressive Disclosure Architecture
  • Missing Table of Contents

Recommendations

  • Focus on improving Pda (currently 16/30)
  • Address 1 high-severity issues first
  • Add trigger phrases to description for discoverability

Graded: 2026-01-19

Developer Feedback

I took a look at your postgresql-table-design skill and wanted to share some thoughts.

Links:

The TL;DR

You're at 70/100, which is solid C-grade territory. The skill has real value—your PostgreSQL guidance is genuinely useful, and your examples (users table, orders table, JSONB patterns) actually demonstrate the concepts you're teaching. Strongest area is Utility (17/20), but Progressive Disclosure Architecture (16/30) is dragging the score down significantly.

What's Working Well

  • Strong practical examples. Your three SQL examples aren't just syntax dumps—they show real schema decisions (why normalized orders vs. JSONB product variants). That's the kind of thing that actually helps developers think through trade-offs.
  • Solid PostgreSQL specificity. You're not generic SQL advice here. Mentions of MVCC, TOAST, HOT, and the MONEY type gotcha show you understand PG quirks that matter.
  • Clear Core Rules section. The "Always use", "Prefer", and "Avoid" structure gives developers immediate guidance without having to read a novel first.

The Big One: Progressive Disclosure Architecture

This is your main opportunity. Right now, you're loading all 205 lines into one monolithic SKILL.md file—advanced topics like partitioning, extensions, and JSONB guidance sit alongside table basics. That violates progressive disclosure principles.

The fix: Create a references/ directory with separate files:

  • references/data-types.md – Detailed type guidance
  • references/indexing.md – B-tree, BRIN, GiST strategies
  • references/partitioning.md – Table partitioning patterns
  • references/jsonb-guidance.md – JSON column design

Keep SKILL.md focused on the esse...

Report Security Issue

Found a security vulnerability in this agent skill?