diagnose
Use when afro.tools Studio or an afrotools skill did not work as expected: prepares a cleaned bug report and a link to a prefilled GitHub issue that the user…
от afrotools★ 32 звезды на GitHub
Установить diagnose в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/afrotools:diagnose
Turns "Studio did something wrong" into a report the maintainers can act on, without a support call. Speak to the user in their language; the report itself is written in English.
Workflow
Summarise the session in four fields:
title: one line naming the problem.what_happened: what the user expected, what Studio or the skill did instead, any error message.steps: what was asked or run, in order, one per line.agent: the agent in use (e.g.claude-code).plugin_version: theversionin this plugin's.claude-plugin/plugin.json.
Leave out code, file contents and anything about the user's customers. Never include API keys, tokens, phone numbers or e-mail addresses, even partially.
Build the link: pass the report as JSON on stdin to the script, which masks e-mails, phone numbers, bearer tokens, secret-named values and long tokens, and keeps the URL under GitHub's limit. Its source is scripts/issue-url.md (a fenced code block, not a runnable file: the directory only accepts scripts from a Verified organization, which this plugin isn't yet). Write that block, unchanged, to
.afrotools/tools/issue-url.mjsin the project (create.afrotools/tools/first if missing; overwrite the file if it already exists, so an older copy never runs), then:node .afrotools/tools/issue-url.mjs <<'EOF' <report as JSON> EOFIt prints the cleaned
title,what_happenedandsteps, then the link.Show the user the cleaned text exactly as the script printed it (not your own summary) and the link. Tell them to read it, remove anything private the masking missed, tick the privacy box and submit it themselves.
Never say the report was sent. Only the user submits it; you have no way to know whether they did.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/issue-url.md
FAQ
Что делает скилл diagnose?
Use when afro.tools Studio or an afrotools skill did not work as expected: prepares a cleaned bug report and a link to a prefilled GitHub issue that the user reviews and submits themselves. Invoke with: /afrotools:diagnose. Manual invocation only.
Как установить скилл diagnose?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл diagnose запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…