home/categories/automation-tools/clps935419-kcardswap-github-skills-openapi-sdk-generation-skill-md
automation-toolstools

openapi-sdk-generation

當後端 API 有變更或 mobile SDK 型別不一致時,更新 repo 內的 OpenAPI snapshot(openapi/openapi.json),並在 apps/mobile 重新生成 hey-api/openapi-ts SDK、清理舊產物、進行 type-check 驗證。也適用於 CI/雲端 agent 需要用 repo snapshot 穩定 codegen 的情境。

clps935419
maintainer
clps935419
更新于 1/20/2026
星标
0
分支
0
quick start

Installation and usage

當後端 API 有變更或 mobile SDK 型別不一致時,更新 repo 內的 OpenAPI snapshot(openapi/openapi.json),並在 apps/mobile 重新生成 hey-api/openapi-ts SDK、清理舊產物、進行 type-check 驗證。也適用於 CI/雲端 agent 需要用 repo snapshot 穩定 codegen 的情境。

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use openapi-sdk-generation