Global Validation

Installation
SKILL.md

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

Related skills

More from coreyja/coreyja.com

Installs
GitHub Stars
6
First Seen