update-api-reference — community update-api-reference, sandbox, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

Sobre este Skill

Perfeito para Agentes de Manutenção de API que precisam de atualizações automatizadas de documentação OpenAPI com anotações swaggo. Regenerate the OpenAPI reference documentation after adding, modifying, or removing API endpoints in sandbox-api. Run this whenever handler signatures, route paths, or swag annotations change.

blaxel-ai blaxel-ai
[9]
[5]
Updated: 3/10/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
39
Canonical Locale
en
Detected Body Locale
en

Perfeito para Agentes de Manutenção de API que precisam de atualizações automatizadas de documentação OpenAPI com anotações swaggo. Regenerate the OpenAPI reference documentation after adding, modifying, or removing API endpoints in sandbox-api. Run this whenever handler signatures, route paths, or swag annotations change.

Por que usar essa habilidade

Habilita os agentes a regenerar referências de API usando documentos OpenAPI e anotações swaggo, garantindo documentação precisa e atualizada com um único comando, aproveitando as especificações Swagger 2.0 e OpenAPI.

Melhor para

Perfeito para Agentes de Manutenção de API que precisam de atualizações automatizadas de documentação OpenAPI com anotações swaggo.

Casos de Uso Práticos for update-api-reference

Regenerar a documentação de API após alterações de endpoint
Atualizar referências de nome de tipo para consistência
Converter Swagger 2.0 para OpenAPI para compatibilidade

! Segurança e Limitações

  • Exige anotações swaggo no código do manipulador Go
  • Necessita de configuração de makefile para geração automatizada de documentação
  • Limitado às especificações OpenAPI e Swagger 2.0

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is update-api-reference?

Perfeito para Agentes de Manutenção de API que precisam de atualizações automatizadas de documentação OpenAPI com anotações swaggo. Regenerate the OpenAPI reference documentation after adding, modifying, or removing API endpoints in sandbox-api. Run this whenever handler signatures, route paths, or swag annotations change.

How do I install update-api-reference?

Run the command: npx killer-skills add blaxel-ai/sandbox/update-api-reference. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for update-api-reference?

Key use cases include: Regenerar a documentação de API após alterações de endpoint, Atualizar referências de nome de tipo para consistência, Converter Swagger 2.0 para OpenAPI para compatibilidade.

Which IDEs are compatible with update-api-reference?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for update-api-reference?

Exige anotações swaggo no código do manipulador Go. Necessita de configuração de makefile para geração automatizada de documentação. Limitado às especificações OpenAPI e Swagger 2.0.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add blaxel-ai/sandbox/update-api-reference. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use update-api-reference immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

update-api-reference

Install update-api-reference, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Update the API Reference (OpenAPI Docs)

The OpenAPI spec is generated from swaggo annotations in the Go handler code. After changing any endpoint, regenerate the docs.

Run the Full Reference Update

bash
1make reference

This single command:

  1. Runs swag init to parse Go annotations → generates sandbox-api/docs/swagger.yaml and docs.go
  2. Fixes type name references (replaces filesystem.Directory with Directory)
  3. Converts Swagger 2.0 → OpenAPI 3.0 via swagger2openapi
  4. Adds Bearer auth security scheme to all endpoints
  5. Runs fixopenapi.sh for additional patches

The output file is sandbox-api/docs/openapi.yml.


How Swag Annotations Work

Annotations are Go comments above handler functions. Example:

go
1// HandleGetFile retrieves a file from the sandbox filesystem. 2// 3// @Summary Get file or directory 4// @Description Returns file content or directory listing 5// @Tags filesystem 6// @Produce application/octet-stream 7// @Param path path string true "File path" 8// @Success 200 {string} string "File content" 9// @Failure 404 {object} ErrorResponse 10// @Router /filesystem/{path} [get] 11func (h *FileSystemHandler) HandleGetFile(c *gin.Context) {

Key annotation fields:

  • @Summary — short description (shown in API reference)
  • @Description — longer explanation
  • @Tags — group endpoints in the UI (filesystem, process, network, codegen)
  • @Param — parameter: name location type required "description"
    • locations: path, query, body, header
  • @Success / @Failure — response codes with type and description
  • @Router — path and HTTP method [get|post|put|delete]
  • @Accept / @Produce — request/response content types

Where the Docs Live

FilePurpose
sandbox-api/docs/openapi.ymlFinal OpenAPI 3.0 spec (commit this)
sandbox-api/docs/docs.goAuto-generated Go embed of the spec
sandbox-api/docs/fixopenapi.shPost-processing patches

After Adding a New Endpoint

  1. Add swag annotations to your handler function
  2. Register the route in sandbox-api/src/api/router.go
  3. Run make reference
  4. Review the diff in sandbox-api/docs/openapi.yml to confirm your endpoint appears correctly
  5. Commit both the handler changes and the updated openapi.yml and docs.go

Verify the Generated Docs

Open the Swagger UI at http://localhost:8080/swagger/index.html while the dev server is running. It reads docs.go which is embedded at build time.


Troubleshooting

  • swag: command not found: Run make dependencies first
  • Missing endpoint in output: Check that your handler has a @Router annotation and the function is exported
  • Type not found: Ensure the struct is in the same package or imported and annotated with @Description
  • swagger2openapi not found: Run npm install -g swagger2openapi or npx swagger2openapi (the Makefile uses npx)

Habilidades Relacionadas

Looking for an alternative to update-api-reference or another community skill for your workflow? Explore these related open-source skills.

Ver tudo

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

widget-generator

Logo of f
f

Gerar plugins de widgets personalizáveis para o sistema de feed do prompts.chat

flags

Logo of vercel
vercel

O Framework React

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Desenvolvedor