Bug report

From diegopacheco/ai-playground · View interactive version

Bug report is an AI agent skill from the GitHub repository diegopacheco/ai-playground. Render a self-contained light-theme website with three tabs (bugs found, bug videos, reproduction steps) from a bug-recording output directory. Use when the user runs /bug-report or asks to turn recorded bug findings into a report site.

How to use this skill

Skill file

bug-report

Turn a /bug-recording output directory into a static report site.

Inputs

videos/, and screenshots/). Default: ./bug-recording-output.

Preconditions

/bug-recording first and stop loudly.

Run

node report.mjs <findings-dir> [site-dir] [--serve] [--port=7800]

The script reads findings.json, copies each .mp4 and screenshot into the

site's assets/, and writes index.html. With --serve it then serves the

site over HTTP (with byte-range support so videos seek) and prints the URL.

The site

A single self-contained HTML file (inline CSS and JS, light theme) with three

tabs:

  1. Bugs Found — a card per bug: class badge, description, route, component,

and a one-line evidence summary.

  1. Videos — the recorded .mp4 per bug, selectable from a list, each using

the captured screenshot as its poster.

  1. Reproduction Steps — the ordered navigate / click / observe steps

per bug, reconstructed from the captured action log and sampled frames.

After running

is not served by the target app's dev server, so do not load it from the

app's port (that returns 404). Either open the file directly:

```

open bug-report-site/index.html

```

or serve it on its own port and open the printed URL:

```

node report.mjs <findings-dir> --serve --port=7800

```

the sampled frames/*.png) before regenerating the site.

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.