FlorianRiquelme avatar

global-validation

Implement comprehensive validation with server-side validation for security, client-side validation

提供方 FlorianRiquelme|开源

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.

Instructions

For details, refer to the information provided in this file: global validation

global-validation - 适用于 Claude Code 与 Cursor 的 AI 智能体 Skill | Agent Skills