Global validation
Skill bg-szy/TOP-SKILLS/skills/marketplace/global-validation
全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard
npx -y skills add bg-szy/TOP-SKILLS --skill global-validationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
1.9 KB, 239 tokens by cl100k_base, as published. Nobody here has run it
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
What ships with it: 1 file
11.9 KB alongside SKILL.md
- skill-report.json11.9 KB