/postgresql-skills:postgres-security-reviewfrom PostgreSQL Diagnostics and Review
Reviews PostgreSQL security posture including roles, row-level security, authentication, TLS, deployment privileges, and update practices. Assesses exposure, proposes scoped remediation, and verifies changes via catalog snapshots and staging tests.
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.
対象のクラスタ・DB、接続ロール、保護対象と許可する操作、管理・レプリケーション経路を確認する。取得済みの証拠があれば先に解析する。実DBは指定された接続先から読み取りで調査し、追加の特権情報は管理者による限定収集で補う。
scripts/review.pyで候補を抽出し、権限とRLS、認証と実行環境、更新と復旧のうち依頼に対応する項目を確認する。--format issueで作り、共有先を確認する。平文パスワード、verifier、秘密鍵、秘密入りDSNは収集や出力に含めない。診断中はcatalogに限定し、アプリ関数・policyの実行と越境試験は許可された隔離環境で行う。複数DBはDBごとに確認する。
agents/openai.yaml (opens in a new tab)references/access.md (opens in a new tab)references/authentication.md (opens in a new tab)references/changes.md (opens in a new tab)references/evidence.md (opens in a new tab)references/validation.md (opens in a new tab)scripts/access.py (opens in a new tab)scripts/advisories.py (opens in a new tab)scripts/collect.py (opens in a new tab)scripts/environment.py (opens in a new tab)scripts/queries.py (opens in a new tab)scripts/report.py (opens in a new tab)scripts/review.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 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-workload-validationCompare PostgreSQL SQL, index, or configuration changes under a reproducible workload. Use for benchmark design, pgbench replay, capacity and latency regressions, and accept, investigate, or roll back decisions.npx claudepluginhub soudai/postgresql-use-improve-agents-skill --plugin postgresql-skillsOther plugins' skills for the same job