Prompt file imported from tomazb/rh-acm-switchover (
.github/prompts/plan-claudeSkillsFromRunbook.prompt.md). Copyright stays with the author.
Plan: Create Claude SKILLS from ACM Switchover Runbook
Extract procedural knowledge from the runbook into conversational Claude SKILLS with decision trees, referencing docs/ACM_SWITCHOVER_RUNBOOK.md for details, and using conditional sections for ACM version variations.
Steps
-
Create
.claude/skills/directory structure withoperations/andtroubleshooting/subdirectories alongside existing .claude/settings.local.json. -
Create 8 operational SKILLS with conversational guidance and decision trees:
preflight-validation.skill.md— Interactive checklist with go/no-go decision points, links to runbook Step 0pause-backups.skill.md— Guides user through ACM version detection, then shows 2.11 vs 2.12+ commands in conditional sectionsactivate-passive-restore.skill.md— Decision tree: "Is passive restore already running?" → branch to verify or create, references runbook Steps 2-5activate-full-restore.skill.md— Decision tree for Method 2 prerequisites, references runbook Steps F1-F5verify-switchover.skill.md— Conversational flow checking clusters, observability, with "what if X fails" branchesenable-backups.skill.md— Guides backup schedule creation with version-conditional sectionsrollback.skill.md— Decision tree: "At which step did failure occur?" → targeted rollback stepsdecommission.skill.md— Interactive confirmation flow with safety checks
-
Create 3 troubleshooting SKILLS with diagnostic decision trees:
pending-import.skill.md— "Is klusterlet running?" → "Check import secrets" → escalation pathsgrafana-no-data.skill.md— "Are observatorium pods healthy?" → "Check metrics-collector" → resolution branchesrestore-stuck.skill.md— Velero diagnostics flow with common resolution paths
-
Add SKILLS section to AGENTS.md with:
- Description of
.claude/skills/directory and purpose - List of available SKILLS by category
- Maintenance rule: "When updating docs/ACM_SWITCHOVER_RUNBOOK.md, also update the corresponding SKILLS in
.claude/skills/to keep procedures synchronized" - Add to "Files to Know" table:
.claude/skills/entry noting runbook dependency
- Description of