golang-error-handling
Pass
Audited by Gen Agent Trust Hub on Apr 29, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill documents best practices for Go error handling, including the use of sentinel errors, custom error types, and the single-handling rule (log or return). These are standard industry practices for building reliable software.\n- [SAFE]: The skill includes instructions for performing code audits using sub-agents. These sub-agents are scoped to use static analysis tools like grep to identify code patterns that violate error-handling principles within the project workspace.\n- [SAFE]: External resource references (e.g., github.com/samber/oops, github.com/lmittmann/tint) are informative links to legitimate open-source libraries. The primary external library mentioned, samber/oops, is authored by the same vendor as the skill, representing a consistent and expected vendor resource.\n- [SAFE]: The allowed-tools configuration in the frontmatter follows the principle of least privilege by restricting Bash command execution to specific Go-related tools (go, golangci-lint, git).
Audit Metadata