Works with the AI Agents you already use

    SDK Error Taxonomy Engineer AI

    by Pitiko Studio

    1

    Map transport and application errors into stable typed responses.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    SDK Error Taxonomy Engineer AI

    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 EntityRelationshipDestination EntitySource ReferenceConditionUncertainty
    AxiosError (401)Maps toUnauthorizedErroraxios_logs.txt:L12error.response.status === 401Low
    AxiosError (403)Maps toForbiddenErroraxios_logs.txt:L45error.response.status === 403Low
    AxiosError (500)Maps toInternalServerErroraxios_logs.txt:L89status >= 500Medium
    ECONNREFUSEDMaps toGatewayTimeoutErroraxios_logs.txt:L102error.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

    1. Implement the isAxiosError guard to narrow the raw error before mapping to PaymentGatewayError.
    2. Verify if ECONNREFUSED should be treated as a retryable GatewayTimeoutError or a separate NetworkError.
    3. Add a default case to the mapping function to handle undocumented 5xx status 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

    1. Supply Evidence: Provide the SDK source code, API contracts, log samples, or test failure records.
    2. Define Criteria: Establish the target language version, runtime constraints, and public API compatibility requirements.
    3. Analyze Relationships: The skill normalizes fields, isolates boundary conditions, and builds a dependency map with evidence references.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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.

    Frequently Asked Questions

    This skill automates the creation of strongly-typed error maps by linking raw API logs and contracts to stable TypeScript structures, eliminating the manual guesswork that usually leads to unhandled runtime exceptions.

    The skill is designed for TypeScript and SDK engineering environments, prioritizing Node.js and ECMAScript standards while maintaining compatibility with any AI agent capable of processing code and text files.

    You receive a specialized taxonomy engine that generates typed mappings, a dependency edge list, evidence-linked decision registers, and specific regression test plans for your error handlers.

    No, the skill analyzes your provided source code, API contracts, and log samples as data; it does not require live code execution or access to your runtime environment to build the taxonomy.

    It includes a 'Conflict Detection' feature that automatically flags overlapping error codes, circular dependencies, and missing endpoint definitions within your proposed taxonomy.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.