openapi-to-typescript
✓将 OpenAPI 3.0 JSON/YAML 转换为 TypeScript 接口和类型防护。当用户要求从 OpenAPI 生成类型、将模式转换为 TS、创建 API 接口或从 API 规范生成 TypeScript 类型时,应该使用此技能。
SKILL.md
Converts OpenAPI 3.0 specifications to TypeScript interfaces and type guards.
Input: OpenAPI file (JSON or YAML) Output: TypeScript file with interfaces and type guards
| string | string | | number | number | | integer | number | | boolean | boolean | | null | null |
将 OpenAPI 3.0 JSON/YAML 转换为 TypeScript 接口和类型防护。当用户要求从 OpenAPI 生成类型、将模式转换为 TS、创建 API 接口或从 API 规范生成 TypeScript 类型时,应该使用此技能。 来源:softaworks/agent-toolkit。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/softaworks/agent-toolkit --skill openapi-to-typescript- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 openapi-to-typescript?
将 OpenAPI 3.0 JSON/YAML 转换为 TypeScript 接口和类型防护。当用户要求从 OpenAPI 生成类型、将模式转换为 TS、创建 API 接口或从 API 规范生成 TypeScript 类型时,应该使用此技能。 来源:softaworks/agent-toolkit。
如何安装 openapi-to-typescript?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/softaworks/agent-toolkit --skill openapi-to-typescript 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/softaworks/agent-toolkit
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01