diagnose-generation-failure

Diagnose OpenAPI-to-SDK generation failures and determine fix strategies.

19|6|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/speakeasy-api/skills --skill diagnose-generation-failure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnose-generation-failure
Source: https://github.com/speakeasy-api/skills/tree/main/skills/diagnose-generation-failure
Command: npx skills add https://github.com/speakeasy-api/skills --skill diagnose-generation-failure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you diagnose the root cause when SDK generation fails, enabling rapid triage and resolution.

Core Features & Use Cases

  • Automated troubleshooting: Run lint, categorize issues, and determine fix strategies like overlays or spec edits.
  • Guided decision framework: Provides a structured path for when to apply overlays, request API changes, or adjust design decisions.
  • Use Case: When a generated SDK does not align with the live API, use this Skill to identify whether the problem is in the spec, the generator, or the target language.

Quick Start

Run the diagnose-generation-failure workflow on the failing spec and follow the recommended steps to identify root causes and propose fixes.

Frequently Asked Questions about diagnose-generation-failure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose OpenAPI to SDK generation failures?

To diagnose OpenAPI to SDK generation failures, run a lint process on the failing spec to categorize issues and determine fix strategies like applying overlays or editing the spec.

What causes SDK generation step failures and build errors?

SDK generation step failures and build errors are caused by misalignments between the spec and the target language, requiring triage to identify if the root cause is in the spec, the generator, or the API design.

When do I need to use overlays to fix SDK generation issues?

You need to use overlays to fix SDK generation issues when linting identifies spec problems that can be resolved without altering the live API, guiding triage toward overlay application rather than spec fixes.

What is the best way to troubleshoot a generated SDK that does not match the live API?

The best way to troubleshoot a generated SDK that does not match the live API is to run a diagnostic workflow that categorizes issues and provides a guided decision framework for selecting an appropriate fix strategy.

How do I decide between an overlay, a spec fix, or a design change for SDK generation?

You decide between an overlay, a spec fix, or a design change by following a guided decision framework that categorizes linting issues and determines whether to apply overlays, request API changes, or adjust design decisions.