Dr plan

From coco-research/coco · View interactive version

Dr plan is an AI agent skill from the GitHub repository coco-research/coco. Generate a Disaster Recovery plan with RTO/RPO targets. Use when someone asks to "create a DR plan", "disaster recovery", "business continuity", or "RTO RPO". Do NOT use for step-by-step restoration runbooks — use /pmstudio-recovery instead. Designed for SaaS platform products where Coco Inc is the

How to use this skill

Skill file

DR Plan — Disaster Recovery Plan

Purpose

Generates a Disaster Recovery plan scoped to a specific product. For SaaS products (where the vendor owns infrastructure), this plan focuses on what Coco Inc controls: data exports, integration failover, access recovery, communication, and business continuity.

Process

Step 1: Read Context

Read all that exist:

Step 2: Determine Product Type

From context, classify the product:

| Type | DR Focus | Example |

|------|----------|---------|

| SaaS (customer) | Vendor dependency, data portability, alternative workflows | (third-party SaaS) |

| Self-hosted | Infrastructure recovery, backup/restore, failover | Custom app on EKS |

| Hybrid | Both vendor and self-hosted components | SaaS + custom middleware |

Adjust the plan scope accordingly. For SaaS, skip infrastructure sections (that's the vendor's problem). Add vendor SLA and data portability sections.

Step 3: Ask Discovery Questions

Only ask what can't be inferred:

  1. Business criticality tier? (Tier 1 critical / Tier 2 important / Tier 3 standard)
  2. What's the maximum tolerable downtime? (This becomes RTO)
  3. What's the maximum tolerable data loss? (This becomes RPO)
  4. Are there manual workarounds if the product is down? (e.g., "we can use Excel for 48 hours")
  5. Vendor SLA? (uptime commitment, support response times, data export capabilities)
  6. Backup strategy? (Does data export to Snowflake/SharePoint? How often?)

Step 4: Generate DR Plan

Output: Operational/DR-Plan-{ProductName}-{Date}.html

Self-contained HTML with clean typography and print CSS.

11 sections:

1. Purpose & Scope

2. Service Classification

3. RTO/RPO Targets

Per-component target table:

| Component | RTO | RPO | Justification |

|-----------|-----|-----|---------------|

| Core platform | 4 hours | 24 hours | Vendor SLA: 99.9% uptime |

| Data in Snowflake | 2 hours | 0 (real-time sync) | Analytics feeds downstream |

| Integrations (SSO) | 1 hour | N/A | Users locked out |

| Integrations (ServiceNow) | 8 hours | N/A | Ticket creation manual fallback |

4. Disaster Scenarios

Ranked by likelihood x impact:

  1. Vendor platform outage (most likely) — vendor is down, product inaccessible
  2. Data corruption — bad data entered or sync error corrupts records
  3. Access loss — SSO failure, license revocation, permission misconfiguration
  4. Integration failure — upstream/downstream system breaks connection
  5. Security breach — unauthorized access, data exfiltration
  6. Vendor business failure — vendor acquired, shut down, or ends product

For each scenario: description, likelihood, impact, detection method.

5. Recovery Procedures

Per-scenario step-by-step. See references/saas-dr-patterns.md for SaaS-specific recovery patterns.

Structure per scenario:

6. Communication Plan

7. Dependencies

8. Data Backup & Restoration

9. Manual Workarounds

10. Testing Schedule

11. Review & Maintenance

Step 5: Present for Review

Show the plan outline with key decisions highlighted:

Ask for approval before writing.

Critical Rules

  1. RTO/RPO must be numbers, not words. "As fast as possible" is not an RTO. Push for specific hours.
  2. Vendor DR is not your DR. The vendor's uptime SLA is an input to your plan, not a substitute for it. Your plan covers what happens on Coco Inc's side.
  3. Manual workarounds are critical. For every scenario, document what the business does while the product is down. If there's no workaround, that's a risk to flag.
  4. Data portability is DR. If you can't get data out of the product, you can't recover from vendor failure. Document export capabilities.
  5. Test the plan. A plan that's never been tested is a wish list. Include a testing schedule and success criteria.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.