What problem does it solve?
This Skill prevents costly regressions and ensures code stability by systematically locking down working features. It eliminates the risk of accidental changes to critical, tested code, saving hours of debugging and rework.
Core Features & Use Cases
- Protection Levels: Apply
@immutable (never change), @protected (refactor only), or @maintainable (bug fixes allowed) to code.
- Automated Documentation: Updates
CODE_PROTECTION_POLICY.md with protected files and creates bug tasks for failing features.
- Pre-Commit Baseline: Establishes a foundation for pre-commit enforcement, ensuring policy compliance.
- Use Case: After a major release, use this skill to mark all stable APIs and core functionalities as
@immutable or @protected, ensuring future changes are carefully reviewed and approved, preventing unexpected breaks and maintaining user trust.
Quick Start
Protect the voice panel feature after reviewing manual test results.
Annotate passing code with protection levels.