Global Validation
When to use this skill
- When validating user input in forms, API endpoints, or any entry point
- When implementing form validation (client-side and server-side)
- When checking data types, formats, and ranges
- When sanitizing input to prevent injection attacks (SQL, XSS, command injection)
- When validating business rules and constraints
- When providing clear, field-specific error messages to users
- When implementing server-side validation (always required for security)
- When using client-side validation for immediate user feedback
- When applying allowlists to define what is allowed rather than blocklists
- When validating required fields and mandatory data
- When ensuring consistent validation across all entry points
- When reviewing code for validation completeness and security
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global validation.
Instructions
For details, refer to the information provided in this file: global validation