Agent Skillsrohitg00/pro-workflow › bug-capture

bug-capture

GitHub

将用户对话转化为符合项目领域语言的高质量 GitHub Issue。支持并行代码探索、去重检查及自动拆分复杂问题,严格遵循无路径行号规范,确保 Issue 在重构后仍具可读性。

skills/bug-capture/SKILL.md rohitg00/pro-workflow

Trigger Scenarios

用户以对话方式报告 Bug 执行 QA 测试流程 用户明确要求“提交 Issue”或“记录为 Bug”

Install

npx skills add rohitg00/pro-workflow --skill bug-capture -g -y
More Options

Use without installing

npx skills use rohitg00/pro-workflow@bug-capture

指定 Agent (Claude Code)

npx skills add rohitg00/pro-workflow --skill bug-capture -a claude-code -g -y

安装 repo 全部 skill

npx skills add rohitg00/pro-workflow --all -g -y

预览 repo 内 skill

npx skills add rohitg00/pro-workflow --list

SKILL.md

Frontmatter
{
    "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.

Version History

  • 7f7209d Current 2026-07-24 11:39

Same Skill Collection

skills/agent-teams/SKILL.md
skills/auto-setup/SKILL.md
skills/batch-orchestration/SKILL.md
skills/compact-guard/SKILL.md
skills/context-engineering/SKILL.md
skills/context-optimizer/SKILL.md
skills/cost-tracker/SKILL.md
skills/design-engineering/SKILL.md
skills/deslop/SKILL.md
skills/domain-modeling/SKILL.md
skills/file-watcher/SKILL.md
skills/improve-architecture/SKILL.md
skills/insights/SKILL.md
skills/learn-rule/SKILL.md
skills/llm-council/SKILL.md
skills/llm-gate/SKILL.md
skills/mcp-audit/SKILL.md
skills/orchestrate/SKILL.md
skills/parallel-worktrees/SKILL.md
skills/permission-tuner/SKILL.md
skills/plan-interrogate/SKILL.md
skills/replay-learnings/SKILL.md
skills/safe-mode/SKILL.md
skills/session-handoff/SKILL.md
skills/skill-router/SKILL.md
skills/smart-commit/SKILL.md
skills/sprint-status/SKILL.md
skills/tdd/SKILL.md
skills/thoroughness-scoring/SKILL.md
skills/token-efficiency/SKILL.md
skills/wiki-builder/SKILL.md
skills/wiki-query/SKILL.md
skills/wiki-research-loop/SKILL.md
skills/wiki-viewer/SKILL.md
skills/wrap-up/SKILL.md
skills/writing-guidelines/SKILL.md
skills/pro-workflow/SKILL.md
skills/skill-optimizer/SKILL.md
skills/survey-generator/SKILL.md

Metadata

Files
0
Version
7f7209d
Hash
280ee958
Indexed
2026-07-24 11:39

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 16:28
浙ICP备14020137号-1 $Carte des visiteurs$