Works with the AI Agents you already use
SDK Error Taxonomy Engineer AI
Map transport and application errors into stable typed responses.
$9.99
SDK Error Taxonomy Engineer AI
Example session with this skill installed
Synthetic example
Map these Axios transport errors to our internal 'PaymentGatewayError' type. Source: axios_logs.txt. Target: TypeScript 5.0. Ensure 401 and 403 are distinct.
- Read your context and instructions
- Compiled the sdk error taxonomy
Synthetic example
I have mapped the Axios transport errors from axios_logs.txt to the PaymentGatewayError taxonomy for TypeScript 5.0.
SDK Error Relationship and Dependency Map
| Source Entity | Relationship | Destination Entity | Source Reference | Condition | Uncertainty |
|---|---|---|---|---|---|
AxiosError (401) | Maps to | UnauthorizedError | axios_logs.txt:L12 | error.response.status === 401 | Low |
AxiosError (403) | Maps to | ForbiddenError | axios_logs.txt:L45 | error.response.status === 403 | Low |
AxiosError (500) | Maps to | InternalServerError | axios_logs.txt:L89 | status >= 500 | Medium |
ECONNREFUSED | Maps to | GatewayTimeoutError | axios_logs.txt:L102 | error.code === 'ECONNREFUSED' | High |
Proposed Type Definition
export type PaymentGatewayError =
| { type: 'UnauthorizedError'; status: 401; message: string }
| { type: 'ForbiddenError'; status: 403; message: string }
| { type: 'InternalServerError'; status: 500; message: string }
| { type: 'GatewayTimeoutError'; code: 'ECONNREFUSED'; retryable: true };
Next steps
- Implement the
isAxiosErrorguard to narrow the raw error before mapping toPaymentGatewayError. - Verify if
ECONNREFUSEDshould be treated as a retryableGatewayTimeoutErroror a separateNetworkError. - Add a default case to the mapping function to handle undocumented
5xxstatus codes found in logs.
Connects securely to your tools. The creator never sees your data.
About this skill
Engineering stable error taxonomies is a manual, error-prone process that often leads to brittle SDKs and unhandled runtime exceptions. This skill automates the mapping of transport and application errors into stable, strongly-typed responses, ensuring TypeScript and SDK correctness across boundaries. It treats source logs, API contracts, and runtime behavior as data to build a verifiable relationship map rather than generic documentation.
What it does
- Typed mapping converts raw transport errors and application faults into stable TypeScript response structures.
- Dependency mapping generates an edge list showing the relationship between source entities and error destinations.
- Evidence linking attaches every mapping decision to specific source IDs, file excerpts, or API contract versions.
- Conflict detection flags overlapping error codes, missing endpoints, and circular dependencies in the taxonomy.
- Validation planning outputs specific reproduction cases and regression tests for proposed error handlers.
How it works
- Supply Evidence: Provide the SDK source code, API contracts, log samples, or test failure records.
- Define Criteria: Establish the target language version, runtime constraints, and public API compatibility requirements.
- Analyze Relationships: The skill normalizes fields, isolates boundary conditions, and builds a dependency map with evidence references.
- Review Artifacts: Receive a partial or full relationship map, a decision register with priority actions, and a validation summary.
Frameworks & tools
Built for TypeScript and SDK engineering environments. It prioritizes official documentation for Node.js, ECMAScript, and major SDK standards. It can integrate with Google SERP tools for public API contract verification when authorized.
Why this beats prompting it yourself
Generic prompts often hallucinate error structures or miss subtle boundary conditions in type unions. This skill enforces a strict output contract that requires evidence for every mapping, preventing the "silent resolution" of unknown errors. It separates observed runtime behavior from proposed types, ensuring your SDK remains stable as underlying services change.
Use cases
- Mapping HTTP transport failures to domain-specific SDK exceptions.
- Building a stable error taxonomy for a multi-language API client.
- Auditing existing SDK codebases for unhandled or shadowed error types.
- Generating typed directed edges for complex error dependency trees.
Known limitations
Does not perform live code execution or pretend to compile source files. It requires manual input of private records as it will not search non-public data.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Permissions
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.