global validation

📁 coreyja/coreyja.com 📅 Jan 1, 1970
1
总安装量
0
周安装量
#48122
全站排名
安装命令
npx skills add https://github.com/coreyja/coreyja.com --skill Global Validation

Skill 文档

Global 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.

When to use this skill

  • When handling user input from forms, API endpoints, or external data sources
  • When implementing form validation with field-specific error messages
  • When validating data types, formats (email, phone, URL), ranges, and required fields
  • When sanitizing user input to prevent injection attacks (SQL, XSS, command injection)
  • When implementing client-side validation for immediate user feedback
  • When implementing mandatory server-side validation for security and data integrity
  • When validating business rules (sufficient balance, valid date ranges, stock availability)
  • When using allowlists to define what input is acceptable rather than blocklists
  • When applying validation consistently across all entry points (web, API, background jobs)
  • When failing early by rejecting invalid data before processing

Instructions

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