Command Palette

Search for a command to run...

Назад к скиллам
скилл № 77190

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от 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

  1. Identify the provider slug and capability from the error, code snippet, or user description. Ask if unclear — don't guess.

  2. Fetch the spec:

    afrotools.get_spec({ provider: "<slug>", capability: "<capability>" })
    
  3. Check gotchas first. Most integration failures map directly to a documented gotcha. Read every entry before looking elsewhere.

  4. 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, not amount); compare the user's payload against input_schema
    • Status values — enums are case-sensitive (e.g. LengoPay uses SUCCESS, not success); code: 0 on 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
  5. 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
  6. 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), без исполняемых скриптов.

Похожие скиллы

Сравнить debug с