Catalog
github/bug-receipt

github

bug-receipt

Close bugs and incidents with an auditable BUG RECEIPT and VERIFIED, PARTIAL, or BLOCKED status. Use for defect repair, regression proof, production incidents, and issue closeout.

v1.0Latest
New~1.0kUpdated Aug 12, 2026

Bug Receipt

Mandatory closeout output

For every bug or incident closeout decision, return the complete receipt below as the entire user-facing result, even when the user requests a concise reply or does not name this format. Concision shortens field values; it never removes or renames a row. Do not replace the receipt with prose.

BUG RECEIPT · VERIFIED | PARTIAL | BLOCKED

Problem    <observed defect and intended behavior>
Baseline   <failing interaction or command and decisive result; or not run>
Root cause <proven mechanism; or unproven hypothesis>
Change     <responsible change; or none>
Proof      <supplied or executed check: result; include every decisive layer>
Gaps       <none; or exact missing proof and single next experiment/package>
Source     executed now | supplied | mixed

Use not run, unproven, or none explicitly. Never omit a row to make the receipt look complete.

Establish the evidence boundary

Before editing, record the observed problem, intended behavior, strongest direct check, and evidence source: executed now, supplied, or mixed. Never imply that supplied evidence was executed in the current run.

Reproduce the failure with the narrowest safe check when possible. If reproduction is unavailable, preserve the evidence obtained and cap the result at PARTIAL or BLOCKED.

Trace and repair

  1. Follow the live owner path from input to symptom.
  2. Separate observed facts, bounded inferences, and gaps.
  3. Require a concrete location or runtime transition before naming root cause.
  4. Make the smallest responsible change; avoid unrelated cleanup, retries, silent fallbacks, and fixture-specific exceptions.

Do not convert a plausible patch, stale log, source read, or passing build into proof of the user-visible behavior.

Close the proof loop

Run only checks required by the affected contract:

  • original reproduction or direct acceptance check;
  • nearest negative or regression check;
  • affected build or integration gate;
  • real UI, API, persistence, concurrency, or runtime path when the claim crosses that boundary.

Use these decisive boundaries:

Surface Required direct proof
Logic or failing test Original failing input or focused test now passes
UI behavior Real interaction plus relevant console and network observation
API or integration Request, response, and responsible service behavior
Persistence Write/read or reload round trip through the real owner path
Race or lifecycle Repeated concurrent trigger; zero-or-one success; affected-row and transaction evidence; final invariant
Cross-system blocker One sanitized failing request/response with timestamp or request ID, edge and application logs, and identity-provider logs when the trace reaches that owner

Assign status

  • VERIFIED: observed baseline, concrete cause, responsible change, all declared checks passed, no material gap.
  • PARTIAL: useful evidence exists, but a required proof layer is missing or inconclusive.
  • BLOCKED: a specific external condition prevents reproduction, repair, or proof.

For PARTIAL or BLOCKED, name the single minimal experiment or correlated evidence package that closes the decisive gap. Never invent a command, observation, count, location, or result.

For a machine-readable receipt or CI integration, read references/receipt-contract.md and conform to its JSON fields and status invariants.

When a JSON artifact is requested, start from assets/receipt.template.json, write it to a task-owned path, and validate it with node scripts/validate-receipt.mjs <receipt.json> from this skill directory. Do not commit the generated receipt unless the user requests it.

Source and license

Originally published at https://github.com/lMysticl/bug-receipt under the MIT License.

Files5
5 files · 13.6 KB

Select a file to preview

Overall Score

88/100

Grade

A

Excellent

Safety

92

Quality

87

Clarity

88

Completeness

84

Summary

The "bug-receipt" skill teaches agents how to audit and close bugs and incidents with a formal, machine-readable "Bug Receipt" that enforces evidence-based decision-making. It provides a mandatory output format (with VERIFIED, PARTIAL, or BLOCKED statuses), a structured JSON schema for machine-readable receipts, and detailed guidance on reproducing failures, tracing root causes, establishing proof boundaries, and validating fixes.

Detected Capabilities

file readfile writeJSON validationcommand executionschema validation

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

close bug receiptaudit defect fixverify production incidentgenerate bug closureincident post-mortemregression proofbug status verification

Referenced Domains

External domains referenced in skill content, detected by static analysis.

github.comjson-schema.orglmysticl.github.io

Use Cases

  • Close production incidents with auditable proof
  • Document defect repair with evidence chain
  • Generate regression tests that validate fixes
  • Ensure bug fixes include necessary proof checks
  • Create machine-readable incident closure records
  • Audit software quality by receipt history
  • Enforce reproducibility in bug triage

Quality Notes

  • Skill provides clear, prescriptive guidance on evidence-driven bug closure with explicit status boundaries (VERIFIED, PARTIAL, BLOCKED)
  • Comprehensive table of decisive proof requirements across different surfaces (logic, UI, API, persistence, concurrency) helps agents understand scope
  • Mandatory receipt format prevents incomplete closures and enforces evidence documentation
  • JSON schema with strict validation and status invariants ensures machine-readable receipts meet quality standards
  • Supporting files well-organized: template, schema, validation script, and contract documentation all referenced
  • Edge cases well-addressed: skill explicitly handles unavailable reproduction, unproven hypotheses, and mixed evidence sources
  • Guidance distinguishes between observed facts, bounded inferences, and gaps — helps agents avoid speculation
  • License and upstream source (GitHub) clearly documented
  • No security risks detected; all operations are read/write of local receipts and reference files, no external calls or credentials
Model: claude-haiku-4-5-20251001Analyzed: Aug 12, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use github/bug-receipt in your dev environment

Command Palette

Search for a command to run...