ํญ๋ชฉ ๋ด์ฉ
Invoke /bug-report
Aliases /br
Category kobic-development
MCP Servers zenhub
/bug-report โ ์คํฌ๋ฆฐ์ท๋ง ์ฃผ๋ฉด ๋ฒ๊ทธ ๋ฆฌํฌํธ ์๋ ์์ฑ #
ํ๋ง๋๋ก #
์ค๋ฅ ํ๋ฉด์ ์บก์ฒํด์ ๋์ง๋ฉด, ๋ฌด์์ด ์๋ชป๋๋์ง ์์์ ๋ถ์ํ๊ณ ์ ์ ๋ฒ๊ทธ ๋ฆฌํฌํธ์ ์ด์(ZenHub/GitHub)๋ฅผ ์๋์ผ๋ก ๋ง๋ค์ด ์ฃผ๋ ๋ช
๋ น์
๋๋ค.
"์ด ํ๋ฉด ์ด์ํ๋ฐ?"๋ผ๊ณ ์ฌ์ง ํ ์ฅ ๋ณด์ฌ์ฃผ๋ฉด, ์์์ ๋ณด๊ณ ์๋ก ์ ๋ฆฌํด ์ฃผ๋ ๋น์๋ผ๊ณ ์๊ฐํ๋ฉด ๋ฉ๋๋ค.
๋๊ฐยท์ธ์ ์ฐ๋์ #
๋ฒ๊ทธ๋ฅผ ๋ฐ๊ฒฌํด์ ์ด์๋ก ๋ฑ๋กํด์ผ ํ ๋
์คํฌ๋ฆฐ์ท๊ณผ ํจ๊ป ๋ฒ๊ทธ ๋ฆฌํฌํธ๋ฅผ ์์ฑํ๊ณ ์ถ์ ๋
QA(ํ์ง ์ ๊ฒ) ์ค ๋ฐ๊ฒฌํ ๋ฌธ์ ๋ฅผ ๊ธฐ๋ก์ผ๋ก ๋จ๊ธฐ๊ณ ์ถ์ ๋
๋ฌด์์ ํด์ฃผ๋์ #
์ด๋ฏธ์ง ๋ถ์ : ์คํฌ๋ฆฐ์ท ์ ์ค๋ฅ ๋ฉ์์ง, ํ๋ฉด ์ํ, ๊นจ์ง ๋ ์ด์์ ๋ฑ์ ์ฝ์ด ๋
๋๋ค.
์๋ ๋ถ๋ฅ : ๋ฒ๊ทธ ์ข
๋ฅ(UI/๊ธฐ๋ฅ/ํฌ๋์/์ฑ๋ฅ/๋ฐ์ดํฐ)์ ์ฌ๊ฐ๋(๊ธด๊ธ~๋ฎ์)๋ฅผ ์ถ์ฒํฉ๋๋ค.
์ด์ ์๋ ์์ฑ : ZenHub/GitHub์ ์ ๋ชฉยท๋ณธ๋ฌธยท๋ผ๋ฒจ๊น์ง ๊ฐ์ถ ์ด์๋ฅผ ๋ง๋ญ๋๋ค. ์) [Bug] ๊ฒฐ์ : ์ฃผ๋ฌธ ์์ธ๊ฐ ํ์๋์ง ์์
ํํ์ ์ด์ #123
์ํ ์ ๋ฆฌ : ์ฌ๊ฐ๋์ ๋ฐ๋ผ ์ด์๋ฅผ ์ ์ ํ ์งํ ๋จ๊ณ(In Progress / Triage / Backlog)๋ก ์๋ ์ด๋์ํต๋๋ค.
์ด๋ป๊ฒ ์ฐ๋์ #
# ๊ธฐ๋ณธ ( ์ด๋ฏธ์ง + ์ค๋ช
)
/ bug- report / tmp/ error_screenshot. png " ๊ฒฐ์ ์๋ฃ ํ ์ฃผ๋ฌธ ์์ธ๊ฐ ์ ๋ณด์ "
# ํ
์คํธ๋ง์ผ๋ก
/ bug- report " ๋ก๊ทธ์ธ ๋ฒํผ์ ๋๋ฌ๋ ๋ฐ์์ด ์์ "
# ์ฌ๊ฐ๋ ์ง์
/ bug- report -- severity critical " ์ฑ ์์ ์ ํฌ๋์ "
# ๋ฒ๊ทธ ์ข
๋ฅ ์ง์
/ bug- report -- type ui / tmp/ layout. png " ๊ธด ํ
์คํธ์์ ํ๋ฉด์ด ๋์นจ "
# ๋ณด๊ณ ์๋ง ๋ง๋ค๊ณ ์ด์๋ ์์ฑํ์ง ์๊ธฐ
/ bug- report -- no- create " ์ด๊ฑด ํ
์คํธ์ฉ ๋ฒ๊ทธ "
์ค๋ช
(bug_description)์ ๊ผญ ํ์ํ๊ณ , ์ด๋ฏธ์ง๋ ์์ผ๋ฉด ๋ ์ ํํฉ๋๋ค. --severity(์ฌ๊ฐ๋), --type(์ข
๋ฅ),
--no-create(์ด์ ์์ฑ ์๋ต)๋ ์ ํ ์ฌํญ์
๋๋ค.
์์์ ๋ฌด์จ ์ผ์ด ๋ฒ์ด์ง๋์ #
์ด๋ฏธ์ง ๋ถ์ โ ์คํฌ๋ฆฐ์ท์ด ์์ผ๋ฉด ๋จผ์ ์ฝ์ด์ ํ๋ฉด ์ํ์ ์ค๋ฅ ๋ฉ์์ง๋ฅผ ํ์
ํ๊ณ , ๋ฒ๊ทธ ์ข
๋ฅยท์ฌ๊ฐ๋๋ฅผ ์ถ์ ํฉ๋๋ค.
์ ๋ณด ์์ง โ ์ฌํ ๋ฐฉ๋ฒ, ๊ธฐ๋ํ๋ ๊ฒฐ๊ณผ, ํ๊ฒฝ(OSยท๊ธฐ๊ธฐยท์ฑ ๋ฒ์ ) ๋ฑ ๋ถ์กฑํ ์ ๋ณด๋ฅผ ์ฌ์ฉ์์๊ฒ ๋ฌผ์ด๋ด
๋๋ค.
์ด์ ์์ฑ โ ์ ๋ชฉยท๋ณธ๋ฌธยท๋ผ๋ฒจ์ ๊ฐ์ถฐ ZenHub/GitHub ์ด์๋ฅผ ๋ง๋ค๊ณ , ์ฌ๊ฐ๋์ ๋ง๋ ์งํ ๋จ๊ณ๋ก ์ด๋์ํต๋๋ค.
๋ง๋ฌด๋ฆฌ ์๋ด โ ๋ง๋ค์ด์ง ์ด์ ๋ฒํธ์ ํจ๊ป ๋ค์ ๋จ๊ณ์ธ /dev:bugfix(์์ ์์)๋ก ์์ฐ์ค๋ฝ๊ฒ ์ด์ด ์ค๋๋ค.
โ๏ธ ์์ธ ์ต์
ยท์คํ ๋ช
์ธ (๊ฐ๋ฐ์ / AI ์์ด์ ํธ์ฉ) Triggers # When a bug is found and an issue needs to be filed When writing a bug report with screenshots When documenting issues found during QA Context Trigger Pattern # / bug- report [ image_path] [ bug_description] Parameters # Parameter Required Description Example image_pathโ Bug screenshot path /path/to/screenshot.pngbug_descriptionโ
Brief description of the bug "Login button is not working"--severityโ Specify severity critical, high, medium, low--typeโ Specify bug type ui, function, crash, performance, data--no-createโ Report only without issue creation -
Behavioral Flow # Step 1: Image Analysis (when image is provided) # ## Image Analysis
Analyze screenshot using the Read tool:
1 . ** Identify UI state**
- Error dialog displayed
- Empty State screen
- Loading state persisting
- Layout broken
2 . ** Extract text**
- Error messages
- Screen title
- Button text
3 . ** Bug classification inference**
- Automatic bug type classification
- Severity recommendation
- Impact area identification ## Information Gathering
Collect additional information via AskUserQuestion :
1 . ** Reproduction steps** ( required )
- State before bug occurred
- Actions performed
- When bug occurred
2 . ** Expected result** ( required )
- Expected result during normal operation
3 . ** Environment information** ( optional)
- OS version
- Device
- App version
4 . ** Severity confirmation** ( after presenting analysis results)
- ๐ด Critical
- ๐ High
- ๐ก Medium
- ๐ข Low Step 3: ZenHub Issue Creation # ## Issue Creation
Call mcp__zenhub__createGitHubIssue:
1 . ** Title generation**
- Format : `[ Bug ] { screen_name} : { bug_summary} `
- Crash : `[ Crash ] { screen_name} : { crash_situation} `
2 . ** Body creation**
- Use full bug report template from TEMPLATES . md
- Include image analysis results
- Include reproduction steps, expected/ actual results
3 . ** Label assignment**
- `bug` ( default )
- `severity: { level} `
- `area: { affected_area} `
4 . ** Pipeline movement** โ ๋ผ์ด๋ธ ํ์ดํ๋ผ์ธ์ผ๋ก๋ง ๋ผ์ฐํ
( ` Triage `/ `Backlog ` ์ปฌ๋ผ์ ์กด์ฌํ์ง ์์; ์ด๋ฆ์ `getWorkspacePipelinesAndRepositories` ๋ก ๊ฒ์ฆ)
- Critical โ In Progress ( ์ฆ์ ์ฐฉ์)
- High โ New Issues ( ํธ๋ฆฌ์์ง ๋๊ธฐ)
- Medium โ Product Backlog
- Low โ Icebox MCP Integration # Action MCP Tool Purpose Issue creation mcp__zenhub__createGitHubIssueCreate GitHub issue Pipeline movement mcp__zenhub__moveIssueToPipelineManage issue status Label lookup mcp__zenhub__getWorkspacePipelinesAndRepositoriesLabel and pipeline info
Examples # Basic usage (with image) # / bug- report / tmp/ error_screenshot. png " Order details not showing after payment completion " Text only # / bug- report " No response when clicking login button " Specify severity # / bug- report -- severity critical " Crash on app startup " Specify bug type # / bug- report -- type ui / tmp/ layout. png " Overflow on long text " Report only (no issue creation) # / bug- report -- no- create " This is a test bug " Image Analysis Result # โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Image Analysis Result โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ ๐ผ๏ธ Image : / tmp/ screenshot. png โ
โ โ
โ ๐ Detected Issues : โ
โ 1 . Error dialog displayed โ
โ 2 . " Network error " message detected โ
โ โ
โ ๐ท๏ธ Suggested Classification : โ
โ - Type : Function Bug โ
โ - Severity : High โ
โ - Area : Backend / Network โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Issue Creation Complete # โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Bug Report Created โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ ๐ Issue : #123 โ
โ ๐ Title : [ Bug ] Payment : Order details not displayed โ
โ โ
โ ๐ท๏ธ Labels : โ
โ - bug โ
โ - severity: high โ
โ - area: backend โ
โ โ
โ ๐ Pipeline : New Issues โ
โ โ
โ ๐ URL : https: //github.com/coco-de/kobic/issues/123 โ
โ โ
โ ๐ก Next Steps : โ
โ / dev: bugfix 123 # Start fix cycle โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Reference Documents # Skill: ${CLAUDE_PLUGIN_ROOT}/skills/bug-report-template/SKILL.md Reference: ${CLAUDE_PLUGIN_ROOT}/skills/bug-report-template/REFERENCE.md Templates: ${CLAUDE_PLUGIN_ROOT}/skills/bug-report-template/TEMPLATES.md Key Rules # Image-first analysis : If an image is provided, analyze it first to understand contextUser confirmation : Present analysis results for severity and bug type, then confirm with userStructured report : Use templates to maintain consistent formatAutomatic labeling : Automatically assign labels matching bug characteristicsWorkflow integration : Guide to /dev:bugfix after issue creation