Use when designing verification strategy so independent gates cover requirements, implementation, security, validation, and judgment without claiming perfect certainty.
Installs into .claude/skills of the current project.
Are you the author of Defense In Depth?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dyai2025-defense-in-depth)
---
name: defense-in-depth
description: Use when designing verification strategy so independent gates cover requirements, implementation, security, validation, and judgment without claiming perfect certainty.
---
# Defense in Depth
Design independent, diverse checks so a defect must survive multiple uncorrelated gates.
## Gate design
- Assign an owner.
- Define independence from the implementation author.
- State machine-checkable pass criteria.
- Set loop limits.
- Record evidence and residual risk.
Avoid saying a workflow is 100% safe; report coverage and remaining uncertainty.