tool-discovery
87為每項任務選擇合適的 AI 工具
在眾多技能與代理程式之間進行選擇,可能會延誤技術工作。此技能使用精簡的目錄與選擇規則,將每項任務對應至專門的工具。
設計可靠的 REST API
REST API 需要一致的方法、狀態碼、快取和速率限制。此技能為 Claude、Codex 和 Claude Code 提供實用 API 設計的快速模式。
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "rest-patterns" from https://skillstore.io/skills/0xdarkmatter-rest-patterns.md and its manifest at https://skillstore.io/api/skills/0xdarkmatter-rest-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
正在使用「rest-patterns」。 我需要建立、更新、刪除和驗證失敗的狀態碼。
預期結果:
建立使用 201 並搭配 Location,更新使用 200 或 204,刪除使用 204,驗證錯誤使用 422。
正在使用「rest-patterns」。 協助我為產品目錄端點新增快取。
預期結果:
對穩定的目錄資料使用 public 快取標頭,使用 ETags 進行驗證,並對個人化或敏感回應使用 no-store。
正在使用「rest-patterns」。 檢視免費和付費使用者的速率限制政策。
預期結果:
定義不同層級,回傳 RateLimit 和 Retry-After 標頭,並記錄用戶端的重試行為。
All static findings are false positives after context review. The URLs, fetch call, curl commands, status-code text, and backtick markers appear inside Markdown reference examples, not executable skill code. No prompt injection or malicious intent was found in the reviewed files.
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/0xdarkmatter-rest-patterns/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/0xdarkmatter-rest-patterns?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/0xdarkmatter-rest-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/0xdarkmatter-rest-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/0xdarkmatter-rest-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>0xDarkMatter. (2026). rest-patterns security audit report (audit version 6) [Author version unspecified]. Skillstore. https://skillstore.io/skills/0xdarkmatter-rest-patterns/audits/6@techreport{0xdarkmatter-0xdarkmatter-rest-patterns-2026,
author = {0xDarkMatter},
title = {rest-patterns security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/0xdarkmatter-rest-patterns/audits/6},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "rest-patterns security audit report (audit version 6)"
version: "unspecified"
type: report
authors:
- name: "0xDarkMatter"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/0xdarkmatter-rest-patterns/audits/6"
identifiers:
- type: other
value: "skillstore:0xdarkmatter-rest-patterns:audit:6"
description: "Skillstore immutable audit report identifier"
在實作前選擇資源名稱、方法、狀態碼、分頁、快取和速率限制。
將 API 合約與常見 REST 模式比較,並找出不一致的選擇。
清楚描述狀態碼、錯誤格式、重試行為、版本控管和快取語意。
使用 rest-patterns 技能為這些操作選擇 HTTP 方法和狀態碼:建立、讀取、更新、刪除、驗證失敗和速率限制。
使用 rest-patterns 技能為此資源設計集合端點。包含分頁、排序、篩選、稀疏欄位和包含的關聯。
使用 rest-patterns 技能為這些 API 端點建議快取標頭、ETag 行為、CDN 失效處理和速率限制標頭。
使用 rest-patterns 技能檢視此 API 合約的方法語意、狀態碼選擇、錯誤回應形狀、版本控管、批次操作和 HATEOAS 連結。
作者
0xDarkMatter授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
c1fdca50ff516318f65fed0d7f9e82797c5171dc
維護新鮮度
2026/7/18
使用量
35 次下載 · 377 次瀏覽
檔案結構
為每項任務選擇合適的 AI 工具
在眾多技能與代理程式之間進行選擇,可能會延誤技術工作。此技能使用精簡的目錄與選擇規則,將每項任務對應至專門的工具。
建構可靠的 Async Python
Async Python 程式碼經常因阻塞呼叫、未受限制的任務,以及薄弱的清理機制而失敗。此 skill 提供可重複使用的 asyncio 模式、範例與參考資料,用於打造穩健的並行服務。
使用可重用模式建置 FastAPI API
FastAPI 專案需要在驗證、依賴項、middleware 和背景工作方面做出一致的選擇。這項技能為 Claude、Codex 和 Claude Code 提供可重用模式,用於實務 Python API 開發。
新增 Python 型別安全模式
Python 型別註解在實際專案中可能難以一致套用。此 skill 為 Claude、Codex 和 Claude Code 提供實用模式,用於撰寫更安全的 typed Python code。
依 AST 結構搜尋程式碼
文字搜尋會遺漏語意關係,並產生大量雜訊結果。此技能使用 ast-grep 模式定位程式碼結構,並為聚焦式重構做好準備。
處理 JSON、YAML 和 TOML 資料
結構化設定資料在 JSON、YAML 和 TOML 檔案之間可能難以檢視。此技能會引導使用 jq 和 yq 查詢來進行擷取、篩選、轉換和更新。
設計可靠的 REST 與 GraphQL API
由 AutumnsGrove
API 團隊需要一致的端點、身分驗證與文件。這項技能引導 REST、GraphQL、OpenAPI、版本控管與安全性設計決策。
設計正式環境就緒的 API 契約
由 ArieGoldkin
團隊在設計 API 時,常會出現資源、錯誤與版本控管不一致的情況。此技能為 REST、GraphQL、gRPC、OpenAPI 和 AsyncAPI 工作提供模式、檢查清單與範本。
建置 RESTful 後端 API
由 DevanB
後端 API 工作經常卡在路由、版本控管與回應標準上。此技能會引導 Claude、Codex 和 Claude Code 進行一致的 REST 端點設計與實作。
設計更好的 API 合約
由 CloudAI-X
API 團隊在實作前需要一致的合約。此技能會引導 REST、GraphQL、OpenAPI、錯誤、版本控制與安全性選擇。
設計更好的 REST 和 GraphQL API
由 sickn33
API 團隊需要一致且易於使用與維護的合約。此技能透過範本、檢查清單和審查準則,引導 REST 與 GraphQL 設計。
打造可靠的後端 API
由 alirezarezvani
後端專案通常需要在 API、資料庫、安全性與部署之間進行一致的規劃。此技能透過簡單的輔助指令碼與參考資料,為 Claude、Codex 和 Claude Code 提供結構化的後端指引。