/postgresql-skills:postgres-workload-validationfrom PostgreSQL Diagnostics and Review
Compares PostgreSQL SQL, index, or configuration changes under reproducible workloads. Useful for benchmark design, pgbench replay, and capacity/latency regression analysis.
Ships in PostgreSQL Diagnostics and Review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
対象処理とSLO、変更差分、平常時と繁忙時の代表負荷を確認する。実行先、データ準備、書き込み範囲、停止条件を確定してから再生する。取得済みのログと計測結果があれば先に使う。
負荷の設計と実行に沿って入力と測定条件を揃え、同じ負荷を複数回再生する。代表性、試行数、成功件数、観測時間、許容するばらつきを出典付きの検証計画に定め、比較にはscripts/compare_runs.py --policy policy.jsonを使う。計画がない・条件を満たさない場合はacceptしない。DB統計・計画はpostgres-performance-diagnostics、設定の反映確認と切り戻しはpostgres-config-tuningの手順を使う。
結果一致とSLOを先に確認し、次に完了数、失敗・未送信、待ち時間、資源使用量を比較する。出力v2のcorrectness、performance、evidence_quality、improvementを別々に読み、観測窓、各試行の値とばらつき、欠測、判断、切り戻し条件を報告する。欠測があっても観測した結果不一致やSLO違反は残す。SLO合格と中央値差だけでは因果的な改善は確定しない。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub soudai/postgresql-use-improve-agents-skill --plugin postgresql-skills5 skills in this plugin
/postgres-config-tuningReview and optimize PostgreSQL 18 and 19 server configuration (postgresql.conf, ALTER SYSTEM, role/database settings, managed-service parameter groups). Use when asked to tune, size or audit memory, connections, WAL/checkpoints, autovacuum, planner, I/O, parallelism, JIT, logging or timeouts; produce evidence-backed changes with apply, verify and rollback steps./postgres-performance-diagnosticsDiagnose PostgreSQL 18 and 19 performance using wait-event sampling, cumulative statistics, execution plans, and logs. Use for slow queries, high CPU, wait events, I/O, spills, locking, index design (missing or redundant), excessive calls, vacuum backlog, WAL, replication, and resource contention; produce evidence-backed candidates and validation plans./postgres-schema-reviewReview PostgreSQL table design for missing constraints, naming inconsistencies, mixed lifecycles and responsibilities, mutable facts, nullable or flag semantics, and contention. Use to report refactoring candidates from schema snapshots, domain contracts and observed writes./postgres-security-reviewReview PostgreSQL roles, row level security, authentication, TLS, deployment privileges and security updates. Use to assess exposure, propose scoped remediation, or verify security changes using catalog snapshots, access contracts and staging tests.Other plugins' skills for the same job