chestertons-fence
CommunityPrevent dangerous deletions during refactoring
Authorcalvyntwh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents accidental regressions and hidden breakages by requiring context and evidence before removing or simplifying code that may have historical or environmental reasons for existing.
Core Features & Use Cases
- Context-first audit: A stepwise protocol to pause, investigate history, and verify intent before changing or deleting code.
- Archaeology & interrogation: Guidance to use git blame, commit inspection, and repository search to uncover reasons for odd or "ugly" code.
- Risk triage & decision matrix: Prioritizes investigation depth based on blast radius and recommends KEEP, REFACTOR, DELETE, or FLAG.
- Rubber-duck validation: Enforces explaining code in plain English as a safety check before making irreversible edits.
- Self-improvement logs: Optional learning artifacts to capture recurring patterns and corrections for future detection.
Quick Start
Use the chestertons-fence skill to audit a risky code change by performing git archaeology, explaining the logic in plain English, and documenting your decision before deleting anything.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: chestertons-fence Download link: https://github.com/calvyntwh/karu-custom-skills/archive/main.zip#chestertons-fence Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.