validate-before-process
Installation
SKILL.md
validate-before-process
When to Use
- Accepting external/user input
- File format must be exact
- Early failure is better than silent corruption
- Building robust parsers
When NOT to Use
- Trusted internal data
- Validation overhead too high
- Best-effort processing is acceptable
The Pattern
Validate input structure before processing, with clear error messages.