Skip to main content
Run any Skill in Manus
with one click

pg-deploy-cluster

Stars1
Forks0
UpdatedJuly 14, 2026 at 05:47

自动化部署 PostgreSQL 高可用集群:给定服务器清单、SSH/认证信息与集群要求(版本、插件、Patroni/repmgr、VIP/HAProxy、归档备份),完成安装、initdb、流复制配置、HA 软件部署,并在沙盒中执行 switchover/failover 切换测试,最终产出含连接信息、切换测试结果、已知风险的部署报告。触发场景包括:'部署 PG 集群'、'搭建 PostgreSQL 主从'、'帮我上 Patroni'、'帮我配 repmgr 高可用'、'搭建流复制'、'一键部署数据库高可用集群'、'做个 PG 故障切换测试'。即使用户只给了几台服务器 IP 说'帮我搭个 PG 高可用',也应触发本技能并主动追问缺失信息。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
17 files
SKILL.md
readonly