The Safe Code Removal skill provides a robust framework for bulk-deleting instrumentation, debugging statements, or deprecated code patterns without risking project integrity. It enforces a strict safety protocol including timestamped backups, per-file syntax validation, and integrity checks to ensure that files are never accidentally "gutted" or left in a broken state. This skill is particularly useful for large-scale cleanup tasks across 5+ files where manual editing is error-prone, transforming risky regex replacements into a controlled, reversible, and verified process.
주요 기능
01Precise pattern matching and previewing to avoid over-aggressive matching
02Per-file syntax validation to catch broken code immediately after removal
0356 GitHub stars
04Integrity checks to prevent the accidental deletion of functional logic
05Mandatory timestamped backups for instant rollback and recovery
06Structured workflow for functional testing and manual verification
사용 사례
01Removing timing or logging instrumentation across dozens of script files
02Systematically deleting deprecated API patterns or obsolete boilerplate code
03Cleaning up debugging statements and temporary hooks before a production release