bug-report

GitHub

将模糊的故障描述转化为结构化、可复现的缺陷报告。包含精确标题、复现步骤、预期与实际结果、环境信息及证据,区分事实与假设,帮助开发者快速定位修复问题。

plugins/pm-qa/skills/bug-report/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

用户要求编写bug报告 用户要求提交缺陷或问题单 用户描述'它坏了'等模糊故障

Install

npx skills add mohitagw15856/pm-claude-skills --skill bug-report -g -y
More Options

Non-standard path

npx skills add https://github.com/mohitagw15856/pm-claude-skills/tree/main/plugins/pm-qa/skills/bug-report -g -y

Use without installing

npx skills use mohitagw15856/pm-claude-skills@bug-report

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill bug-report -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "bug-report",
    "description": "Write a clear, reproducible bug report that gets fixed fast. Use when asked to write a bug report, file a defect, report an issue, or turn 'it's broken' into an actionable ticket. Produces a structured report — a precise title, steps to reproduce, expected vs. actual, environment, severity\/priority, and evidence — so a developer can reproduce and fix it without a back-and-forth."
}

Bug Report Skill

A bug report is only useful if someone else can reproduce it. The best ones are precise: an exact title, numbered steps, what you expected vs. what happened, and the environment it happened in. This skill turns a vague "it's broken" into a ticket a developer can act on immediately — no clarifying round-trips.

Working from a brief

Given "the export button doesn't work", write the full report anyway — infer the likely repro steps, expected behaviour, and environment, marking inferences (confirm). Keep facts (what was observed) separate from guesses (likely cause). Never invent logs/errors; flag them to attach.

Required Inputs

Ask for these only if they aren't already provided (else infer and label):

  • What's wrong — what you did, what happened, and what you expected instead.
  • Steps to reproduce — the exact sequence (and whether it's consistent or intermittent).
  • Environment — device, OS, browser/app version, account/role, and any relevant data state.
  • Evidence — screenshots, a screen recording, console/network errors, logs, request IDs.

Output Format

Bug Report

  • Title — a precise one-liner: what's broken + where + the key condition ("Export to CSV fails for >1,000 rows on Safari").
  • Severity / Priority — impact (blocker/critical/major/minor) and how widespread, kept distinct from urgency.
  • Environment — device/OS/browser+version, app/build version, account/role, region/data as relevant.
  • Steps to reproduce — numbered, exact, starting from a known state; note frequency (always / ~X% / once).
  • Expected result — what should happen.
  • Actual result — what actually happens (the observable failure — error text, wrong value, crash).
  • Evidence — screenshots/recording, console & network errors, logs, request/correlation IDs (listed/attached).
  • Notes (optional) — a workaround, when it started/regressed, and any suspected cause clearly marked as a hypothesis, not fact.

Quality Checks

  • The title is specific enough to identify the bug at a glance
  • Steps reproduce from a known starting state and note frequency (consistent vs. intermittent)
  • Expected vs. actual are both explicit and the actual is the observable failure
  • Environment (versions, role, data) is captured — the usual reason a bug "can't be reproduced"
  • Severity (impact) is separated from priority (urgency)
  • Observed facts are kept separate from suspected cause; evidence is referenced

Anti-Patterns

  • Do not write "doesn't work" — state the exact action, expectation, and observed failure
  • Do not omit environment/version — it's the top reason bugs aren't reproducible
  • Do not merge expected and actual into one sentence — keep them distinct
  • Do not present a guessed cause as fact — label hypotheses
  • Do not bundle several bugs in one report — one defect per ticket

Based On

Defect-reporting practice — reproducibility-first reports with precise titles, expected/actual separation, environment capture, and impact/urgency distinction.

Version History

  • a38bc30 Current 2026-07-05 11:25

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md
exports/openclaw/brief-builder/SKILL.md
exports/openclaw/briefing-note/SKILL.md
exports/openclaw/budget-builder/SKILL.md
exports/openclaw/budget-variance-analysis/SKILL.md
exports/openclaw/bug-diagnosis/SKILL.md
exports/openclaw/bug-report/SKILL.md

Metadata

Files
0
Version
471c606
Hash
6d8d4b01
Indexed
2026-07-05 11:25

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-29 21:47
浙ICP备14020137号-1 $방문자$