Search

PythonReactSEOPDF
GitHub Skill

global-validation

Implement server-side validation with allowlists, specific error messages, type checking, and sanitization to prevent security vulnerabilities and ensure data integrity. Use this skill when creating or editing form request classes, when validating API inputs, when implementing validation rules in controllers or services, when writing client-side validation for user experience, when sanitizing user input to prevent injection attacks, when validating business rules, when implementing error message display, or when ensuring consistent validation across all application entry points.

aiskillstore☆ 124 Repository stars6 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

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 creating form request classes in app/Http/Requests/ for validation logic
  • When implementing validation rules in controllers, services, or API endpoints
  • When validating user input from web forms or API requests
  • When writing client-side validation for immediate user feedback (while ensuring server-side validation)
  • When implementing allowlist-based validation (defining what's allowed)
  • When sanitizing user input to prevent SQL injection, XSS, or command injection
  • When creating specific, actionable error messages for validation failures
  • When validating data types, formats, ranges, and required fields
  • When implementing business rule validation (e.g., sufficient balance, valid date ranges)
  • When ensuring consistent validation across web forms, API endpoints, and background jobs
  • When validating file uploads, sizes, and formats
  • When implementing custom validation rules or validators

Instructions

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

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-28
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!