bootstrap-go-openapi

Installation
SKILL.md

Bootstrap Go OpenAPI Client

Add oapi-codegen client generation to an existing Go project. Assumes go.mod already exists.

Prerequisites

Verify before starting:

  1. go.mod exists in the project root
  2. User has an OpenAPI 3.0 spec (local file or URL)

If the spec is OpenAPI 3.1, warn the user: oapi-codegen has partial 3.1 support. Recommend converting to 3.0 or testing carefully.

Gather Input

Ask the user for:

  1. OpenAPI spec path — path to their .yaml/.json spec file (e.g. api/openapi.yaml)
  2. Client package name — Go package for generated code (e.g. petstore, acmeapi). Suggest deriving from the API name in the spec.
Installs
3
GitHub Stars
1
First Seen
May 21, 2026