PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices.
59
—
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Covering indexes, cursor pagination, upsert
Cursor pagination
100%
100%
No OFFSET
100%
100%
Covering index INCLUDE
100%
100%
Composite index order
100%
100%
Partial index WHERE
0%
100%
UPSERT ON CONFLICT
100%
100%
bigint IDs
100%
100%
text strings
100%
100%
timestamptz timestamps
100%
100%
boolean flags
100%
100%
Data types and index selection
bigint IDs
100%
100%
text strings
100%
100%
timestamptz timestamps
100%
100%
numeric amounts
83%
100%
boolean flags
100%
100%
GIN for JSONB
100%
100%
BRIN for time-series
100%
100%
Composite index order
100%
100%
Partial index
0%
0%
RLS, queue processing, production config, security
RLS SELECT wrapper
0%
100%
SKIP LOCKED queue
100%
100%
REVOKE public schema
100%
100%
pg_stat_statements
100%
100%
idle transaction timeout
100%
100%
statement timeout
0%
100%
max_connections
50%
70%
work_mem 8MB
0%
100%
Unindexed FK query
40%
100%
Table bloat query
100%
100%
a9cbecb
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.