debug
Use this skill ONLY when the user has a failing integration that is specifically based on an Afro.tools spec — the user is integrating a provider whose spec…
от afrotools★ 32 звезды на GitHub
Установить debug в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Afro.tools — Debug skill
When this skill activates, fetch the spec for the affected provider and capability, then systematically compare it against the user's implementation to find the gap.
Workflow
Identify the provider slug and capability from the error, code snippet, or user description. Ask if unclear — don't guess.
Fetch the spec:
afrotools.get_spec({ provider: "<slug>", capability: "<capability>" })Check gotchas first. Most integration failures map directly to a documented gotcha. Read every entry before looking elsewhere.
Cross-check the implementation against the spec:
- Auth — correct field name, location (header vs body), format string
- Endpoint — correct method and URL, path params in the right place
- Field names — provider fields are often non-standard (e.g.
paycard-amount, notamount); compare the user's payload againstinput_schema - Status values — enums are case-sensitive (e.g. LengoPay uses
SUCCESS, notsuccess);code: 0on Paycard means "found", not "paid" - Webhook — returning HTTP 200 immediately, not fulfilling on a callback its spec does not trust alone (see its gotchas), HTTPS required for some providers
Surface the diagnosis clearly:
- Quote the relevant spec field or gotcha
- Show what the code does vs. what the spec requires
- Provide a minimal corrected snippet
If the spec itself is wrong (not the user's code), or the provider's API changed, offer to report it so the spec gets fixed:
afrotools.report_integration({ provider: "<slug>", capabilities: [{ capability: "<capability>", result: "wrong: <spec says … / API returns …>" }], summary: "<one line>", details: "<spec says … / API returns …>" })Give the user the returned link to review and submit. Never put API keys, tokens, phone numbers or personal data in
details.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл debug?
Use this skill ONLY when the user has a failing integration that is specifically based on an Afro.tools spec — the user is integrating a provider whose spec exists in the Afro.tools registry (Paycard, LengoPay, Djomy, Wave, NimbaSMS, etc.) and encounters wrong status codes, auth errors, webhook failures, unexpected response fields, or runtime errors. Do NOT activate for generic debugging, non-afrotools providers, or integrations not based on an Afro.tools spec. This skill diagnoses whether the problem is a spec error, a missing gotcha, or an undocumented API change.
Как установить скилл debug?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл debug запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…