materal-enum-adapter
✓從 API 獲取 Materal Framework 枚舉數據以生成 TypeScript 枚舉。在以下情況下使用:(1) 使用 Materal Framework OpenAPI 規範,(2) 需要來自 API 的真實枚舉值(不僅僅是模式),(3) 通過 AI 生成帶有中英翻譯的 TypeScript 枚舉。
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