Core Defensive Coding

•
772
•

Enforces minimal-impact, defensive coding standards to ensure code reliability and prevent over-engineering during modifications.

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