Global Validation
When to use this skill
- When implementing form validation in frontend or backend code
- When validating API request data or parameters
- When creating validation schemas or rules
- When sanitizing user input to prevent injection attacks (SQL, XSS, command injection)
- When implementing client-side validation for user experience
- When implementing server-side validation for security and data integrity
- When providing field-specific error messages to users
- When validating data types, formats, ranges, and required fields
- When implementing business rule validation
- When using allowlists to define acceptable input
- When ensuring consistent validation across web forms, API endpoints, and background jobs
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