skills/apifox.com/apifox-workflow-api-lifecycle

apifox-workflow-api-lifecycle

Installation
SKILL.md

API 生命周期工作流

开始前必须读取 ../apifox-cli/SKILL.md。若旧总入口与本 workflow 的领域规则冲突,以当前 CLI help 和本 workflow 为准。按步骤再读取 apifox-branchapifox-import-exportapifox-test-case;涉及复杂测试流程时读取 apifox-test-scenario,涉及执行和 CI 时读取 apifox-test-automation

具体 endpoint、schema、environment、test-report 命令以当前 CLI help 为准。本流程用于从需求到 API 资产、测试、报告和分支合并的端到端交付,重点关注资源顺序、质量门禁和交付验证。Agent 执行时优先形成 help/schema -> get -> validate -> write -> run/report 闭环,不要仅凭旧文档或记忆写入。

适用场景

  • 根据需求创建或更新一组接口。
  • 导入 OpenAPI/Postman 后整理接口、Schema、目录和测试。
  • 从代码库、PRD、需求文档、测试文档或讨论内容生成 API spec 后导入 Apifox。
  • 给接口补 Mock、测试用例、文档和发布设置。
  • 在 AI 分支完成 API 变更并准备合并。

工作流

Installs
4.5K
First Seen
Jun 29, 2026
apifox-workflow-api-lifecycle from apifox.com