Safe Remove

•
164
•

Safely removes Claude Code assets by detecting dependencies, classifying impacts, and performing verified cleanup.

The Safe Remove skill provides a fail-safe mechanism for deprecating and deleting plugin components like skills, agents, rules, and hooks. It prevents accidental breakage by building a reference graph to identify 'BLOCKER' dependencies that require manual intervention while automatically patching 'PATCHABLE' documentation references across CLAUDE.md, READMEs, and test suites. This ensures repository integrity and maintains a clean codebase through a structured dry-run and verification workflow that prevents AI from skipping critical quality gates.

主要功能

01Automatic patching of documentation and metadata references
02Post-removal verification to ensure zero residual references
03164 GitHub stars
04Two-tier impact classification (BLOCKER vs. PATCHABLE)
05Fail-safe dry-run mode enabled by default
06Automated dependency graph discovery across the codebase

使用场景

01Deprecating obsolete agents or skills without breaking existing automation chains
02Cleaning up unused scripts and hooks while ensuring all configuration files stay in sync
03Removing redundant rules to optimize the context window and maintain repository hygiene