一键导入
generate-s2s
Use this skill whenever the user asks to regenerate the S2S API artifacts, refresh the server swagger output, or update the generated admin-panel auth API client from the backend schema and routes. Also use this skill proactively whenever the current task changes any S2S generation inputs, even if the user did not explicitly ask for regeneration. Relevant changes include updates under `server/src/routes/`, `server/src/scripts/schemas/`, `server/src/scripts/generate-swagger.cjs`, or `admin-panel/scripts/generateService.ts`. Trigger on requests like "generate s2s", "regenerate swagger", "refresh auth api", "update the generated s2s client", or "run s2s:generate", and also when those source files were edited as part of the work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。