Global Validation
Installation
SKILL.md
Global Validation
When to use this skill
- When implementing form validation for user input
- When creating API request validation rules
- When sanitizing input to prevent SQL injection, XSS, or command injection
- When writing Laravel validation rules in form requests
- When creating validation error messages for users
- When implementing type checking and format validation
- When validating business rules (e.g., sufficient balance, valid dates)
- When ensuring consistent validation across web forms, API endpoints, and background jobs
- When choosing between client-side and server-side validation
- When working on any code that accepts user input
- When using allowlists to define what is allowed instead of blocklists
- When implementing security-related input validation
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.