Bug report writing

From makifbaysal/tasktrooper · View interactive version

Bug report writing is an AI agent skill from the GitHub repository makifbaysal/tasktrooper. Use when any case fails or you reject a criterion - what goes in the review_criterion note, the failed case and the numbered need_revision comment, with severity

How to use this skill

Skill file

Bug Report Writing

A defect's evidence lives in three places, each with its own job — never duplicate the full report into all three:

| Place | Contents |

|---|---|

| Failed case | actual = the observed output, verbatim. evidence = exact command/flow plus frequency, e.g. "3/3". |

| Rejected criterion note | Expected (quote the criterion), actual, reproduction, environment: short SHA, URL/base, width or device, browser/runtime. |

| need_revision comment | A numbered index, one line per defect: 1. [AC2 · case "export rejects >10k rows"] 500 instead of 422 — S2. Keep it inside the 15-line comment budget (concise-board-comments) — the reproduction lives in the criterion note and case evidence, not here. |

What fails the task

A task fails when:

Anything else — taste, polish beyond the floor — is a note on the criterion, never a failure.

Rules

Worked Example

❌ "Export broken" — no repro, no expected, no severity.

✅

Case: export-pagination-10k (failed, 3/3)
actual: HTTP 500, body {"error":"internal"}
evidence: curl -X GET "$BASE/api/export?limit=10001" -H "Authorization: Bearer $TOKEN" — ran 3x, same result

Criterion note (AC2, rejected):
Expected: "requests over the 10,000-row limit return 422 with a clear message" (AC2)
Actual: 500 with no message, see case export-pagination-10k
Repro: curl -X GET "$BASE/api/export?limit=10001" ...
Env: SHA a1b2c3d, http://localhost:5173, desktop 1440

need_revision comment:
1. [AC2 · case "export-pagination-10k"] 500 instead of 422 at limit+1 — S2
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.