API Design Safety Guard
Enforces safe REST API design patterns and prevents data-corrupting failures in downstream document generation.
This skill acts as a robust architectural guardrail for backend development, ensuring REST API responses are semantically correct, consistently structured, and protected against common programming pitfalls. It specifically addresses Java generic method overloading issues, standardizes success/error response formats, and mandates strict pre-validation for generated files like Excel, CSV, or PDF to prevent 'silent failures' where critical data is missing but the process appears successful. By integrating these best practices, developers can minimize bugs in frontend-backend communication and ensure data integrity for third-party consumers.