Skill / SKILL.md

Go Openapi

eduardo-sl/go-agent-skills

Spec-first REST development in Go with OpenAPI: generating server interfaces and clients with oapi-codegen, request validation middleware, RFC 9457 error bodies, contract testing, and detecting breaking API changes. Use when the API has or should have an OpenAPI document, when wiring code generation into the build, or when a hand-written handler has drifted from its published contract. Trigger examples: "OpenAPI", "swagger spec", "oapi-codegen", "generate a client from the spec", "validate requests against the schema", "breaking API change". Not for: handler structure and shutdown (go-api-design), gRPC and protobuf (go-grpc), GraphQL schemas and resolvers (go-graphql).
2 views 90 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Spec-first REST development in Go with OpenAPI: generating server interfaces and clients with oapi-codegen, request validation middleware, RFC 9457 error bodies, contract testing, and detecting breaking API changes. Use when the API has or should have an OpenAPI document, when wiring code generation into the build, or when a hand-written handler has drifted from its published contract. Trigger examples: "OpenAPI", "swagger spec", "oapi-codegen", "generate a client from the spec", "validate requests against the schema", "breaking API change". Not for: handler structure and shutdown (go-api-design), gRPC and protobuf (go-grpc), GraphQL schemas and resolvers (go-graphql).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/eduardo-sl/go-agent-skills' skill-source

Use the complete skill-source/skills/(architecture)/go-openapi directory with your client’s skill installer.

  • skills/(architecture)/go-openapi

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/(architecture)/go-openapi

Compatibility & requirements

Declared compatibility

Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain. oapi-codegen, oasdiff and a spec linter (vacuum or spectral) are installed on demand.

Declared tools

Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*) Bash(oapi-codegen:*) Bash(oasdiff:*) Bash(vacuum:*)

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
df36cebeb08fe9168bc094353a8acfad799ab932a94cbca6262e65a64a3d3ff4
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills