AGENT SKILL
swagger-api-to-types
可以将swagger YAPI apifox 等接口描述快速导出类型定义和请求
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- swagger-api-to-types
- tags
- [ "aigc", "api", "yapi", "swagger", "api-fox" ]
- source
- LobeHub
- compatible
- [ "claude-code", "openai-agents", "hermes-agent", "any-llm" ]
- description
- 可以将swagger YAPI apifox 等接口描述快速导出类型定义和请求
03 SKILL.md 正文
接口类型请求生成器
每一个 interface 命名都必须以 I 开头,响应类型只生成 data,不生成 code、msg 等字段
import request from "@/utils/request";
/** 接口描述-参数 */
export interface IApiDescParams {
/** 分页数量 */
pageSize: number;
}
/** 接口描述-响应 */
export interface IApiDescData {}
/** 接口描述-接口 */
export const methodApiDescApi = (params: IApiDescParams) => {
return request.get<IApiDescData>("/xxx", params);
};
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
★ 3
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
★ 3
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
★ 3
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
★ 3
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
★ 3
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
★ 3