PostgreSQL best practices, query optimization, connection troubleshooting, and performance improvement. Load when working with Postgres databases.
90
63%
Does it follow best practices?
Impact
93%
1.43xAverage score across 17 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/postgres/SKILL.mdSchema design conventions
Identity primary keys
0%
100%
No UUID primary keys
0%
100%
CHECK over ENUM
100%
100%
TIMESTAMPTZ for timestamps
100%
100%
created_at on all tables
100%
100%
FK column indexes
100%
75%
Index naming convention
100%
100%
Constraint naming convention
37%
0%
Singular snake_case names
0%
100%
NOT NULL coverage
100%
66%
Explicit FK delete behavior
0%
100%
BIGINT for all IDs and FKs
0%
100%
SQL query anti-pattern fixes
SELECT * eliminated
100%
100%
Correlated subquery → JOIN
100%
100%
LIMIT added to unbounded query
100%
100%
SARGable date filter
100%
100%
N+1 batch query
100%
100%
Cursor pagination
100%
100%
UNION → UNION ALL
100%
100%
EXISTS over IN subquery
100%
100%
Eager loading for ORM
100%
100%
Explanations present
100%
100%
PgBouncer connection pooling setup
OLTP port 6432
0%
100%
DDL/admin port 5432
100%
100%
Session features on direct
100%
100%
SSL parameters complete
0%
100%
Dedicated PgBouncer username
0%
100%
default_pool_size in range
0%
100%
max_user_connections formula
0%
100%
max_connections formula
20%
30%
No CPU-cores formula
100%
100%
Transaction pooling limitations noted
100%
100%
b156f4c
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.