Validate and sanitize all user input using schema validation libraries. Activate whenever the user writes form handlers, API endpoints, request parsers, data processing functions, or any code that accepts external input. Also activate when the user asks about validation libraries like Zod, Joi, or Pydantic, or discusses input sanitization.
The exact command may vary by repository. Check the README on GitHub.
For the skill author
Drop this on your repo README
Shows your skill is listed on Skillteca, generates a backlink and trackable traffic.
[](https://www.skillteca.com.br/skills/input-validation-guide?utm_source=badge&utm_medium=readme&utm_campaign=badge)
One short email with only the new DevOps e Infra skills. 4 minutes of reading, no spam, unsubscribe with one click.
You confirm your email on the first send. No spam. Unsubscribe with one click.
Input Validation Guide
Validate all external input at system boundaries using schema validation libraries.
Reject invalid data early with clear error messages. Never trust client-side validation
as the sole defense.
When to Use
Writing API endpoint handlers that accept request bodies, query params, or path params
Building form validation logic (server-side)
Processing data from external APIs or file uploads
Parsing configuration files or environment variables
Any function that r
[Description truncada. Veja o README completo no GitHub.]