CtrlK
BlogDocsLog inGet started
Tessl Logo

postgres

PostgreSQL best practices, query optimization, connection troubleshooting, and performance improvement. Load when working with Postgres databases.

Install with Tessl CLI

npx tessl i github:planetscale/database-skills --skill postgres
What are skills?

Overall
score

60%

Does it follow best practices?

Evaluation96%

1.32x

Agent success when using this skill

Validation for skill structure

SKILL.md
Review
Evals

PlanetScale Postgres

Generic Postgres

TopicReferenceUse for
Schema Designreferences/schema-design.mdTables, primary keys, data types, foreign keys
Indexingreferences/indexing.mdIndex types, composite indexes, performance
Index Optimizationreferences/index-optimization.mdUnused/duplicate index queries, index audit
Partitioningreferences/partitioning.mdLarge tables, time-series, data retention
Query Patternsreferences/query-patterns.mdSQL anti-patterns, JOINs, pagination, batch queries
Optimization Checklistreferences/optimization-checklist.mdPre-optimization audit, cleanup, readiness checks
MVCC and VACUUMreferences/mvcc-vacuum.mdDead tuples, long transactions, xid wraparound prevention

Operations and Architecture

TopicReferenceUse for
Process Architecturereferences/process-architecture.mdMulti-process model, connection pooling, auxiliary processes
Memory Architecturereferences/memory-management-ops.mdShared/private memory layout, OS page cache, OOM prevention
MVCC Transactionsreferences/mvcc-transactions.mdIsolation levels, XID wraparound, serialization errors
WAL and Checkpointsreferences/wal-operations.mdWAL internals, checkpoint tuning, durability, crash recovery
Replicationreferences/replication.mdStreaming replication, slots, sync commit, failover
Storage Layoutreferences/storage-layout.mdPGDATA structure, TOAST, fillfactor, tablespaces, disk mgmt
Monitoringreferences/monitoring.mdpg_stat views, logging, pg_stat_statements, host metrics
Backup and Recoveryreferences/backup-recovery.mdpg_dump, pg_basebackup, PITR, WAL archiving, backup tools

PlanetScale-Specific

TopicReferenceUse for
Connection Poolingreferences/ps-connection-pooling.mdPgBouncer, pool sizing, pooled vs direct
Extensionsreferences/ps-extensions.mdSupported extensions, compatibility
Connectionsreferences/ps-connections.mdConnection troubleshooting, drivers, SSL
Insightsreferences/ps-insights.mdSlow queries, MCP server, pscale CLI
CLI Commandsreferences/ps-cli-commands.mdpscale CLI reference, branches, deploy requests, auth
CLI API Insightsreferences/ps-cli-api-insights.mdQuery insights via pscale api, schema analysis
Repository
github.com/planetscale/database-skills
Last updated
Created

Is this your skill?

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.