czlonkowski/n8n式構文

n8n式の構文を検証し、一般的なエラーを修正します。式の記述や変数アクセス、ワークフローのトラブルシューティング時に使用します。

n8n式構文 とは?

このスキルは、n8nワークフローエディタ内で使用される式(expression)の構文を検証・修正するための専用ツールです。n8nでは、`{{ }}` 構文を使ってノード間でデータを渡すことが必須であり、構文ミスはワークフローエラーの最も一般的な原因です。本スキルは、`$json` や `$node` 変数へのアクセス、Webhookデータの参照、複雑な式のパフォーマンス評価といった場面で役立ちます。Claude CodeやClineなどのAIエージェントプラットフォームと連携し、エラーメッセージの解析、括弧・引用符の整合性チェック、テンプレートリテラルや三項演算子の適切な使用を支援します。結果として、開発者はデバッグ時間を短縮し、信頼性の高いn8nワークフローを迅速に構築できます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/czlonkowski/n8n-skills/tree/main/skills/n8n-expression-syntax

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

n8n式構文 は何をしますか?

n8n式の構文を検証し、一般的なエラーを修正します。以下のようなケースで使用します:

  • n8n式の記述時
  • {{ }} 構文の使用時
  • $json/$node 変数へのアクセス時
  • 式エラーのトラブルシューティング時
  • ノード間のデータマッピング時
  • ワークフロー内のWebhookデータ参照時

このスキルは、前のノードからのデータを参照するノードフィールドを設定する際に常に使用してください。式はn8nがノード間でデータを渡す方法であり、構文ミスはワークフローエラーの最も一般的な原因です。また、複雑な式がパフォーマンスに悪影響を与えるかどうかを尋ねられた場合にも使用します。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

czlonkowski/n8n-code-javascript

Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with this.helpers / the $helpers global, working with dates using DateTime, troubleshooting Code node errors, choosing between Code node modes, or doing any custom data transformation in n8n. Always use this skill when a workflow needs a Code node — whether for data aggregation, filtering, API calls, format conversion, batch processing logic, or any custom JavaScript. Covers SplitInBatches loop patterns, cross-iteration data, pairedItem, and real-world production patterns. Also use when asked why a Code node or workflow is slow, which execution mode is faster, or how to cut per-item overhead on large datasets. EXCEPTION — for the AI-agent-callable Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode, a tool attached to an AI Agent), use the n8n-code-tool skill instead; it has a different runtime contract.

czlonkowski/n8n-code-python

Write Python code in n8n Code nodes. Use when writing Python in n8n, using _input/_json/_node syntax, working with standard library, or need to understand Python limitations in n8n Code nodes. Use this skill when the user specifically requests Python for an n8n Code node. Note — JavaScript is recommended for 95% of use cases — only use Python when the user explicitly prefers it or the task requires Python-specific standard library capabilities (regex, hashlib, statistics). EXCEPTION — for Python in the AI-agent-callable Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode), use the n8n-code-tool skill instead (input is _query, return must be a string).

czlonkowski/n8n-mcp-tools-expert

Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, managing credentials, auditing instance security, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats, and common patterns. IMPORTANT — Always consult this skill before calling any n8n-mcp tool — it prevents common mistakes like wrong nodeType formats, incorrect parameter structures, and inefficient tool usage. If the user mentions n8n, workflows, nodes, or automation and you have n8n MCP tools available, use this skill first.

czlonkowski/n8n-node-configuration

Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between get_node detail levels, or learning common configuration patterns by node type. Always use this skill when setting up node parameters — it explains which fields are required for each operation, how displayOptions control field visibility, and when to use patchNodeField for surgical edits vs full node updates.

czlonkowski/n8n-validation-expert

Interpret validation errors and guide fixing them. Use when encountering validation errors, validation warnings, false positives, operator structure issues, or need help understanding validation results. Also use when asking about validation profiles, error types, the validation loop process, or auto-fix capabilities. Consult this skill whenever a validate_node or validate_workflow call returns errors or warnings — it knows which warnings are false positives and which errors need real fixes.

czlonkowski/n8n-workflow-patterns

Proven workflow architectural patterns from real n8n workflows. Use when building new workflows, designing workflow structure, choosing workflow patterns, planning workflow architecture, or asking about webhook processing, HTTP API integration, database operations, AI agent workflows, batch processing, or scheduled tasks. Always consult this skill when the user asks to create, build, or design an n8n workflow, automate a process, or connect services — even if they don't explicitly mention 'patterns'. Covers webhook, API, database, AI, batch processing, and scheduled automation architectures. Also use when optimizing a slow workflow or speeding up large-item-count processing (node count, batchSize, all-items vs per-item).

関連スキル