What problem does it solve?
This Skill safeguards the AI system against accidental component loss or corruption during operations like restructuring or refactoring. It takes pre/post-operation inventories, provides immediate alerts, and offers recovery options, ensuring continuous system reliability.
Core Features & Use Cases:
- Pre-Operation Validation: Creates a snapshot of all critical components (agents, skills, commands, patterns, files) before any major operation.
- Post-Operation Verification: Compares the post-operation state with the baseline, automatically detecting missing, added, or modified components.
- Critical Components Registry: Identifies essential components that must exist and classifies issues by severity (CRITICAL, HIGH, MEDIUM, LOW).
- Auto-Recovery: Offers automatic restoration for critical components from backups or Git history, or guides manual recovery.
- Use Case: Before a major refactoring that might move files, this skill takes an inventory snapshot. If any critical agent files are accidentally deleted or moved, it immediately alerts and attempts to auto-restore them, preventing system downtime.
Quick Start:
Explain the "Pre-Operation Validation" and "Post-Operation Validation" steps, including what components are inventoried.