agentleFS
chatquillchatquill/claude-code-websites/.claude/skills/bug-report/SKILL.md

bug-report

Skill1 starsChanged 24 days agoMITView on GitHub

Writes a structured, reproducible bug report in production/bugs/BUG-NNN: environment, steps, expected vs actual, evidence (console, network, logs, screenshots), severity and suspected area. Can also draft (never file) an issue for an upstream library or vendor. Use when something is broken, a test or audit finds a defect, or a user reports a problem.

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-engine, team-audio and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    setup-engine

    Configure the project's game engine and version. Pins the engine in CLAUDE.md, detects knowledge gaps, and populates engine reference docs via WebSearch when the version is beyond the LLM's training data.

    Also in 14 projects that use this

  • CoralGameSkill

    team-audio

    Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.

    Also in 14 projects that use this

  • lilangMaxSkill

    asset-spec

    Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.

    Also in 11 projects that use this

  • lilangMaxSkill

    create-control-manifest

    After architecture is complete, produces a flat actionable rules sheet for programmers — what you must do, what you must never do, per system and per layer. Extracted from all Accepted ADRs, technical preferences, and engine reference docs. More immediately actionable than ADRs (which explain why).

    Also in 11 projects that use this

  • +3 more from CoralGame
  • +2 more from lilangMax

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 36 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ask for whatever is missing (one question at a time, only what matters): where (URL/route, environment: local/preview/production, …

    line 26
  2. Very specific:

    Use the bug-report template: title, ID, severity, environment, steps, expected, actual, evidence, suspected area, regression-test …

    line 53

“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Bug Report

Turns "it's broken" into a report someone can reproduce and fix, saved to production/bugs/BUG-NNN-<slug>.md. It does not fix the bug (that is /hotfix or a story) and it never files issues in third-party repositories: upstream reports are drafts the user submits.

Inputs

  • The user's description, a failing test, an audit finding, or an error-tracking event
  • bash .claude/scripts/next-number.sh production/bugs BUG for the ID

Phases

Phase 1: Gather

Ask for whatever is missing (one question at a time, only what matters): where (URL/route, environment: local/preview/production, browser/device, account role), what happened, what was expected, how often, since when. Never ask the user to paste secrets or customers' personal data; redact them if pasted.

Phase 2: Reproduce

Try to reproduce: locally, via the failing test, or with Playwright (capture console errors, failed requests, a trace). Record minimal steps. If it does not reproduce, say so and note what was tried.

Phase 3: Locate (light)

Grep for the error message and the route's handler/component; check git log -p --since=<when> -- <paths> for recent changes. Name the suspected area and owner agent, without claiming a root cause that was not proven.

Phase 4: Classify

Severity: S1 data loss, security, payments or the core journey broken for everyone; S2 a key feature broken or a workaround is painful; S3 minor feature or cosmetic with an easy workaround; S4 trivial. Security bugs are marked confidential and summarised without exploit detail.

Phase 5: Write

Use the bug-report template: title, ID, severity, environment, steps, expected, actual, evidence, suspected area, regression-test requirement (the test that will prove the fix). Ask "May I write this to production/bugs/BUG-NNN-<slug>.md?"

Phase 6: Upstream (only if the cause is a dependency)

Draft an issue for the library/vendor (minimal repro, versions, expected vs actual) in the bug file under "Upstream draft". Tell the user it is a draft for them to submit.

Output

production/bugs/BUG-NNN-<slug>.md (template: .claude/docs/templates/bug-report.md).

Next step

/bug-triage; for S1 on production, /incident and /hotfix.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.