·materal-enum-adapter
</>

materal-enum-adapter

haibaraaiaptx/frontend-openapi-skills

从 API 获取 Materal Framework 枚举数据以生成 TypeScript 枚举。在以下情况下使用:(1) 使用 Materal Framework OpenAPI 规范,(2) 需要来自 API 的真实枚举值(不仅仅是模式),(3) 通过 AI 生成带有中英翻译的 TypeScript 枚举。

4安装·0热度·@haibaraaiaptx

安装

$npx skills add https://github.com/haibaraaiaptx/frontend-openapi-skills --skill materal-enum-adapter

SKILL.md

Detects Materal Framework's enum endpoints and fetches real enum data from the API for efficient enum generation.

| Endpoint Pattern | Detected Namespace | API URL Example |

| /MainAPI/Enums/GetAllRole | /MainAPI | {base-url}/MainAPI/Enums/GetAllRole | | /GatewayAPI/Enums/GetAllStatus | /GatewayAPI | {base-url}/GatewayAPI/Enums/GetAllStatus | | /Enums/GetAllType | (empty) | {base-url}/Enums/GetAllType |

从 API 获取 Materal Framework 枚举数据以生成 TypeScript 枚举。在以下情况下使用:(1) 使用 Materal Framework OpenAPI 规范,(2) 需要来自 API 的真实枚举值(不仅仅是模式),(3) 通过 AI 生成带有中英翻译的 TypeScript 枚举。 来源:haibaraaiaptx/frontend-openapi-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/haibaraaiaptx/frontend-openapi-skills --skill materal-enum-adapter
分类
</>开发工具
认证
收录时间
2026-02-06
更新时间
2026-02-18

快速解答

什么是 materal-enum-adapter?

从 API 获取 Materal Framework 枚举数据以生成 TypeScript 枚举。在以下情况下使用:(1) 使用 Materal Framework OpenAPI 规范,(2) 需要来自 API 的真实枚举值(不仅仅是模式),(3) 通过 AI 生成带有中英翻译的 TypeScript 枚举。 来源:haibaraaiaptx/frontend-openapi-skills。

如何安装 materal-enum-adapter?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/haibaraaiaptx/frontend-openapi-skills --skill materal-enum-adapter 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/haibaraaiaptx/frontend-openapi-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-06