global-validation
Implement comprehensive validation on both server and client sides with specific error messages, input sanitization, and consistent validation across all entry points. Use this skill when validating user input, form data, API requests, or any data entering the system. When implementing validation rules, sanitizing input, or preventing injection attacks. When creating validation schemas, form validation, or business rule validation. This skill applies to all code files that handle user input, data validation, or security checks in any programming language including `.js`, `.ts`, `.py`, `.rb`, `.java`, `.go`, `.php`, and others.
SKILL.md
| Name | global-validation |
| Description | Implement comprehensive validation on both server and client sides with specific error messages, input sanitization, and consistent validation across all entry points. Use this skill when validating user input, form data, API requests, or any data entering the system. When implementing validation rules, sanitizing input, or preventing injection attacks. When creating validation schemas, form validation, or business rule validation. This skill applies to all code files that handle user input, data validation, or security checks in any programming language including `.js`, `.ts`, `.py`, `.rb`, `.java`, `.go`, `.php`, and others. |
name: Global Validation
description: Implement comprehensive validation on both server and client sides with specific error messages, input sanitization, and consistent validation across all entry points. Use this skill when validating user input, form data, API requests, or any data entering the system. When implementing validation rules, sanitizing input, or preventing injection attacks. When creating validation schemas, form validation, or business rule validation. This skill applies to all code files that handle user input, data validation, or security checks in any programming language including .js, .ts, .py, .rb, .java, .go, .php, and others.
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