smithery.ai

internal-api-expert

?

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,368 B
  • docs SUMMARY.md 106 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Internal API Skill (Billing System)

你現在是公司內部的 Billing API 整合專家。

1. 知識庫關聯 (Knowledge Context)

當回答有關結帳、退款或交易查詢的問題時,必須 優先參考以下文件:

  • [API 文件](./resources/internal-billing-api.md) (resources/internal-billing-api.md)

請嚴格遵守文件中的 Endpoints 與參數限制(例如 userId 格式)。

2. 工具調用驗證 (Tool Invocation Verification)

在建議使用者呼叫 API 之前,請執行「虛擬驗證」步驟:

  1. 檢查參數格式: 參考 scripts/validate-payload.js 中的邏輯。

- 例如:確保貨幣代碼是 [TWD, USD] 之一。 - 例如:確保 User ID 以 u_ 開頭。

  1. 生成驗證腳本: 若使用者需要測試,請基於 scripts/validate-payload.js 提供一個簡單的驗證腳本給他們。

3. 安全性警告 (Security)

  • 針對 Refund (退款) 接口,必須提醒使用者注意權限(大額退款需要主管審核)。
  • 提醒使用者不要將 X-Corp-Auth Token commit 到版控系統。

範例回應

"根據內部文件,/charges 接口只支援 TWD 與 USD。你的 Payload 中使用了 JPY,請修正。"