Defense-in-Depth-Validation
CommunityMake bugs impossible with multi-layer validation.
Authorslapglif
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents bugs caused by invalid data from recurring by enforcing validation at every layer data passes through. It moves beyond single-point fixes to make bugs structurally impossible, enhancing system robustness.
Core Features & Use Cases
- Four Layers of Validation: Guides in implementing checks at entry points, business logic, environment guards, and debug instrumentation.
- Structural Bug Prevention: Ensures that even if one validation is bypassed, subsequent layers will catch the invalid data.
- Forensic Instrumentation: Includes debug logging to capture context for future investigations.
- Use Case: After fixing a bug where an empty directory caused
git initin the wrong place, use this skill to add validation at the project creation, workspace initialization, andgit initcommand levels, plus environment guards for tests.
Quick Start
I've fixed a bug caused by invalid data. Use the Defense-in-Depth-Validation skill to make this bug structurally impossible.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: Defense-in-Depth-Validation Download link: https://github.com/slapglif/swe-agent/archive/main.zip#defense-in-depth-validation 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.