openapi-swagger-codegen-expert

openapi-swagger-codegen-expert is a skill for Cursor from roedyrustam/vibes-plug. It costs 73 tokens per session (1,885 once invoked), scanned A, original, MIT.

A guide to describing web APIs with OpenAPI, a standard format for documenting how software services communicate, and generating client or server code from that description.

In plain words
What is it for?
Use it to write OpenAPI specifications, publish API documentation, generate typed clients or server stubs, and run contract tests that check implementations against the specification.
Why use it?
It keeps frontend, mobile, and backend code aligned with the same API contract instead of relying on manually maintained request wrappers and documentation.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the vibes-plug plugin — 171 skills, 8 agents, 2 MCP servers shipped together

Good fit Use it to write OpenAPI specifications, publish API documentation, generate typed clients or server stubs, and run contract tests that check implementations against the specification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/openapi-swagger-codegen-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add roedyrustam/vibes-plug --skill openapi-swagger-codegen-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 171 skills, 8 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openapi-swagger-codegen-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/openapi-swagger-codegen-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/openapi-swagger-codegen-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/openapi-swagger-codegen-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/openapi-swagger-codegen-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openapi-swagger-codegen-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/openapi-swagger-codegen-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/openapi-swagger-codegen-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01885
Opus 5.5 $0.00029 $0.00754
Sonnet 5.5 $0.00015 $0.00377
Haiku 4.5 $0.00007 $0.00188

Measured 2d ago against content hash 8ba4bc3dfc43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openapi-swagger-codegen-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/openapi-swagger-codegen-expert/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenAPI & Swagger Codegen Expert (Contract-First 2026)

English | Bahasa Indonesia


English

Orchestration & Integration

  • Upstream Specs & Design: api-design-expert, spec-driven-development-expert, prd-architect
  • Frontend Consuming: tanstack-query-expert, senior-frontend, form-validation-expert
  • Backend & Drifts: js-backend-expert, autonomous-api-drift-healer, api-gateway-proxy-expert
  • CI/CD Quality & Security: ci-cd-devops-architect, e2e-testing-expert, anti-slop
  • Lifecycle: zero-to-prod-orchestrator, session-memory-manager

Description

Dedicated expert guide for API contract-first development using OpenAPI 3.1 (with full JSON Schema 2020-12 alignment), interactive documentation (Scalar, Swagger UI, Redoc), and automated end-to-end client code generation. Covers generating strictly typed SDKs using openapi-typescript and openapi-fetch, creating automatic TanStack Query v5 hooks with Orval, scaffolding multi-language SDKs with Microsoft Kiota, and enforcing API design governance via Spectral in CI/CD pipelines.

Trigger Conditions

  • Scaffolding modern RESTful API contracts before writing server code (Phase 1/4).
  • Generating type-safe frontend API clients and TanStack Query hooks.
  • Configuring interactive API documentation with Scalar or Swagger UI.
  • Setting up automated contract testing with Prism or Pact.
  • Migrating manual, unvalidated fetch() calls to auto-generated typed clients.

Production OpenAPI 3.1 Specification Example

# specs/openapi.yaml
openapi: 3.1.0
info:
  title: Vibes Core Service API
  version: 1.0.0
  description: High-scale contract-first API with strict schema validation.
servers:
  - url: https://api.vibesplug.internal/v1
    description: Production Cluster
paths:
  /orders:
    post:
      operationId: createOrder
      summary: Place an atomic order
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrderRequest'
      responses:
        '201':
          description: Order created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderResponse'
        '400':
          $ref: '#/components/responses/ValidationError'

components:
  schemas:
    CreateOrderRequest:
      type: object
      required: [customerId, items, totalCents]
      properties:
        customerId:
          type: string
          format: uuid
        items:
          type: array
          items:
            type: object
            required: [productId, quantity]
            properties:
              productId: { type: string }
              quantity: { type: integer, minimum: 1 }
        totalCents:
          type: integer
          minimum: 1
    OrderResponse:
      type: object
      required: [id, status, createdAt]
      properties:
        id: { type: string, format: uuid }
        status: { type: string, enum: [PENDING, PAID, FULFILLED] }
        createdAt: { type: string, format: date-time }

Read the full file on GitHub · 208 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · -1 lines 8ba4bc3dfc43
  2. 3d ago Changed · +1 lines d7aa1ba154ef
  3. 6d ago Changed · +140 lines a890727d9d93
  4. 15d ago Changed 89b2388e666d
  5. 20d ago Changed bed4904ad6cb
  6. 21d ago Changed 0210f3fdee8a
  7. 23d ago Changed · -6 lines · +55 tokens per session 75d957cc514c
  8. 25d ago Changed · +6 lines · -55 tokens per session c5b6d9ff1d87
  9. 1mo ago Changed c5b384c8f479
  10. 1mo ago First seen · 68 lines · 73 tokens per session scan A f3676f8f3d62

Subscribe to this mod's changes

openapi-swagger-codegen-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (113 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 1,885 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ai-prompt-regression-testing

Use when comparing prompt changes against a fixed evaluation set: record actual model settings, required checks, missing results, judge limitations and case-level regression evidence.

sickn33/agentic-awesome-skills · 37 tokens

ai-prompt-regression-testing

Prompt engineering regression test matrix register: baseline outputs, semantic drift thresholds, judge evaluations, and golden dataset.

lingxling/awesome-skills-cn · 28 tokens

api-testing-observability-api-mock

You are an API mocking expert specializing in realistic mock services for development, testing, and demos. Design mocks that simulate real API behavior and enable parallel development.

lingxling/awesome-skills-cn · 40 tokens

nodejs-backend-patterns

Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

chidekina/aria-superpowers · 58 tokens

api-design-principles

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

chidekina/aria-superpowers · 44 tokens

test-gen

Generate test cases from type constraints and specs. Creates boundary tests, edge cases, and fixtures automatically. Pact-lang inspired. Triggers on: generate tests, test from spec, create fixtures, boundary tests.

chidekina/aria-superpowers · 44 tokens