Core Defensive Coding (cc-core-defensive) is a specialized skill designed to guide Claude through the process of making safe, intentional code modifications. It prioritizes minimal effective changes and real-world boundary validation over hypothetical risk mitigation and excessive abstraction. By emphasizing existing patterns and targeted verification, this skill helps developers maintain codebase stability, avoid regressions, and ensure that every modification is purposeful, properly scoped, and easy to review.
주요 기능
01Prioritizes minimal effective changes to reduce regression risk
02Encourages reuse of existing code patterns over new abstractions
03Prevents over-engineering and abstraction driven by phantom risks
04772 GitHub stars
05Mandates targeted verification within the affected code scope
06Enforces real-world boundary validation and error handling
사용 사례
01Refactoring existing logic while maintaining architectural consistency
02Safely patching legacy codebases where minimizing side effects is critical
03Implementing targeted bug fixes when the root cause is clearly identified