error-handling
error-handling is an API design & implementation skill for AI agents, published by trpc in the trpc repository on GitHub. Skillspace rates error-handling D (59/100) and the safety scan flagged it for review; the rating is based on static analysis only.
Flagged for review. Read the source before running it.
Throw typed errors with TRPCError and error codes (NOT_FOUND, UNAUTHORIZED, BAD_REQUEST, INTERNAL_SERVER_ERROR), configure errorFormatter for client-side Zod error display, handle errors globally with onError callback, map tRPC errors to HTTP status codes with getHTTPStatusCodeFromError().
- Grade
- D
- Quality
- 59 / 100
- Safety
- Needs review
- GitHub stars
- 40,604
Unproven: rated by static analysis only, not yet compared head-to-head.
Our two independent classifiers differ on this skill's category, so treat the placement as provisional.
This rating describes the version of the repository we crawled; it may have changed since, so go by its current files.
Our review
- Architecture
- 84 / 100
- Maturity
- Basic: a single SKILL.md
- Security scan
- Medium-risk patterns
- License
- Not declared. Check the repository before reusing it.
What the scanner flagged
- reads environment variables
Not checked yet
- Category is a classifier prediction; no model has read this skill yet
- Not judged on the rubric yet (not a contender in its category)
- No blind task eval yet
- Scope (portable / vendor / repo-internal) not assessed; only the top of each category is read for scope
- Sibling files (scripts, references) not fetched; security scan covers SKILL.md only
Skillspace indexes and rates this skill; it does not host or endorse it. Run third-party skills at your own risk.