home/productivity/add-validation-prompt

Add Validation.prompt

GPTClaudeDeepSeek··488 copies·updated 2026-07-14
add-validation-prompt.prompt
# Add Input Validation

Implement comprehensive input validation to prevent security vulnerabilities and data corruption.

## Validation Layers

1. **Schema Validation**: Structure and types
2. **Business Rules**: Domain-specific constraints
3. **Sanitization**: Remove malicious content
4. **Format Validation**: Email, phone, etc.

## Using Joi/Zod

when to use it

Community prompt sourced from the open-source GitHub repo AmadeusITGroup/ai-primitives-hub (Apache-2.0). A "Add Validation.prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

AmadeusITGroup/ai-primitives-hub · Apache-2.0