スキル一覧に戻る

Global Validation

TorbenMerrald / StableManager

1🍴 0📅 2026年1月10日

Implement comprehensive input validation on both client and server sides with clear error feedback. Use this skill when validating user input in forms, API endpoints, or data processing. Use this skill when implementing server-side validation to ensure data integrity and security. Use this skill when adding client-side validation for immediate user feedback. Use this skill when sanitizing input to prevent injection attacks. Use this skill when validating data types, formats, ranges, and business rules. Use this skill when providing specific, actionable error messages for validation failures. Use this skill when applying validation consistently across all application entry points.

SKILL.md

---
name: Global Validation
description: Implement comprehensive input validation on both client and server sides with clear error feedback. Use this skill when validating user input in forms, API endpoints, or data processing. Use this skill when implementing server-side validation to ensure data integrity and security. Use this skill when adding client-side validation for immediate user feedback. Use this skill when sanitizing input to prevent injection attacks. Use this skill when validating data types, formats, ranges, and business rules. Use this skill when providing specific, actionable error messages for validation failures. Use this skill when applying validation consistently across all application entry points.
---

# Global Validation

## When to use this skill

- When implementing form validation on the client side
- When implementing server-side validation for API endpoints or data processing
- When validating data types, formats, ranges, and required fields
- When providing clear, field-specific validation error messages
- When sanitizing user input to prevent SQL injection, XSS, or other attacks
- When using allowlists to define acceptable input rather than blocklists
- When validating business rules like date constraints or balance requirements
- When ensuring validation is applied consistently at all entry points
- When failing early by rejecting invalid data before processing

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](../../../agent-os/standards/global/validation.md)