·
Last changedVersion:
This version passed the hardening gate. Hardening updated the skill content and independently checked the resulting changes. Classified findings before hardening: 8. Classified findings closed: 2. Classified findings remaining: 6. Unclassified scanner findings remaining: 0. Review findings closed: 0. Review findings remaining: 15.
1
7
1
5
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
references/query-patterns.md | Excessive Agency & Rogue Autonomy | — | Medium | Open | |
references/ps-insights.md | Prompt Injection | Third-party content as instructions | Low | Open | |
SKILL.md | Prompt Injection | Third-party content as instructions | Low | Open | |
references/ps-insights.md | Malicious Code & Command Execution | — | Low | Open | |
references/partitioning.md | Tool & MCP Manipulation | MCP configuration abuse | Low | Open | |
references/monitoring.md | Malicious Code & Command Execution | — | Low | Closed | |
references/monitoring.md | Supply Chain & Install-Time Trust | Install-time download and execute | Low | Closed | |
references/ps-insights.md | Supply Chain & Install-Time Trust | Install-time download and execute | Low | Open |
8 findings
| Topic | Reference | Use for |
|---|---|---|
Schema Design | Tables, primary keys, data types, foreign keys | |
Indexing | Index types, composite indexes, performance | |
Index Optimization | Unused/duplicate index queries, index audit | |
Partitioning | Large tables, time-series, data retention | |
Query Patterns | SQL anti-patterns, JOINs, pagination, batch queries | |
Optimization Checklist | Pre-optimization audit, cleanup, readiness checks | |
MVCC and VACUUM | Dead tuples, long transactions, xid wraparound prevention |
| Topic | Reference | Use for |
|---|---|---|
Process Architecture | Multi-process model, connection pooling, auxiliary processes | |
Memory Architecture | Shared/private memory layout, OS page cache, OOM prevention | |
MVCC Transactions | Isolation levels, XID wraparound, serialization errors | |
WAL and Checkpoints | WAL internals, checkpoint tuning, durability, crash recovery | |
Replication | Streaming replication, slots, sync commit, failover | |
Storage Layout | PGDATA structure, TOAST, fillfactor, tablespaces, disk mgmt | |
Monitoring | pg_stat views, logging, pg_stat_statements, host metrics | |
Backup and Recovery | pg_dump, pg_basebackup, PITR, WAL archiving, backup tools |
| Topic | Reference | Use for |
|---|---|---|
Connection Pooling | PgBouncer, pool sizing, pooled vs direct | |
PgBouncer Config | default_pool_size, max_user_connections, pool limits | |
Extensions | Supported extensions, compatibility | |
Connections | Connection troubleshooting, drivers, SSL | |
Insights | Slow queries, MCP server, pscale CLI | |
CLI Commands | pscale CLI reference, branches, deploy requests, auth | |
CLI API Insights | Query insights via |
Get started with chainctlchainctl skill install public/planetscale/postgres:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.cgr.dev/public/github.com/planetscale/skills/postgres:latest
MIT
HARDENING.md
LICENSE
SKILL.md
references/backup-recovery.md
references/index-optimization.md
references/indexing.md
references/memory-management-ops.md
references/monitoring.md
references/mvcc-transactions.md
references/mvcc-vacuum.md
references/optimization-checklist.md
references/partitioning.md
references/pgbouncer-configuration.md
references/process-architecture.md
references/ps-cli-api-insights.md
references/ps-cli-commands.md
references/ps-connection-pooling.md
references/ps-connections.md
references/ps-extensions.md
references/ps-insights.md
references/query-patterns.md
references/replication.md
references/schema-design.md
references/storage-layout.md
references/wal-operations.md