一键导入
pg-backup-domain
PostgreSQL backup, WAL, recovery, and rejoin context for pacman.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
PostgreSQL backup, WAL, recovery, and rejoin context for pacman.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Require a concrete change explanation and explicit user approval before modifying a repository, then implement and verify the approved scope. Use whenever Codex is asked to create, edit, delete, generate, format, refactor, fix, upgrade, or otherwise mutate repository files, dependencies, configuration, tests, documentation, build artifacts, or version-control state.
Repository layout for the pacman Go PostgreSQL HA cluster manager.
Use when inspecting GitHub Actions, CI failures, failed Go tests, workflow logs, or build/lint/test errors. Avoid reading full logs; summarize failed jobs and inspect only relevant snippets.
Maintain PACMAN-native and Patroni-compatible API contracts.
PACMAN domain rules for cluster state transitions and operation history.
Rules for PACMAN control-plane quorum, leases, epochs, fencing, and split-brain prevention.
| name | pg-backup-domain |
| description | PostgreSQL backup, WAL, recovery, and rejoin context for pacman. |
Use this when changes touch backup, WAL, recovery, rejoin, or standby behavior.
Key locations:
internal/postgres: WAL/LSN helpers, recovery, standby, pg_rewind, health,
command wrappers, and PostgreSQL probes.internal/controlplane/rejoin*: rejoin planning, execution, continuation,
and finalize logic.docs/PATRONI_MIGRATION.md, docs/POSTGRES_EXTENSION.md,
docs/examples/*: compatibility and operational examples.postgresql/pacman_agent: PostgreSQL extension surface.Rules:
pg_rewind only when preconditions are explicit and tested.