Skip to content
Back to skills

Improve Operation Ids

ASecurity

Use when SDK methods have auto-generated names like GetApiV1Users, or wanting `sdk.users.list()` style naming

  • 30 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 12, 2026
ai-agentsbashapici/cd

Works with

  • api

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill improve-operation-ids --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Improve Operation Ids?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Improve Operation Ids
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-improve-operation-ids-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-improve-operation-ids-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: improve-operation-ids
description: Use when SDK methods have auto-generated names like GetApiV1Users, or wanting `sdk.users.list()` style naming
---

# improve-operation-ids

## Prerequisites

For non-interactive environments (CI/CD, AI agents), set:
```bash
export SPEAKEASY_API_KEY="<your-api-key>"
```
See `configure-authentication` skill for details.

## Check Current State

```bash
speakeasy suggest operation-ids -s openapi.yaml
```

## SDK Method Naming

Speakeasy generates grouped SDK methods using `x-speakeasy-group`:

| 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` |
| PATCH | `sdk.users.patch()` | `users_patch` |
| DELETE | `sdk.users.delete()` | `users_delete` |

Use `x-speakeasy-group: users` and `x-speakeasy-name-override: list` to achieve this grouping.

## Apply Suggestions

```bash
# Generate overlay
speakeasy suggest operation-ids -s openapi.yaml -o operation-ids.yaml

# Add to workflow and regenerate
speakeasy run
```

## Manual Override

```yaml
overlay: 1.0.0
info:
  title: Custom operation names
  version: 1.0.0
actions:
  - target: "$.paths['/api/v1/users'].get"
    update:
      x-speakeasy-group: users
      x-speakeasy-name-override: listAll
```

This produces: `sdk.users.listAll()`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.