Communitygithub.com

n8n工作流模式 - 来自真实工作流的已证架构模式

来自真实n8n工作流的可靠工作流架构模式。适用于构建新工作流、设计工作流结构、选择工作流模式、规划工作流架构,或涉及Webhook处理、HTTP API集成、数据库操作、AI代理工作流、批量处理或定时任务时参考。

n8n工作流模式 - 来自真实工作流的已证架构模式 是什么?

该技能提供了基于真实n8n工作流的可靠架构模式集合,旨在帮助开发者快速设计、构建和优化工作流。它覆盖了Webhook处理、HTTP API集成、数据库操作、AI代理工作流、批量处理以及定时自动化等多种场景。当用户请求创建、构建或设计n8n工作流,或自动化某个流程、连接不同服务时(即使未明确提及“模式”),都应参考此技能。此外,在优化慢速工作流或提升大数据量处理效率(如节点数量、batchSize、全部项vs逐项处理)时,该技能也能提供实际指导。支持n8n平台,并以易于理解和复用的方式组织模式,减少开发试错成本。

兼容平台~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、批量处理和定时自动化架构。同样适用于优化慢速工作流或加速大数据量处理(节点数量、batchSize、全部项vs逐项处理)。

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.

相关技能