
N8n Code Python
作者 czlonkowski19cd793f4789無授權條款6.3K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 週前更新
Write Python in n8n Code nodes (native Python, `language` pythonNative, n8n 2.x). Use when the user explicitly wants Python in a Code node, when migrating old Pyodide/"Python (Beta)" code that used _input/_json/_node/_now, or when a Python Code node fails with NameError, "Security violations detected", "Import of standard library module … is disallowed", "__build_class__ not found", "A 'json' property isn't a dictionary", or "Python runner unavailable". Covers the only two variables (_items/_item), dict-only access, imports blocked by default, the sandbox's denied builtins, accepted return shapes, and how errors interact with onError. JavaScript is the default for Code nodes — native Python has no n8n helpers and, by default, no imports. 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).
- 19cd793f4789目前提交 19cd793發布於 2026年10月8日
來源與署名
來源:czlonkowski/n8n-skills位於skills/n8n-code-python提交19cd793
授權條款: 無授權條款
內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。
更多來自 czlonkowski/n8n-skills 的技能

Using N8n Mcp Skills
czlonkowski
將 n8n 工作流任務導向對應的專門技能,並說明 n8n-mcp 工具集。

N8n Validation Expert
czlonkowski
指導解讀並修正 n8n 工作流程驗證錯誤、警告與誤判。

N8n Subworkflows
czlonkowski
指導建立可重複使用、可組合的 n8n 子工作流,包含具型別的輸入、清楚的契約與正確的呼叫模式。

N8n Multi Instance
czlonkowski
Use when an n8n-mcp account targets more than one n8n instance — i.e. the `n8n_instances` tool is available, the user mentions multiple n8n instances or environments (prod vs staging, several teams or clients), a workflow / datatable / credential / execution call returns an unexpected NOT_FOUND or reads data you don't recognize, or a credential create/update/delete is refused with an `INSTANCE_AMBIGUOUS` error. Covers choosing and switching which instance this MCP session targets, verifying the target before high-stakes work — credential writes above all — and recovering from misroutes and ambiguous-write fail-closes. Always consult this skill before operating on a specific instance, before any credential create/update/delete on a multi-instance account, or when a call hits the wrong/empty data or an `INSTANCE_AMBIGUOUS` error.

N8n Mcp Tools Expert
czlonkowski
指導代理正確使用 n8n-mcp MCP 工具來搜尋節點、驗證設定並管理工作流程。

N8n Expression Syntax
czlonkowski
指導撰寫與除錯 n8n 表達式,涵蓋 {{}} 語法、$json/$node 變數以及 $jmespath 查詢。
更多Software Development技能

Playground
anthropics
建立自成一體的互動式 HTML 遊樂場,包含控制項、即時預覽與可複製的提示詞輸出。

M5 Onboard
anthropics
透過 USB 偵測 M5Stack ESP32 開發板,燒錄 UIFlow 2.0 韌體並安裝 MicroPython 應用程式套件。

Cardputer Buddy
anthropics
指導迭代 Cardputer-Adv 的 MicroPython 應用程式套件:新增應用程式、透過 USB 序列埠推送檔案、查看日誌並執行 REPL 指令。

Web Design Guidelines
vercel-labs
依據從遠端來源取得的 Web Interface Guidelines 審查 UI 程式碼,並以 file:line 形式回報問題。

Vercel React Native Skills
vercel-labs
React Native 與 Expo 最佳實務規則,涵蓋清單效能、動畫、導覽、UI 模式、狀態與 monorepo 設定。

Vercel React Best Practices
vercel-labs
Vercel 的 React 與 Next.js 效能指南,以 70 條規則的形式用於撰寫、審查與重構程式碼。