agentsclimarketplace

Reproduce bug

Skill yunseo-kim/agent-toolbox/catalog/skills/reproduce-bug

A trusted, curated cross-tool registry for agent components, with end-to-end provenance and automated security vetting of skills, MCP servers, and hooks.

Install
npx -y skills add yunseo-kim/agent-toolbox --skill reproduce-bug

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Systematically reproduce a bug from a ticket or report with a failing regression test, using a structured hypothesis-driven methodology.

The file declares its own license as Sustainable Use License 1.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.9 KB, as published. Nobody here has run it

Bug Reproduction Framework

Given a bug report or ticket context ($ARGUMENTS), systematically reproduce the bug with a failing regression test.

Step 1: Parse Signals

Extract the following from the provided ticket/report context:

  • Error message / stack trace (if provided)
  • Reproduction steps (if provided)
  • Sample data or configuration (if attached)
  • Affected area (module, component, service, API, etc.)
  • Version where it broke / last working version

Step 2: Route to Test Strategy

Based on the affected area, pick the appropriate test layer and pattern:

AreaTest LayerApproach
Business logic / serviceUnit testMock dependencies, test pure logic
API endpointIntegration testHTTP client + test server
Database operationIntegration testTest database + fixtures
UI componentComponent testRender + simulate interaction
CLI commandIntegration testSpawn process + assert output
ConfigurationUnit testLoad config + validate values
End-to-end flowE2E testFull stack + browser/client automation

Adapt the test layer to your project's testing infrastructure. Look for existing test patterns in the codebase and follow them.

Step 3: Locate Source Files

Find the source code for the affected area:

  1. Search for the module/service/component mentioned in the report
  2. Find shared utility files (common location for bugs)
  3. Check for existing test files in the same area
  4. Look at recent git history on affected files (git log --oneline -10 -- <path>)

Step 4: Trace the Code Path

Read the source code and trace the execution path that triggers the bug:

  • Follow the call chain from entry point to the failure
  • Identify the specific line(s) where the bug manifests
  • Note any error handling (or lack thereof) around the bug

Step 5: Form Hypothesis

State a clear, testable hypothesis:

  • "When [input/condition], the code does [wrong thing] because [root cause]"
  • Identify the exact line(s) that need to change
  • Predict what the test output will show

Step 6: Find Test Patterns

Look for existing tests in the same area:

  1. Check test/ or __tests__/ directories near the affected code
  2. Identify which mock/setup patterns they use
  3. Use the same patterns for consistency
  4. If no tests exist, find the closest similar module's tests as a template

Step 7: Write Failing Test

Write a regression test that:

  • Uses the patterns found in Step 6
  • Targets the specific hypothesis from Step 5
  • Includes a comment referencing the ticket/issue ID
  • Asserts the CORRECT behavior (test will fail on current code)
  • Also includes a "happy path" test to prove the setup works

Step 8: Run and Score

Run the test using the project's test runner.

Classify the result:

ConfidenceCriteriaOutput
CONFIRMEDTest fails consistently, failure matches hypothesisReproduction Report
LIKELYTest fails but failure mode differs slightlyReport + caveat
UNCONFIRMEDCannot trigger the failureReport: what was tried
SKIPPEDHit a hard bailout triggerReport: why skipped
ALREADY_FIXEDBug no longer reproduces on current codeReport: when fixed

Step 9: Iterate or Bail

If UNCONFIRMED after first attempt:

  • Revisit hypothesis -- re-read the code path
  • Try a different test approach or layer
  • Maximum 3 attempts before declaring UNCONFIRMED

Hard bailout triggers (stop immediately):

  • Requires real third-party API credentials
  • Race condition / timing-dependent
  • Requires specific cloud/enterprise infrastructure
  • Requires manual UI interaction that cannot be scripted

Output: Reproduction Report

Present findings in this format:


Ticket: [ID] -- [title] Confidence: [CONFIRMED | LIKELY | UNCONFIRMED | SKIPPED | ALREADY_FIXED]

Root Cause

[1-2 sentences explaining the bug mechanism]

Location

FileLinesIssue
path/to/fileXX-YYDescription of the problem

Failing Test

path/to/test/file -- X/Y tests fail:

  1. test name -- [failure description]

Fix Hint

[Pseudocode or description of the fix approach]


Important

  • DO NOT fix the bug -- only reproduce it with a failing test
  • Leave test files in place as evidence (don't commit unless asked)
  • Always redirect build output: command > build.log 2>&1
  • DO NOT look at existing fix PRs -- the goal is to reproduce from signals alone

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.