reproduce-bug — data-flow reproduce-bug, official, n8n workflow automation, n8n skill, data-flow, ide skills, development, integration-framework, integrations, low-code, Claude Code

v1.0.0
GitHub

About this Skill

Ideal for Debugging Agents requiring systematic bug reproduction capabilities with failing regression tests. Reproduce a bug from a Linear ticket with a failing test. Expects the full ticket context (title, description, comments) to be provided as input.

Related Paths

# Core Topics

n8n-io n8n-io
[177.6k]
[55429]
Updated: 3/5/2026

Agent Capability Analysis

The reproduce-bug skill by n8n-io is an open-source official AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for data-flow, development, integration-framework.

Ideal Agent Persona

Ideal for Debugging Agents requiring systematic bug reproduction capabilities with failing regression tests.

Core Value

Empowers agents to systematically reproduce bugs from Linear tickets using error messages, reproduction steps, and workflow JSON, streamlining the debugging process with version tracking and affected area identification.

Capabilities Granted for reproduce-bug

Automating bug reproduction from Linear tickets
Generating failing regression tests for specific bug reports
Debugging workflow issues using attached JSON data

! Prerequisites & Limits

  • Requires full Linear ticket context as input
  • Limited to bugs with provided error messages or stack traces
  • Needs access to version history for effective reproduction
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

reproduce-bug

Install reproduce-bug, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Bug Reproduction Framework

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

Step 1: Parse Signals

Extract the following from the provided ticket context:

  • Error message / stack trace (if provided)
  • Reproduction steps (if provided)
  • Workflow JSON (if attached)
  • Affected area (node, execution engine, editor, API, config, etc.)
  • Version where it broke / last working version

Step 2: Route to Test Strategy

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

AreaTest LayerPatternKey Location
Node operationJest unitNodeTestHarness + nockpackages/nodes-base/nodes/*/test/
Node credentialJest unitjest-mock-extendedpackages/nodes-base/nodes/*/test/
Trigger webhookJest unitmock IHookFunctions + jest.mock GenericFunctionspackages/nodes-base/nodes/*/test/
Binary dataJest unitNodeTestHarness assertBinaryDatapackages/core/nodes-testing/
Execution engineJest integrationWorkflowRunner + DI containerpackages/cli/src/__tests__/
CLI / APIJest integrationsetupTestServer + supertestpackages/cli/test/integration/
ConfigJest unitGlobalConfig + Containerpackages/@n8n/config/src/__tests__/
Editor UIVitestVue Test Utils + Piniapackages/frontend/editor-ui/src/**/__tests__/
E2E / CanvasPlaywrightTest containers + composablespackages/testing/playwright/

Step 3: Locate Source Files

Find the source code for the affected area:

  1. Search for the node/service/component mentioned in the ticket
  2. Find the GenericFunctions file (common bug location for nodes)
  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/ 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 node/service 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 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 from the package directory (e.g., cd packages/nodes-base && pnpm test <file>).

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 can't 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/file.tsXX-YYDescription of the problem

Failing Test

path/to/test/file.test.ts — 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)
  • Run tests from the package directory (e.g., pushd packages/nodes-base && pnpm test <file> && popd)
  • Always redirect build output: pnpm build > build.log 2>&1
  • DO NOT look at existing fix PRs — the goal is to reproduce from signals alone

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is reproduce-bug?

Ideal for Debugging Agents requiring systematic bug reproduction capabilities with failing regression tests. Reproduce a bug from a Linear ticket with a failing test. Expects the full ticket context (title, description, comments) to be provided as input.

How do I install reproduce-bug?

Run the command: npx killer-skills add n8n-io/n8n/reproduce-bug. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for reproduce-bug?

Key use cases include: Automating bug reproduction from Linear tickets, Generating failing regression tests for specific bug reports, Debugging workflow issues using attached JSON data.

Which IDEs are compatible with reproduce-bug?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for reproduce-bug?

Requires full Linear ticket context as input. Limited to bugs with provided error messages or stack traces. Needs access to version history for effective reproduction.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add n8n-io/n8n/reproduce-bug. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use reproduce-bug immediately in the current project.

Related Skills

Looking for an alternative to reproduce-bug or another official skill for your workflow? Explore these related open-source skills.

View All

flags

Logo of facebook
facebook

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

243.6k
0
Developer

extract-errors

Logo of facebook
facebook

Use when adding new error messages to React, or seeing unknown error code warnings.

243.6k
0
Developer

fix

Logo of facebook
facebook

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

243.6k
0
Developer

flow

Logo of facebook
facebook

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

243.6k
0
Developer