warisskill-error-handling-observability
Installation
SKILL.md
Error Handling & Observability
Core principles (non-negotiable)
- Fail fast and loudly — surface errors where they occur, don't bury them three layers deep.
- Typed errors over string messages — errors are structured values, not just message strings to pattern-match against.
- User messages ≠ developer messages — friendly text to the user,
full context (stack, request details) in logs only. Never expose
internals externally (ties to
warisskill-security-practices). - Never swallow errors silently — every
catcheither handles, re-throws, or logs. An empty catch block is always wrong. - Errors are part of the API contract — every error code a client
can receive gets documented, same envelope shape as
warisskill-system-design-api-design.