关于
This skill provides a robust architecture for handling user-generated content securely by implementing a 'never trust user input' philosophy. It leverages Zod for type-safe validation and automatic sanitization, offering a suite of pre-defined schemas for common data types like emails, usernames, and long-form text. By integrating these patterns, developers can effectively prevent cross-site scripting (XSS), SQL injection attempts, and buffer overflows while maintaining a clean, maintainable codebase for both Next.js API routes and frontend forms.