apifox-api 0.0.14 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -109,6 +109,14 @@ bunx tsc --noEmit
109
109
  bun run build
110
110
  ```
111
111
 
112
- ## AI 协作
112
+ ## AI Agent Skill
113
113
 
114
- 本仓库附带一份 Cursor Agent Skill(`.cursor/skills/apifox-api/SKILL.md`),告诉 AI 何时先 `search` `get`、Operation Key 的概念、以及多 module 项目如何切换当前 module。
114
+ 提供一份 Cursor / Claude Code agent skill,教 AI 如何驱动本 CLI:先 `search` 找接口、再用 Operation Key(HTTP method + path)`get` 生成类型,以及多 module 项目如何切换当前 module。
115
+
116
+ 安装到你的项目(需要先全局装好本 CLI):
117
+
118
+ ```bash
119
+ npx skills add akirousnow/apifox-api-skill --skill apifox-api
120
+ ```
121
+
122
+ 装好后,在 Cursor / Claude Code 里直接对 AI 说"找接口"、"生成接口类型"即可自动触发。skill 源码见 [akirousnow/apifox-api-skill](https://github.com/akirousnow/apifox-api-skill)。
package/package.json CHANGED
@@ -28,7 +28,7 @@
28
28
  "peerDependencies": {
29
29
  "typescript": "^5"
30
30
  },
31
- "version": "0.0.14",
31
+ "version": "0.0.16",
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  }