Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

n8n-debugging-official

БесплатноБез исполняемых скриптовНе проверен

Use when an n8n workflow isn't working, errors appear, results don't match what was expected, or the user says "this isn't working." Triggers on errors…

n8n-ioот n8n-io★ 644 звезды на GitHub

Об этом скилле

n8n Debugging

When something breaks, the cause is almost always:

  1. Parameter misconfiguration (wrong value, wrong type, missing field).
  2. Stale assumptions (different version, different behavior than you remember).
  3. Paths misconfigured or misconnected (wrong output index, wrong merge input, missing wire, IF/Switch wired to the wrong branch).
  4. Upstream data stripped (an intermediate node replaced $json with its own output, so downstream $json.x resolves to null even though "it should be there"). Fix: reference the stable upstream node by name ($('Earlier Node').item.json.x).
  5. Item context lost (after Aggregate, Execute Once, or Split Out flows, n8n can't pair .item references deterministically, error reads like "The expression is referencing... multiple matching items"). Fix: Merge node to re-establish context, $input.all().find(...) for explicit lookup, or redesign to keep item correspondence stable (e.g., split into stateless sub-workflows).
  6. Logical errors (the wires are right and the parameters are right, but the workflow does the wrong thing, same as a logic bug in code).
  7. Genuine bug (rare but real).

Diagnose systematically: cheap checks first, deeper investigation only when those fail.

Non-negotiable

Believe the user. "This isn't working" means something isn't behaving as they expect, even if they describe the symptom imprecisely. Don't dismiss with "it should work" or "are you sure you're doing X?". Investigate first: the user is truth about what should happen, execution data and source are truth about what is happening. When you can't find the cause, "I don't know yet" beats a plausible-sounding fabrication.

Strong defaults (cause to cheap check)

Match cause to cheap check, in order of likelihood:

  1. Parameter misconfiguration → re-fetch via get_node_types, compare against get_workflow_details, look for type/value/missing-field mismatches. validate_node_config on the failing node alone returns per-parameter errors directly; faster than eyeballing the diff for nodes with deep / conditional shapes.
  1. Stale assumptions → ask the n8n version, ask when the user last updated the skills plugin, suspect drift if behavior contradicts the skill.
  2. Paths misconfigured or misconnected → inspect the connections object via get_workflow_details. For Merge input mismatches, see n8n-node-configuration-official references/MERGE_NODE.md.
  3. Upstream data stripped → trace $json.x references back through the chain, look for any node that replaces the json with its own output. Common offenders: Aggregate, HTTP-binary, Extract from File, Code in "Run for All Items" mode, branching Merge. Not exhaustive: any node can do this if its output shape doesn't include the upstream fields.
  4. Item context lost → check downstream of any Aggregate / Execute Once / Split Out for .item references, switch to $input.all().find(...) or a Merge anchor.
  5. Logical errors → trace data through get_workflow_execution step by step, compare each node's output vs. expected.
  6. Genuine bug → fall through to reading the n8n source, then GitHub issues, then a workaround.

For external API problems, the upstream service's API docs (not n8n's wrapper) are the truth. Fetch API docs and n8n's source code to debug if required.

Step-by-step walkthrough

When the cheap checks above don't immediately pinpoint the cause, work through these in order.

Step 1: confirm the symptom

Ask:

  • What did they expect?
  • What actually happened?
  • Error message text?
  • When did it last work? What changed since?

Vague ("it's broken") becomes tractable when concrete ("email sends to wrong address" or "workflow returns 500 with empty body").

Step 2: check the execution

get_workflow_execution({ executionId: <execution_id>, workflowId: <workflow_id>, includeData: true })

Look at:

  • Which node failed?
  • What input did it have?
  • What error message? Read carefully. Usually points at the cause.

No execution ID? Ask the user to re-run.

Step 3: re-fetch the workflow

get_workflow_details({ workflowId: <workflow_id> })

Confirm the actual current state. The user might be looking at a different workflow or remembering a stale version.

Compare:

  • Nodes vs. the user's mental model.
  • Connections vs. intent: pull via get_workflow_details and compare the connections object to the SDK code.
  • Credentials vs. expected (per n8n-credentials-and-security-official).
  • Upstream-strip risk: any node between a data source and a downstream $json.x consumer that replaces the json with its own output? Common offenders are HTTP-binary, Extract from File, Aggregate, Code in "Run for All Items" mode, and branching Merge, but any node can do this if its output shape doesn't include the upstream fields. The consumer
Полный SKILL.md на GitHub

Установить n8n-debugging-official в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/FETCHING_N8N_SOURCE.mdreferences/PARAMETER_VERIFICATION.md

FAQ

Что делает скилл n8n-debugging-official?

Use when an n8n workflow isn't working, errors appear, results don't match what was expected, or the user says "this isn't working." Triggers on errors, unexpected output, "it's not working", "why is this happening", "the workflow stopped", failure investigation, or any debugging context.

Как установить скилл n8n-debugging-official?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл n8n-debugging-official запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить n8n-debugging-official с