关于
The Defense-in-Depth skill guides Claude in applying robust defensive programming principles to prevent bugs caused by invalid data. Instead of relying on a single check that could be bypassed by refactoring or mocks, this skill implements a four-layer protection strategy: Entry Point Validation, Business Logic Validation, Environment Guards, and Debug Instrumentation. It is particularly useful for hardening complex systems where data flows through multiple modules, ensuring that invalid states are caught immediately at the earliest possible point of failure.