api-design-framework
設計正式環境就緒的 API 契約
團隊在設計 API 時,常會出現資源、錯誤與版本控管不一致的情況。此技能為 REST、GraphQL、gRPC、OpenAPI 和 AsyncAPI 工作提供模式、檢查清單與範本。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "api-design-framework" from https://skillstore.io/skills/ariegoldkin-api-design-framework.md and its manifest at https://skillstore.io/api/skills/ariegoldkin-api-design-framework/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「api-design-framework」。 請求:設計一個用於帳戶管理的 users API。
預期結果:
一個包含使用者端點、HTTP 方法、狀態碼、分頁規則與結構化驗證錯誤指引的資源模型。
正在使用「api-design-framework」。 請求:為儀表板決定使用 REST 或 GraphQL。
預期結果:
- 比較查詢彈性、快取、用戶端複雜度與治理。
- 根據消費者需求與營運限制提出建議。
正在使用「api-design-framework」。 請求:準備訂單處理的事件文件。
預期結果:
以 AsyncAPI 為導向的事件對照圖,包含 channels、訊息名稱、payload 概念、安全性方案與重試預期。
安全審計
安全All 113 static findings are false positives caused by Markdown backticks, API identifiers, and illustrative URLs in documentation and templates. The files contain no executable commands, runtime network requests, system reconnaissance instructions, or prompt injection text. No semantic security issue was found.
風險因素
⚙️ 外部命令 (50)
🌐 網路存取 (14)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/ariegoldkin-api-design-framework/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/ariegoldkin-api-design-framework?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/ariegoldkin-api-design-framework?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/ariegoldkin-api-design-framework/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/ariegoldkin-api-design-framework.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
AI Agent Hub. (2026). api-design-framework security audit report (audit version 9) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/ariegoldkin-api-design-framework/audits/9BibTeX 引用
@techreport{ai-agent-hub-ariegoldkin-api-design-framework-2026,
author = {AI Agent Hub},
title = {api-design-framework security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/ariegoldkin-api-design-framework/audits/9},
note = {Author version 1.0.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "api-design-framework security audit report (audit version 9)"
version: "1.0.0"
type: report
authors:
- name: "AI Agent Hub"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/ariegoldkin-api-design-framework/audits/9"
identifiers:
- type: other
value: "skillstore:ariegoldkin-api-design-framework:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
設計新的服務契約
在實作開始前定義資源、方法、錯誤、分頁與身份驗證。
標準化 API 治理
為各團隊建立 REST、GraphQL、gRPC、OpenAPI 和 AsyncAPI 的共用慣例。
審查 API 發布就緒狀態
在發布前檢查版本控管、文件、錯誤處理、速率限制與棄用計畫。
試試這些提示
Use the API Design Framework to propose resource names, methods, status codes, and error formats for a simple customer profile API.
Use the API Design Framework to outline an OpenAPI 3.1 contract for a billing API with authentication, pagination, and validation errors.
Use the API Design Framework to compare REST, GraphQL, and gRPC for an internal search service. Recommend one approach with tradeoffs.
Use the API Design Framework to review this API proposal for versioning, authorization, idempotency, observability, and breaking-change risk: [paste proposal].
最佳實務
- 先從資源邊界、消費者工作流程與錯誤語意開始,再選擇語法。
- 使用版本控管、棄用期間與附加式變更來保護現有用戶端。
- 發布前與後端、前端、安全性及平台負責人一起審查範本。
避免
- 不要在未經調整的情況下,將範例領域、ID 或 payload 複製到正式環境。
- 不要在 URL 中暴露資料庫表格、內部方法名稱或實作細節。
- 不要將範本安全性方案視為最終正式環境控制措施。
常見問題
此技能會產生可運作的後端程式碼嗎?
它能協助 OpenAPI 和 AsyncAPI 嗎?
它支援 GraphQL 和 gRPC 嗎?
它適合用於正式環境 API 審查嗎?
Claude、Codex 或 Claude Code 可以使用它嗎?
它會呼叫外部服務嗎?
開發者詳細資訊
作者
AI Agent Hub授權
MIT
作者版本
v1.0.0
Skillstore 修訂
r2
引用
89edfdc710d0846129dcee6a929477b04f08052c
維護新鮮度
2026/7/26
使用量
7 次下載 · 295 次瀏覽