tsed-openapi
Skill by tsedio
Documents a Ts.ED v8 API with OpenAPI. It guides configuration of @tsed/swagger and @tsed/scalar, operation and model decorators, multi-document splits, and spec export for developers building Ts.ED APIs.
Install tsed-openapi
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tsedio/tsed /tmp/tsed && mkdir -p ~/.claude/skills && cp -r /tmp/tsed/plugins/tsed/skills/tsed-openapi ~/.claude/skills/tsed-openapiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tsedio/tsed /tmp/tsed && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tsed/plugins/tsed/skills/tsed-openapi ~/.gemini/antigravity-cli/skills/tsed-openapiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an assistant through documenting a Ts.ED v8 API with OpenAPI. It covers configuring @tsed/swagger (Swagger UI) and @tsed/scalar, annotating operations and models with @tsed/schema decorators such as @Returns, @Summary and @Security, and splitting controllers across several documents.
It explains how to export the generated spec to a file, including from a CI job, and how to diagnose a route, model or response schema that is missing or wrong in the spec. The skill tells the assistant to fix the decorator metadata rather than hand-edit the generated JSON. It is aimed at developers building Ts.ED APIs who need accurate OpenAPI documentation.
Written from the project's SKILL.md and checked against it.
What it can do
- Configure UIsSets up swagger and scalar document arrays with paths and spec versions.
- Annotate operationsAdds @Summary, @Description, @Tags, @Security and @Returns to controller methods.
- Document modelsUses @tsed/schema decorators so model properties and examples appear in the spec.
- Split documentsFilters controllers into separate documents by doc or pathPatterns.
- Export specWrites the OpenAPI spec to a file through outFile, a script or a CLI plugin.
- Diagnose missing routesWalks through a checklist when a route, model or response is absent from the spec.
What you need
- Ts.ED v8
- npm to install @tsed/swagger or @tsed/scalar
Try asking
- Add Swagger and Scalar UIs to my Ts.ED v8 server
- Document my OrdersController with @Returns and @Security decorators
- Split my Ts.ED controllers into public and admin OpenAPI documents
Good to know
- Mount must receive controller classes; glob strings are silently dropped.
- Without specVersion, Ts.ED emits Swagger 2.0.
- hidden: true on a Swagger document only hides it from the dropdown.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/tsed/skills/tsed-openapi/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml218 B -
references/configuration.md9 KB -
references/decorators.md8 KB
Alternatives to tsed-openapi
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
tsed-openapi: common questions
Why is my Ts.ED route missing from the OpenAPI spec?
The skill suggests checking that the UI package is imported, the controller is mounted, and no @Hidden() decorator or document filter excludes it. The response also needs @Returns with a model.
Can I generate the Ts.ED OpenAPI file during CI?
The skill describes a script that calls bootstrap without listen and then getOpenAPISpec, or the @tsed/cli-generate-swagger plugin. The outFile option is written only after the server is ready.
Does Ts.ED read TypeScript return types for OpenAPI responses?
No, according to the skill. Arrays and generics must be declared with .Of() or .Nested() in @Returns.
How do I install tsed-openapi?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is tsed-openapi free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is tsed-openapi safe to use?
It scores 82 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 tsed-openapi?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
