ECPay

Ecpay Debug — Development skill for Claude Code

Development community

除錯綠界 API 串接問題 + CheckMacValue/AES 加密驗證.

How to install Ecpay Debug

Installs to ~/.claude/skills/ecpay-ecpay-api-skill-ecpay-debug/SKILL.md

Terminal
mkdir -p ~/.claude/skills/ecpay-ecpay-api-skill-ecpay-debug && curl -fsSL https://raw.githubusercontent.com/ECPay/ECPay-API-Skill/HEAD/commands/ecpay-debug.md -o ~/.claude/skills/ecpay-ecpay-api-skill-ecpay-debug/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Ecpay Debug does


description: 除錯綠界 API 串接問題 + CheckMacValue/AES 加密驗證

**你需要這個指令嗎?**

  • 目標:排查 CheckMacValue 計算失敗 → ✅ 是
  • 目標:排查 AES 加解密錯誤 / TransCode ≠ 1 → ✅ 是
  • 目標:排查 Callback 收不到 / 解析失敗 → ✅ 是
  • 目標:建立新的付款串接 → ❌ 改用 /ecpay-pay

使用者遇到綠界串接問題或需要加密實作協助。請依以下步驟排查:

  1. 先讀取 SKILL.md 的除錯決策樹,定位問題類型
  2. 根據問題類型讀取對應資源:
    • CheckMacValue 驗證失敗 → guides/13-checkmacvalue.md + guides/15-troubleshooting.md §1
    • AES 解密亂碼 → guides/14-aes-encryption.md §常見錯誤 + 測試向量
    • 錯誤碼查詢 → `guides/20-error-codes-refere

Alternatives in Development

  • Debug Buttercup — Trail of Bits security skill for debug buttercup 3.7k ★
  • Octo Debug — Systematic debugging with methodical problem investigation 2.8k ★
  • Lsp Debug — LSP Debug Skill 1.9k ★

Full documentation available on GitHub

View Source Repository