Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:19:17 +08:00
commit 71d886e0da
8 changed files with 178 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{
"name": "disaster-recovery-planner",
"description": "Plan and implement disaster recovery procedures",
"version": "1.0.0",
"author": {
"name": "Claude Code Plugins",
"email": "[email protected]"
},
"skills": [
"./skills"
],
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# disaster-recovery-planner
Plan and implement disaster recovery procedures

25
commands/dr-plan.md Normal file
View File

@@ -0,0 +1,25 @@
---
description: $(echo "$description" | cut -d' ' -f1-5)
---
# $(echo "$name" | sed 's/-/ /g' | sed 's/\b\(.\)/\u\1/g')
$(echo "$description")
## Key Features
- Production-ready configurations
- Best practices implementation
- Security-first approach
- Scalable architecture
- Comprehensive documentation
- Multi-platform support
## Example Usage
This plugin generates complete configurations for your DevOps needs.
Specify your requirements and get production-ready code instantly.
## When Invoked
Generate configurations and setup code based on your specific requirements and infrastructure needs.

61
plugin.lock.json Normal file
View File

@@ -0,0 +1,61 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/devops/disaster-recovery-planner",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "91cc4c21a7657feef8b8a764dfb62d94148f496e",
"treeHash": "ec5b14acd4df897f1c5ccee1e3a466923812f281b147f5422e9648298df2e045",
"generatedAt": "2025-11-28T10:18:24.395756Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "disaster-recovery-planner",
"description": "Plan and implement disaster recovery procedures",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "d8668e6a08e4a2adea4b6193f924e7e2823a1cb9ffbe836bdd2a945f10c253db"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "a5e00886e8cf4e9eee3a5b8380e9ffa906e675b34be419f3ee317643d934dff8"
},
{
"path": "commands/dr-plan.md",
"sha256": "353f80054a90cda1e6716da3628115ce829307fbbb83a15b64f1d37c96224a99"
},
{
"path": "skills/disaster-recovery-planner/SKILL.md",
"sha256": "84c0203232a2a0709c66a9f7efd9ee7aa21d4240fdf6d64a50e5332505e48117"
},
{
"path": "skills/disaster-recovery-planner/references/README.md",
"sha256": "b5657674bd56b321b278ea23456dfbd154d9b97fdcda74df4dedc552a7cd019b"
},
{
"path": "skills/disaster-recovery-planner/scripts/README.md",
"sha256": "5b059cb1db47add72501775ed7f19bc2c077fdb75a55d4ae4637b2331b92d120"
},
{
"path": "skills/disaster-recovery-planner/assets/README.md",
"sha256": "1e14acae3460253bdd1bacb5bd7e8f22f6966ae04b34f63c78597ff46358fe42"
}
],
"dirSha256": "ec5b14acd4df897f1c5ccee1e3a466923812f281b147f5422e9648298df2e045"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}

View File

@@ -0,0 +1,52 @@
---
name: planning-disaster-recovery
description: |
This skill enables Claude to plan and implement disaster recovery (DR) procedures. It generates configurations and setup code based on specific requirements and infrastructure. Use this skill when the user requests assistance with disaster recovery planning, business continuity, or related DevOps tasks. Trigger this skill when the user mentions "disaster recovery", "DR plan", "business continuity", or requests help with setting up a recovery strategy. It provides production-ready configurations, implements best practices, and supports multi-platform environments.
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
version: 1.0.0
---
## Overview
This skill empowers Claude to generate disaster recovery plans tailored to specific infrastructure and business needs. It automates the creation of configurations and setup code, significantly reducing the manual effort required for DR implementation.
## How It Works
1. **Requirement Gathering**: Claude identifies the user's specific disaster recovery requirements, including platform, recovery time objective (RTO), and recovery point objective (RPO).
2. **Configuration Generation**: Based on the requirements, Claude generates production-ready configurations for the disaster recovery plan.
3. **Code Generation**: Claude generates the necessary setup code to implement the disaster recovery plan.
## When to Use This Skill
This skill activates when you need to:
- Create a disaster recovery plan for a specific environment.
- Generate configurations for disaster recovery infrastructure.
- Automate the setup of disaster recovery procedures.
## Examples
### Example 1: Creating a DR Plan for AWS
User request: "Create a disaster recovery plan for my AWS environment with an RTO of 1 hour and an RPO of 15 minutes."
The skill will:
1. Gather the AWS environment details, RTO, and RPO requirements.
2. Generate a disaster recovery plan configuration using AWS services like S3 replication, EC2 snapshots, and Route 53 failover.
### Example 2: Setting Up a Business Continuity Strategy
User request: "Help me set up a business continuity strategy using a multi-region deployment."
The skill will:
1. Analyze the existing infrastructure and application architecture.
2. Generate configurations for deploying the application across multiple regions, including database replication and load balancing.
## Best Practices
- **Security**: Always prioritize security when designing disaster recovery plans. Ensure that all data is encrypted and access is properly controlled.
- **Testing**: Regularly test the disaster recovery plan to ensure it functions as expected and meets the required RTO and RPO.
- **Documentation**: Maintain comprehensive documentation of the disaster recovery plan, including configuration details, procedures, and contact information.
## Integration
This skill can be integrated with other DevOps tools and plugins to automate the entire disaster recovery process, including infrastructure provisioning, configuration management, and monitoring.

View File

@@ -0,0 +1,7 @@
# Assets
Bundled resources for disaster-recovery-planner skill
- [ ] dr_plan_template.md A template for creating a disaster recovery plan document.
- [ ] config_example.yaml Example configuration files for different disaster recovery scenarios.
- [ ] setup_script_example.sh Example setup scripts for implementing the disaster recovery plan.

View File

@@ -0,0 +1,8 @@
# References
Bundled resources for disaster-recovery-planner skill
- [ ] dr_best_practices.md A comprehensive guide to disaster recovery best practices.
- [ ] cloud_provider_dr.md Specific disaster recovery strategies for different cloud providers (AWS, Azure, GCP).
- [ ] on_premise_dr.md Disaster recovery strategies for on-premise infrastructure.
- [ ] rto_rpo_guidance.md Guidance on defining Recovery Time Objective (RTO) and Recovery Point Objective (RPO).

View File

@@ -0,0 +1,7 @@
# Scripts
Bundled resources for disaster-recovery-planner skill
- [ ] dr_plan_generator.py Generates a disaster recovery plan based on user input and infrastructure details.
- [ ] config_validator.py Validates the generated configuration files against best practices and security standards.
- [ ] setup_code_generator.py Generates setup code for implementing the disaster recovery plan on various platforms.