一键导入
disaster-recovery-planner
Design disaster recovery strategies including backup, failover, RTO/RPO planning, and multi-region deployment for business continuity.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Design disaster recovery strategies including backup, failover, RTO/RPO planning, and multi-region deployment for business continuity.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | disaster-recovery-planner |
| description | Design disaster recovery strategies including backup, failover, RTO/RPO planning, and multi-region deployment for business continuity. |
| allowed-tools | ["Read","Write","Edit","Bash","Grep","Glob"] |
Design comprehensive disaster recovery strategies for business continuity.
| Tier | RTO | RPO | Cost | Use Case |
|---|---|---|---|---|
| Critical | < 1 hour | < 5 min | High | Payment, Auth |
| Important | < 4 hours | < 1 hour | Medium | Orders, Inventory |
| Standard | < 24 hours | < 24 hours | Low | Reports, Analytics |
# AWS Route53 Health Checks and Failover
Resources:
PrimaryHealthCheck:
Type: AWS::Route53::HealthCheck
Properties:
HealthCheckConfig:
Type: HTTPS
ResourcePath: /health
FullyQualifiedDomainName: api-us-east-1.example.com
Port: 443
RequestInterval: 30
FailureThreshold: 3
DNSFailover:
Type: AWS::Route53::RecordSet
Properties:
HostedZoneId: Z123456
Name: api.example.com
Type: A
SetIdentifier: Primary
Failover: PRIMARY
AliasTarget:
HostedZoneId: Z123456
DNSName: api-us-east-1.example.com
HealthCheckId: !Ref PrimaryHealthCheck
# Automated backup script
#!/bin/bash
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
DB_NAME="production_db"
S3_BUCKET="s3://backups-${DB_NAME}"
RETENTION_DAYS=30
# Full backup daily
pg_dump -Fc $DB_NAME | \
aws s3 cp - "${S3_BUCKET}/full/${TIMESTAMP}.dump"
# Point-in-time recovery (WAL archiving)
aws s3 sync /var/lib/postgresql/wal_archive \
"${S3_BUCKET}/wal/" --delete
# Cleanup old backups
aws s3 ls "${S3_BUCKET}/full/" | \
while read -r line; do
createDate=$(echo $line | awk '{print $1" "$2}')
if [[ $(date -d "$createDate" +%s) -lt $(date -d "-${RETENTION_DAYS} days" +%s) ]]; then
fileName=$(echo $line | awk '{print $4}')
aws s3 rm "${S3_BUCKET}/full/${fileName}"
fi
done
Helps create, analyze, and maintain Architecture Decision Records
Generates comprehensive API documentation including OpenAPI/Swagger specs, endpoint descriptions, request/response examples, and integration guides. Use when documenting APIs.
Generate complete elizaOS character configurations with personality, knowledge, and plugin setup. Triggers when user asks to "create character", "generate agent config", or "build elizaOS character"
Execute the proper Drizzle Kit workflow for database schema migrations in asset-forge. Use this when the user asks to create a database migration, update the database schema, or when schema changes need to be applied to the database.
Integrates Lighthouse CI for automated performance testing, Core Web Vitals tracking, and regression detection in CI/CD pipelines. Use when user asks to "setup Lighthouse CI", "add performance testing", "monitor Core Web Vitals", or "prevent performance regressions".
Sets up visual regression testing using Percy, Chromatic, or Playwright to catch unintended UI changes through screenshot comparison. Use when user asks to "setup visual testing", "add screenshot tests", "prevent visual bugs", or "setup Percy/Chromatic".