LogoClawIndex
CasesSkillsAbout
LogoClawIndex

golang-docs - Document Go code and generate OpenAPI handlers

Defines Go doc-comment conventions, configures comment linting, and documents the spec-first OpenAPI handler generation workflow.

Tags

Updated: 2026-11-29
Go documentationgodocOpenAPIoapi-codegengolangci-lintstaticcheckchi

Capabilities

Apply Go doc comment conventionsMap Javadoc patterns to GoConfigure comment lint checksMaintain OpenAPI endpoint contracts

Typical Inputs

Go source declarationsgolangci-lint configurationOpenAPI YAML contract

Typical Outputs

Go doc commentsPackage commentsLint configuration changes

What this skill does

  • Apply Go doc comment conventions
  • Map Javadoc patterns to Go
  • Configure comment lint checks
  • Maintain OpenAPI endpoint contracts
  • Generate chi server interfaces
  • Adapt generated error handling

Inputs

  • Go source declarations
  • golangci-lint configuration
  • OpenAPI YAML contract
  • Endpoint request definitions
  • Endpoint response definitions

Outputs

  • Go doc comments
  • Package comments
  • Lint configuration changes
  • Generated API types
  • Generated chi server interface
  • OpenAPI contract changes

Requirements

  • Go 1.27.0
  • chi v5.3.2
  • golangci-lint v2.13.1
  • oapi-codegen v2.8.0
  • oapi-codegen runtime v1.7.0
  • Go 1.24+ for generated code

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.