bug-capture — скилл для Claude Code: что делает и установка
Скилл bug-capture для Claude Code превращает сообщение о дефекте в GitHub issue на языке проекта. Запускается после описания бага, QA-проверки или просьбы оформить задачу.
MIT ★ 2 966 обновлён 2026-09-29
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflowЧто делает bug-capture
bug-capture уточняет ожидаемое и фактическое поведение, шаги воспроизведения и частоту сбоя. Он изучает нужную часть проекта параллельно с ответами пользователя, чтобы использовать термины из кода и глоссария, если тот есть.
Перед созданием задачи скилл ищет похожие открытые и закрытые issues командой gh issue list. При совпадении он предлагает добавить комментарий вместо дубликата. Несколько независимых причин сбоя превращаются в отдельные связанные задачи; для создания используется gh issue create.
В тексте issue остаются шаги воспроизведения и описание поведения, без путей к файлам, номеров строк, имён функций и PR. Для поиска и создания задач нужен GitHub CLI gh.
Какие задачи решает
- зафиксировать баг из обычного описания
- найти похожую GitHub issue до создания новой
- разделить независимые причины сбоя на связанные задачи
- описать воспроизведение без привязки к путям и строкам кода
Примеры запросов агенту
- Оформи это описание сбоя как GitHub issue.
- Во время QA я нашёл баг: уточни детали и заведи задачу.
- Проверь похожие issues и зафиксируй этот дефект.
Как установить bug-capture
1Через маркетплейс плагинов
/plugin marketplace add rohitg00/pro-workflow/plugin install pro-workflow@pro-workflowКоманда ставит плагин pro-workflow целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add rohitg00/pro-workflow --skill bug-capture -a claude-code3Вручную: положить файлы
~/.claude/skills/bug-capture/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/bug-capture/
1Через Skills CLI (Vercel)
npx skills add rohitg00/pro-workflow --skill bug-capture -a codex2Вручную: положить файлы
.agents/skills/bug-capture/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add rohitg00/pro-workflow --skill bug-capture -a cursor2Вручную: положить файлы
.cursor/skills/bug-capture/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install rohitg00/pro-workflow skills/bug-capture2Вручную: положить файлы
.github/skills/bug-capture/SKILL.md1Через Skills CLI (Vercel)
npx skills add rohitg00/pro-workflow --skill bug-capture -a gemini-cli2Командой платформы
gemini skills install https://github.com/rohitg00/pro-workflow --path skills/bug-captureВручную: положить файлы
.devin/skills/bug-capture/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о bug-capture
Как установить bug-capture в Claude Code?
Добавь маркетплейс командой /plugin marketplace add rohitg00/pro-workflow, затем установи скилл: /plugin install pro-workflow@pro-workflow.
Что делает bug-capture?
Скилл собирает описание дефекта в GitHub issue, ищет дубликаты и при необходимости делит независимые сбои на связанные задачи. В issue он описывает поведение и шаги воспроизведения, не добавляя пути и номера строк.
Что нужно для работы bug-capture?
Для поиска и создания issues используется GitHub CLI gh: команды gh issue list и gh issue create.
Исходный текст
SKILL.md · MIT
--- name: bug-capture description: Capture a user-reported defect as a durable GitHub issue written in the project's own domain language. Explores the codebase in parallel for context but never leaks file paths or line numbers into the issue. Use when the user reports a bug conversationally, runs a QA pass, or says "file an issue", "log this as a bug", "capture this". --- # bug-capture Turn a conversation into an issue that still reads correctly after a major refactor. ## Flow ### 1. Listen, then clarify minimally Let the user describe the problem in their own words. Ask at most two short clarifying questions, drawn from: - Expected behavior vs. actual behavior. - Concrete reproduction steps if not already implied. - Frequency: deterministic, intermittent, or one-off. If the description already answers these, skip straight to filing. Over- interviewing is a tax the reporter pays for your uncertainty. ### 2. Explore in parallel While the user is answering, start a background exploration of the relevant area. The goal is **not** to propose a fix. The goal is to absorb the project's own vocabulary — the nouns and verbs the codebase uses for this feature — so the issue reads like it was written by a maintainer. If the repo has a glossary file (common names: GLOSSARY.md, UBIQUITOUS_LANGUAGE.md, docs/domain.md), read it first. ### 3. Check for duplicates before filing Run `gh issue list --search "<key phrase>" --state all --limit 10`. If a live or recently closed issue matches, surface it to the user and ask whether to add a comment instead of opening a new issue. Do not silently skip filing. ### 4. Decide: single issue or breakdown Break down when the report contains two or more independent failure modes that a different contributor could fix in parallel. Keep as one when every symptom traces to a single wrong behavior. For a breakdown, file in dependency order so each child issue can reference a real parent number, and mark honest `Blocked by` links. Avoid inventing dependencies to make the tree look tidier. ### 5. File with `gh issue create` File without asking the user to review the draft. Send back the URLs. #### Single-issue template ``` ## What happened <observed behavior, in domain terms> ## What I expected <expected behavior> ## Reproduction 1. <step> 2. <step> 3. <step> ## Context <anything that narrows where the bug lives, in domain terms — e.g. "only affects the import path, not the export path"> ``` #### Child-issue template ``` ## Parent #<parent-number> ## What is wrong <one behavior, narrow slice> ## What I expected <expected for this slice> ## Reproduction 1. <step> ## Blocked by <#issue or "none — independent"> ## Context <notes that apply only to this slice> ``` ### 6. Rules that apply to every issue body - No file paths, line numbers, function names, or PR numbers. These go stale. Describe behavior, not code. - Use the project's domain nouns, not generic tech terms. "The sync worker drops the patch" beats "`applyPatch()` throws". - Reproduction steps are mandatory. If you cannot derive them, go back to the user once before filing. - Thirty-second read target. Cut anything that does not help a maintainer decide whether to pick it up. ### 7. Keep going After each issue, print the URL and ask whether there is a next one. Do not batch multiple reports into one filing pass — each bug deserves its own scoped issue.
© Rohit Ghumare · MIT · rohitg00/pro-workflow