configure-sdk-options
Use when CONFIGURING an existing SDK - NOT for initial generation.
Skill by speakeasy-api
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/speakeasy-api-configure-sdk-options
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/configure-sdk-options
What's inside
- Skill name
configure-sdk-options- Description
- Use when CONFIGURING an existing SDK - NOT for initial generation. Covers gen.yaml configuration for all languages: TypeScript, Python, Go, Java, C#, PHP, Ruby. Also covers runtime overrides (retries, timeouts, server selection) in application code. Triggers on "configure SDK", "gen.yaml", "SDK options", "SDK config", "SDK configuration", "runtime override", "SDK client config", "override timeout", "per-call config". For NEW SDK generation, use start-new-sdk-project instead.
- License
- Apache-2.0
- Instructions
- 388 lines in SKILL.md · view on GitHub
Files (8)
- SKILL.md
- csharp.md · content/languages/
- go.md · content/languages/
- java.md · content/languages/
- php.md · content/languages/
- python.md · content/languages/
- ruby.md · content/languages/
- typescript.md · content/languages/
SKILL.md (first lines)
# Configure SDK Options
Configure gen.yaml options for an existing Speakeasy SDK. Supports TypeScript, Python, Go, Java, C#, PHP, and Ruby.
> **For new SDK projects**: Use `start-new-sdk-project` skill instead. This skill is for configuring an existing SDK.
## Language-Specific Guides
For comprehensive configuration details, see the language-specific guides:
| Language | Guide | Key Features |
|----------|-------|--------------|
| TypeScript | [content/languages/typescript.md](content/languages/typescript.md) | Zod validation, React Query, standalone functions, dual module format |
| Python | [content/languages/python.md](content/languages/python.md) | Pydantic models, async modes (both/split), uv/poetry support |
| Go | [content/languages/go.md](content/languages/go.md) | Response formats, interface generation, K8s integration |
| Java | [content/languages/java.md](content/languages/java.md) | Builder pattern, Gradle customization, Maven Central publishing |
| C# | [content/languages/csharp.md](content/languages/csharp.md) | Async/await, cancellation tokens, DI integration, NuGet |
| PHP | [content/languages/php.md](content/languages/php.md) | Laravel integration, Guzzle config, Packagist publishing |
| Ruby | [content/languages/ruby.md](content/languages/ruby.md) | Sorbet typing, Rails integration, RubyGems publishing |
These guides include detailed configuration options, code examples, framework integrations, and publishing instructions.
## When to Use
- Configuring language-specific gen.yaml options on an existing SDK
- Setting up SDK hooks, async patterns, or publishing
- Configuring runtime behavior (retries, timeouts, server selection) in application code
- User says: "configure SDK", "gen.yaml options", "SDK config", "runtime override", "per-call config"
- User asks about: Zod, Pydantic, NuGet, PyPI, npm, Maven Central, Packagist, RubyGems
## Inputs
| Input | Required | Description |
|-------|----------|-------------|
| Existing SDK | Yes | SDK with `.speakeasy/workflow.yaml` already created |
| Target language | Yes | TypeScript, Python, Go, Java, C#, PHP, or Ruby |
## Outputs
| Output | Description |
|--------|-------------|
| Updated gen.yaml | Language-specific configuration |
| Hook files | Custom hooks if enabled |
## Prerequisites
You must have an existing SDK with `.speakeasy/workflow.yaml`. If not, run:
```bash
speakeasy quickstart --skip-interactive --output console \
-s openapi.yaml -t <language> -n "MySDK" -p "<package-name>"
```
## Common Configuration (All Languages)
These options apply to all SDK targets in gen.yaml:
```yaml
<language>:
version: 1.0.0
packageName: "my-sdk"
# Method signatures
maxMethodParams: 4 # Params before request object
flatteningOrder: parameters-first
# Error handling
responseFormat: flat # or "envelope" (Go)
clientServerStatusCodesAsErrors: true
```
## TypeScript Configuration
```yaml
typescript:
version: 1.0.0
packageName: "@myorg/my-sdk"
moduleFormat: dual # esm, commonjs, or dual
zodVersion: v4-mini # v3, v4, or v4-mini
enableCustomCodeRegions: true # For custom code
enableReactQuery: true # React Query hooks
```
| Feature | Notes |
|---------|-------|
| Zod validation | Automatic for all models |
| Tree-shaking | Use `moduleFormat: dual` + standalone functions |
| JSR publishing | Create `jsr.json`, run `deno publish` |
| npm publishing | Standard `npm publish` |
**Standalone functions for tree-shaking:**
```typescript
import { TodoCore } from "my-sdk/core.js";
import { todosCreate } from "my-sdk/funcs/todosCreate.js";
const sdk = new TodoCore({ apiKey: "..." });
```
## Python Configuration
```yaml
python:
version: 1.0.0
packageName: "my-sdk"
asyncMode: both # both or split
packageManager: uv # uv or poetry
envVarPrefix: "" # Prefix for env config
```
| Feature | Notes |
|---------|-------|
| Pydantic models | Automatic for all models |
| Async mode `both` | `sdk.method()` and `sdk.method_async()` |
| Async mode `split` | `SDK()` and `AsyncSDK()` constructors |
| PyPI publishing | `uv publish` or `poetry publish` |
**Async patterns:**
```python
# asyncMode: both (default)
result = sdk.users.list() # syncFrom speakeasy-api/sdk-generation-skills, Apache-2.0.
More from speakeasy-api/sdk-generation-skills
- 0.487score
writing-openapi-specs
speakeasy-api
Reference guide for OpenAPI specification best practices, naming conventions, and expressing complex REST API patterns like polymorphism, enums, file uploads…
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
customize-sdk-hooks
speakeasy-api
Use when implementing SDK code hooks for custom logic (not spec configuration or runtime overrides).
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
diagnose-generation-failure
speakeasy-api
Use when SDK generation failed or seeing errors.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
extract-openapi-from-code
speakeasy-api
Use when extracting or generating an OpenAPI spec from existing API code.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
generate-mcp-server
speakeasy-api
Use when generating an MCP server from an OpenAPI spec with Speakeasy.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
generate-terraform-provider
speakeasy-api
Use when generating a Terraform provider from an OpenAPI spec with Speakeasy.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
improve-sdk-naming
speakeasy-api
Use when you want AI-powered suggestions for SDK naming improvements via the `speakeasy suggest` command (not manual overlay creation).
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
manage-openapi-overlays
speakeasy-api
Use when creating, applying, or validating overlay files including x-speakeasy extensions.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
orchestrate-multi-repo-sdks
speakeasy-api
Use when each language SDK lives in a separate repository.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
orchestrate-multi-target-sdks
speakeasy-api
Use when generating SDKs for multiple languages from a single OpenAPI spec, or multiple SDK variants from different sources.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
setup-sdk-testing
speakeasy-api
Use when setting up SDK testing, configuring contract tests, writing Arazzo test workflows, or running integration tests.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
start-new-sdk-project
speakeasy-api
Use when generating a new SDK from an OpenAPI spec.
SkillDFreshness: D★ 18Claude Code +9
Signals
- Stars
- 18
- Forks
- 6
- Open issues
- 0
- Last commit (this folder)
- Feb 7, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Website
- www.speakeasy.com/docs
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from speakeasy-api
- 0.487score
customize-sdk-hooks
speakeasy-api
Use when implementing SDK code hooks for custom logic (not spec configuration or runtime overrides).
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
diagnose-generation-failure
speakeasy-api
Use when SDK generation failed or seeing errors.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
extract-openapi-from-code
speakeasy-api
Use when extracting or generating an OpenAPI spec from existing API code.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
generate-mcp-server
speakeasy-api
Use when generating an MCP server from an OpenAPI spec with Speakeasy.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
generate-terraform-provider
speakeasy-api
Use when generating a Terraform provider from an OpenAPI spec with Speakeasy.
SkillDFreshness: D★ 18Claude Code +9 - 0.487score
setup-sdk-testing
speakeasy-api
Use when setting up SDK testing, configuring contract tests, writing Arazzo test workflows, or running integration tests.
SkillDFreshness: D★ 18Claude Code +9
Cite this page
configure-sdk-options skill. Agent Mart. https://agentmart.dev/skills/speakeasy-api-configure-sdk-options (last updated 2026-10-24)