What problem does it solve?
This Skill prevents AI agents from accidentally deleting or corrupting complex, interconnected business logic within a project, acting as a crucial safeguard for project stability and integrity.
Core Features & Use Cases
- Logic Manifest: Maintains a machine-readable inventory of critical logic components, their functions, and parameters.
- Pre-Edit Gates: Enforces explicit acknowledgment and preservation of existing logic before any modifications are made to critical files.
- Post-Edit Validation: Verifies that edits do not remove or unintentionally alter critical functions and runs tests to ensure no regressions.
- Use Case: In a trading bot project, this skill ensures that the core strategy logic, risk management functions, and state machine transitions are not accidentally overwritten by an AI during a refactoring or bug-fixing session.
Quick Start
Run the logic-guardian skill to scan the project and generate a manifest for critical business logic.