Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

onboard-to-openapi-server

Skill by backstage

Migrates a Backstage backend plugin's hand-written Express router to typed OpenAPI tooling. It is for maintainers of Backstage backend plugins moving to createOpenApiRouter.

  • Score 86
  • 35k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install onboard-to-openapi-server

Built from the published package, never by AI.

git clone --depth 1 https://github.com/backstage/backstage /tmp/backstage && mkdir -p ~/.claude/skills && cp -r /tmp/backstage/.agents/skills/onboard-to-openapi-server ~/.claude/skills/onboard-to-openapi-server

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install onboard-to-openapi-server in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The onboard-to-openapi-server skill moves an existing Backstage backend plugin from a hand-written Express router to the repo's OpenAPI tooling. It reads the router, inventories every route, and writes an openapi.yaml that serves as the source of truth. It then generates a server stub with backstage-repo-tools, switches the router to createOpenApiRouter, and checks the result with yarn tsc and the plugin's tests.

Optional steps can generate a typed client package and migrate router tests to wrapServer. The skill asks which optional steps the user wants and defaults to off. It is aimed at developers who maintain Backstage backend plugins in the Backstage monorepo and want routes driven by an OpenAPI spec.

Written from the project's SKILL.md and checked against it.

What it can do

  • Route inventoryLists every route, parameter, request body, response and auth decorator before writing the spec.
  • OpenAPI spec authoringWrites src/schema/openapi.yaml following conventions from onboarded Backstage plugins.
  • Server stub generationRuns backstage-repo-tools to generate the server stub with the --server flag.
  • Router migrationSwitches the router to createOpenApiRouter and removes request validation the spec now covers.
  • VerificationRuns spec validation and lint, then yarn tsc, the plugin's tests and lint.
  • Typed client generation (optional)Generates a typed client into a *-node, *-react or *-common package when the user opts in.
  • Router test migration (optional)Wraps supertest apps with wrapServer to add response validation in tests when the user opts in.

What you need

  • A Backstage monorepo with yarn installed
  • A backend plugin with a working Express router
  • A passing test suite for the router before starting
  • The @backstage/backend-openapi-utils package

Try asking

  • Migrate the auth-backend router to createOpenApiRouter
  • Write an openapi.yaml for the events-backend router
  • Generate a typed client for my plugin into a -common package

Good to know

  • Supports OpenAPI 3.1.x only, so the spec must use openapi 3.1.0
  • Stops if the plugin's build or tests fail before migration starts
  • Generated files under src/schema/openapi/generated/ must not be edited by hand
  • Client generation and test migration run only when the user opts in

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/onboard-to-openapi-server/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md16 KB

Alternatives to onboard-to-openapi-server

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

onboard-to-openapi-server: common questions

Which OpenAPI version does it use?

The spec must be openapi 3.1.0 because @backstage/backend-openapi-utils only supports OpenAPI 3.1.x.

Does the migration change auth logic in the router?

No. Auth and permission checks are not generated and must be kept in the router code exactly as they are.

What if a test fails after the router is migrated?

If the spec is wrong, the skill says to edit openapi.yaml and rerun the generate script rather than editing generated files.

How do I install onboard-to-openapi-server?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is onboard-to-openapi-server free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is onboard-to-openapi-server safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to onboard-to-openapi-server?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

onboard-to-openapi-server Install

Add to stack

Loading.