Communitygithub.com

czlonkowski/n8n-工作流程模式

來自真實n8n工作流程的經實證的工作流程架構模式。用於建立新工作流程、設計工作流程結構、選擇流程模式、規劃架構,或詢問關於Webhook處理、HTTP API整合、資料庫操作、AI代理工作流程、批次處理或排程任務時。

n8n-工作流程模式 是什麼?

這個技能提供了一組經過驗證的n8n工作流程架構模式,這些模式源自實際的n8n工作流程實作。對於正在建構新工作流程、設計其結構、選擇適當模式或規劃整體架構的開發者與AI代理使用者而言,此技能極具價值。它涵蓋了Webhook處理、HTTP API整合、資料庫操作、AI代理工作流程、批次處理及排程自動化等多種常見情境。當使用者要求建立、建構或設計n8n工作流程、自動化流程或連接服務時,應始終諮詢此技能,即使他們沒有明確提到「模式」一詞。此外,在優化執行緩慢的工作流程或加速處理大量項目(如節點數量、批次大小、全部項目與逐項處理)時,亦應使用此技能。支援的平台包括n8n,以及透過其文件結構與設計原則相容的AI編碼工具如Claude Code、Cursor和Codex。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/czlonkowski/n8n-skills/tree/main/skills/n8n-workflow-patterns

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

n8n-工作流程模式 是做什麼的?

來自真實n8n工作流程的經實證的工作流程架構模式。用於建立新工作流程、設計工作流程結構、選擇流程模式、規劃架構,或詢問關於Webhook處理、HTTP API整合、資料庫操作、AI代理工作流程、批次處理或排程任務時。當使用者要求建立、建構或設計n8n工作流程、自動化流程或連接服務時——即使他們沒有明確提到「模式」——應始終諮詢此技能。涵蓋Webhook、API、資料庫、AI、批次處理以及排程自動化架構。亦用於優化執行緩慢的工作流程或加速處理大量項目(節點數量、批次大小、全部項目與逐項處理)。

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-expression-syntax

Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, mapping data between nodes, or referencing webhook data in workflows. Use this skill whenever configuring node fields that reference data from previous nodes — expressions are how n8n passes data between nodes, and getting the syntax wrong is the most common source of workflow errors. Also use when asked whether a complex expression hurts performance.

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.

相關技能