Input validation and sanitization
Validation is an allowlist on the server: name the fields and types you accept, reject everything else, and never trust the client.
What this skill helps you build
Validate every input on the server, accept only the fields you expect, parameterize your queries, and escape untrusted HTML on the way out.
The production takeaway
Validation is an allowlist on the server: name the fields and types you accept, reject everything else, and never trust the client.
Inside this skill
The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.
Unlock the full implementation
Paid access includes the complete skill body, implementation prompt, common mistakes, production checklist, and code examples where this skill includes them.