community-automations/api-schema-extractor

DevOps 與程式碼

PublicClaude 子代理

API 結構描述提取器

很多內部 API 根本沒有規格文件,所以每次串接都得從猜測和一整排測試請求開始。這個擷取器會直接探查上線中的 API,替你寫好文件。

sonnet4 天PythonOpenAIPostmanGitHub
ClaudeClaude
ROI for
README.md

為什麼選擇此子代理

很多內部 API 根本沒有規格文件,所以每次串接都得從猜測和一整排測試請求開始。這個擷取器會直接探查上線中的 API,替你寫好文件。

它從真實回應中推斷參數、回應結構和狀態碼,組出一份 OpenAPI 3.1 檔案,送交前先跑過 lint 檢查。你會拿到一份放在 pull request 裡、可以直接用的規格,等著被審核,然後丟進你的 client 產生器和文件裡。

運作方式

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

輸出範例

json
// Sample output
// (generated when the pipeline finishes)

Given an API base URL and sample calls, probe the endpoints and return a valid, linted OpenAPI 3.1 document describing paths, parameters, and response schemas.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.