Reproduce a bug from a Linear ticket with a failing test. Expects the full ticket context (title, description, comments) to be provided as input.
npx skills add https://github.com/n8n-io/n8n --skill n8n:reproduce-bug
Given a Linear ticket context ($ARGUMENTS), systematically reproduce the bug
with a failing regression test.
Extract the following from the provided ticket context:
Based on the affected area, pick the test layer and pattern:
| Area | Test Layer | Pattern | Key Location |
|------|-----------|---------|--------------|
| Node operation | Vitest unit | NodeTestHarness + nock | packages/nodes-base/nodes/*/test/ |
| Node credential | Vitest unit | vitest-mock-extended | packages/nodes-base/nodes/*/test/ |
| Trigger webhook | Vitest unit | mock IHookFunctions + vi.mock GenericFunctions | packages/nodes-base/nodes/*/test/ |
| Binary data | Vitest unit | NodeTestHarness assertBinaryData | packages/core/nodes-testing/ |
| Execution engine | Vitest integration | WorkflowRunner + DI container | packages/cli/src/__tests__/ |
| CLI / API | Vitest integration | setupTestServer + supertest | packages/cli/test/integration/ |
| Config | Vitest unit | GlobalConfig + Container | packages/@n8n/config/src/configs/__tests__/ |
| Editor UI | Vitest | Vue Test Utils + Pinia | packages/frontend/editor-ui/src/**/__tests__/ |
| E2E / Canvas | Playwright | Test containers + composables | packages/testing/playwright/ |
Find the source code for the affected area:
git log --oneline -10 -- <path>)Read the source code and trace the execution path that triggers the bug:
State a clear, testable hypothesis:
Look for existing tests in the same area:
test/ directories near the affected codeWrite a regression test that:
Run the test from the package directory (e.g., cd packages/nodes-base && pnpm test <file>).
Classify the result:
| Confidence | Criteria | Output |
|------------|----------|--------|
| CONFIRMED | Test fails consistently, failure matches hypothesis | Reproduction Report |
| LIKELY | Test fails but failure mode differs slightly | Report + caveat |
| UNCONFIRMED | Cannot trigger the failure | Report: what was tried |
| SKIPPED | Hit a hard bailout trigger | Report: why skipped |
| ALREADY_FIXED | Bug no longer reproduces on current code | Report: when fixed |
If UNCONFIRMED after first attempt:
Hard bailout triggers (stop immediately):
Present findings in this format:
Ticket: [ID] — [title]
Confidence: [CONFIRMED | LIKELY | UNCONFIRMED | SKIPPED | ALREADY_FIXED]
[1-2 sentences explaining the bug mechanism]
| File | Lines | Issue |
|------|-------|-------|
| path/to/file.ts | XX-YY | Description of the problem |
path/to/test/file.test.ts — X/Y tests fail:
test name — [failure description][Pseudocode or description of the fix approach]
pushd packages/nodes-base && pnpm test <file> && popd)pnpm build > build.log 2>&1Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use when implementing any feature or bugfix, before writing implementation code
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.
Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding assays, expression testing, thermostability measurements, enzyme activity assays, or protein sequence optimization. Also use for submitting experiments via API, tracking experiment status, downloading results, optimizing protein sequences for better expression using computational tools (NetSolP, SoluProt, SolubleMPNN, ESM), or managing protein design workflows with wet-lab validation.
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.
Take n8n-io/n8n:reproduce-bug from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.