improve-sdk-naming
Use when you want AI-powered suggestions for SDK naming improvements via the `speakeasy suggest` command (not manual overlay creation).
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-improve-sdk-naming
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
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/improve-sdk-naming
What's inside
- Skill name
improve-sdk-naming- Description
- Use when you want AI-powered suggestions for SDK naming improvements via the `speakeasy suggest` command (not manual overlay creation). Triggers on "suggest improvements", "speakeasy suggest", "AI suggestions", "suggest operation-ids", "suggest error-types", "auto-improve naming", "get AI recommendations".
- License
- Apache-2.0
- Instructions
- 153 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# improve-sdk-naming
Improve SDK method naming using AI-powered suggestions or manual overrides. Covers both automatic `speakeasy suggest` commands and manual naming with `x-speakeasy-group` and `x-speakeasy-name-override` extensions.
## When to Use
Use this skill when you want **AI-powered suggestions** from Speakeasy:
- SDK methods have ugly auto-generated names like `GetApiV1Users`
- You want Speakeasy AI to suggest better operation IDs
- You want AI-generated suggestions for error types
- Looking to improve spec quality automatically using `speakeasy suggest`
- User says: "suggest improvements", "speakeasy suggest", "AI suggestions", "suggest operation-ids", "suggest error-types", "get AI recommendations"
**NOT for**: Manually creating overlays (see `manage-openapi-overlays` instead)
## Inputs
| Input | Required | Description |
|-------|----------|-------------|
| OpenAPI spec | Yes | Path to the spec file (`-s`) |
| Authentication | Yes | Via `speakeasy auth login` or `SPEAKEASY_API_KEY` env var |
| Output file | No | Path for overlay output (`-o`) |
## Outputs
| Output | Description |
|--------|-------------|
| Suggestions | Better operation names or error types printed to console |
| Overlay file | Optional: saves suggestions as an overlay YAML file (`-o`) |
## Prerequisites
For non-interactive environments (CI/CD, AI agents), set the API key as an environment variable:
```bash
export SPEAKEASY_API_KEY="<your-api-key>"
```
For interactive use, authenticate directly:
```bash
speakeasy auth login
```
## Command
### AI-Powered Suggestions
```bash
# Suggest better operation IDs (SDK method names)
speakeasy suggest operation-ids -s <spec-path>
# Suggest error type definitions
speakeasy suggest error-types -s <spec-path>
# Output suggestions as an overlay file
speakeasy suggest operation-ids -s <spec-path> -o suggested-overlay.yaml
```
### Check Current Operation IDs
Run the suggest command without `-o` to preview what would change:
```bash
speakeasy suggest operation-ids -s openapi.yaml
```
## SDK Method Naming Convention
Speakeasy generates grouped SDK methods from operation IDs. The naming convention uses `x-speakeasy-group` for the namespace and `x-speakeasy-name-override` for the method name.
| HTTP Method | SDK Usage | Operation ID |
|-------------|-----------|--------------|
| GET (list) | `sdk.users.list()` | `users_list` |
| GET (single) | `sdk.users.get()` | `users_get` |
| POST | `sdk.users.create()` | `users_create` |
| PUT | `sdk.users.update()` | `users_update` |
| DELETE | `sdk.users.delete()` | `users_delete` |
The operation ID format is `{group}_{method}`. Speakeasy splits on the underscore to create the namespace and method name in the generated SDK.
## Example
### Step 1: Get AI Suggestions
```bash
speakeasy suggest operation-ids -s openapi.yaml -o operation-ids-overlay.yaml
```
This analyzes your spec and generates an overlay that transforms names like:
- `get_api_v1_users_list` -> `listUsers`
- `post_api_v1_users_create` -> `createUser`
### Step 2: Review and Apply the Overlay
The AI-generated overlay (from `-o`) creates naming improvements using `x-speakeasy-group` and `x-speakeasy-name-override`.
**Note**: For manual overlay creation, use the `manage-openapi-overlays` skill instead of this skill.
### Step 3: Add the Overlay to workflow.yaml
```yaml
sources:
my-api:
inputs:
- location: ./openapi.yaml
overlays:
- location: ./operation-ids-overlay.yaml
```
### Step 4: Regenerate the SDK
```bash
speakeasy run --output console
```
## Error Type SuggestionsFrom 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
configure-sdk-options
speakeasy-api
Use when CONFIGURING an existing SDK - NOT for initial generation.
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
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 3, 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
configure-sdk-options
speakeasy-api
Use when CONFIGURING an existing SDK - NOT for initial generation.
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
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
improve-sdk-naming skill. Agent Mart. https://agentmart.dev/skills/speakeasy-api-improve-sdk-naming (last updated 2026-10-24)