What problem does it solve?
This Skill standardizes and clarifies validation error messages across a codebase, reducing debugging time and improving user guidance.
Core Features & Use Cases
- Template-based messages: Enforces a consistent structure for errors that describe what's wrong, what's expected, and how to fix it.
- Examples & guidance: Provides concrete examples to help developers produce clear, actionable errors.
- Testing support: Supports tests to verify that error messages are clear, consistent, and cover common scenarios (API inputs, config parsing, CLI outputs).
- Use cases: Applies to API input validation, configuration parsing, and user-facing command-line or UI errors.
Quick Start
Implement the standard error message template across validators, replace existing messages with the canonical format, and add tests to ensure clarity and consistency.