用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/testdino-hq/testdino-mcp --skill debug-tool命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | debug-tool |
| description | Debug a malfunctioning MCP tool — trace the full request lifecycle to find the issue |
| argument-hint | [tool-name and symptom description] |
Debug the tool issue: $ARGUMENTS
Do NOT guess. Trace systematically.
Read the code for each layer and check for issues:
src/tools/<category>/<tool>.ts)name in the tool definition the same as the routing name in index.ts?inputSchema match what the handler actually reads from args?required fields correctly listed?enum values complete?getApiKey(args) called correctly?String(), Number())src/lib/endpoints.ts)/api/mcp/${projectId}/...)projectId being destructured out before building query string?console.error)src/lib/request.ts)Content-Type: application/json being set?{ success, data } wrapper or direct data?response.ok being checked?Once you've identified the suspect layer:
endpoints.ts, check the API docs or compare with working toolsnpm run typecheck && npm run lintdocs/TOOLS.mdconsole.error debug lines| Symptom | First place to check |
|---|---|
| "Unknown tool" | Tool not in tools array or missing routing in index.ts |
| "Missing PAT" | getApiKey not receiving args, or env var not set |
| 404 from API | Wrong URL in endpoints.ts — check path and projectId placement |
| Empty response | API returns wrapped { data } but handler reads top-level |
| Wrong data | Query params not being passed — check buildQueryString input |
| Type error | Missing .js in import, or wrong param types |
| Crashes on startup | Circular import or top-level await issue |