·postgres-patterns
</>

postgres-patterns

affaan-m/everything-claude-code

PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices.

698Installs·44Trend·@affaan-m

Installation

$npx skills add https://github.com/affaan-m/everything-claude-code --skill postgres-patterns

SKILL.md

Quick reference for PostgreSQL best practices. For detailed guidance, use the database-reviewer agent.

| WHERE col = value | B-tree (default) | CREATE INDEX idx ON t (col) | | WHERE col > value | B-tree | CREATE INDEX idx ON t (col) | | WHERE a = x AND b > y | Composite | CREATE INDEX idx ON t (a, b) | | WHERE jsonb @> '{}' | GIN | CREATE INDEX idx ON t USING gin (col) | | WHERE tsv @@ query | GIN | CREATE INDEX idx ON t USING gin (col) |

| Time-series ranges | BRIN | CREATE INDEX idx ON t USING brin (col) |

PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices. Source: affaan-m/everything-claude-code.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/affaan-m/everything-claude-code --skill postgres-patterns
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is postgres-patterns?

PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices. Source: affaan-m/everything-claude-code.

How do I install postgres-patterns?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/affaan-m/everything-claude-code --skill postgres-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/affaan-m/everything-claude-code