handling-api-errors
Pass
Audited by Gen Agent Trust Hub on Apr 23, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill incorporates security-by-design principles by instructing the agent to implement environment-aware error formatting that hides internal system details and stack traces from end-users in production environments.
- [SAFE]: The error handling patterns include specific logic for sensitive data protection, such as catching database-level unique violations and returning generic conflict messages rather than raw SQL details.
- [SAFE]: The skill's operational scope is well-defined, with tool access restricted to standard development utilities and a specific, scoped set of commands for generating application boilerplate.
- [SAFE]: References to external services like Sentry and standards like RFC 7807 represent standard industry practices for robust and secure API development.
Audit Metadata