360 Secure SkillHub
360 安全技能中心

N8N EVOL I

该 Skill 是 n8n 相关请求的路由入口,内含生命周期子技能(初始化、环境配置、创建工作流、部署/激活/归档/回同步、锁与队列原语、凭证与变量管理、云函数脚手架、提示词优化、单元测试、调试)以及只读的模式文档和第三方集成参考;配套 Python 助手脚本操作工作区模板与目标实例。

mwamedacen
mwamedacen
热度 50.85
最近更新 2026-05-26 06:16:50
分类:开发依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:代码生成 / API 集成 / 调试排错 / DevOps ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add n8n-evol-i
Metadata
name
n8n-evol-I
description
A harness to help coding agents build, deploy, maintain, and debug multi-workflow n8n-powered automation systems. No lock-in — work from the agent, continue from the n8n UI, hand back to the agent at any time.

n8n-evol-I skill router

This is the entry point. When the user asks anything n8n-related, route to the matching sub-skill.

Mental model

  • The skill package (this directory) is read-only. You never edit files here.
  • The user's project state lives in ${PWD}/n8n-evol-I-workspace/ (created by init.md).
  • Helpers are Python scripts under helpers/. Invoke them with python3 ${CLAUDE_PLUGIN_ROOT}/helpers/<name>.py [args] (plugin mode) or python3 <path-to-harness>/helpers/<name>.py [args] (skill mode).
  • All helpers default to --workspace ${PWD}/n8n-evol-I-workspace. Pass --workspace <path> if the user runs from elsewhere.
  • Agent memory: read N8N-WORKSPACE-MEMORY.md in the workspace at the start of every session; append a dated entry whenever you learn something durable about this project. Full guidance in AGENTS.md (also in the workspace root).

Lifecycle skills (use when the user wants to do X)

Skill When
init.md First-time setup. Creates the workspace at ${PWD}/n8n-evol-I-workspace/.
bootstrap-env.md Configure an environment (dev / staging / prod). Creates env YAML + .env, validates, mints placeholder workflow IDs.
doctor.md Health check. Run before/after major changes.
create-new-workflow.md Author a brand-new workflow.
register-workflow-to-error-handler.md Wire settings.errorWorkflow.
create-lock.md First-time setup for distributed locking (Redis-backed primitives).
copy-primitive.md Copy a single primitive (any) into the workspace. General-purpose; doesn't register.
add-lock-to-workflow.md Wrap a workflow's main flow in lock acquire/release.
add-rate-limit-to-workflow.md Gate a workflow's main flow with a Redis-backed fixed-window rate-limit check.
create-queue.md First-time setup for queue primitive (Redis Streams + atomic-INCR semaphore).
add-queue-publish-to-workflow.md Wrap a workflow with a producer-side XADD call.
add-queue-consumer-to-workflow.md Turn a workflow into a schedule-polled queue consumer with bounded concurrency.
tidy-workflow.md Apply n8n's canvas-layout algorithm to a workflow template to clean up node positions.
deploy.md Deploy one workflow to one env.
activate-single-workflow-in-env.md Activate after deploy.
deactivate-single-workflow-in-env.md Pause triggers (commonly during dev).
archive-workflow.md Retire a deployed workflow (hidden + read-only on the live instance).
unarchive-workflow.md Restore a previously-archived workflow so it accepts updates again.
deploy_all.md Roll out an entire env in tier order.
resync.md Pull live state of one workflow back into its template.
resync_all.md Snapshot a full env back to templates.
dehydrate-workflow.md Convert raw exported JSON into a template.
validate.md Structural REST validation before deploy.
run.md Fire a webhook + assert terminal status.
debug.md Investigate a failing or missing execution — from vague symptom to root-cause with evidence.
deploy-run-assert.md One-shot validate → deploy → run verify.
find-skills.md While authoring, find applicable patterns/integrations.
manage-credentials.md Create or link n8n credentials (Path A from .env.<env> / Path B from existing UI credential).
manage-variables.md Lifecycle for n8n Variables ($vars.* — non-credential runtime values, or secret fallback when $env is blocked).
add-cloud-function.md Scaffold a Python serverless function / cloud function / serverless API under <workspace>/cloud-functions/.
iterate-prompt.md Optimize a prompt against a paired schema + dataset using DSPy.
test.md Run unit tests over n8n Code-node JS and / or cloud-function Python.

Pattern skills (read-only knowledge)

These are reference docs, not action triggers. Read them while authoring.

Integration skills (per-service quirks)

Placeholder syntax (workflow templates)

Templates use {{@type:path}} (preferred form) or the canonical long form {{INTERPOLATE_type:path}}. The two are equivalent — @ is an alias for INTERPOLATE_. Examples below use the @ form.

Type Syntax Source
env {{@env:key.path}} YAML config value (dot notation)
txt {{@txt:relative/path.txt}} Text file in workspace
json {{@json:relative/path.json}} JSON file (stringified)
html {{@html:relative/path.html}} HTML file
js {{@js:relative/path.js}} JavaScript file
py {{@py:relative/path.py}} Python file (Code-node language: python)
uuid {{@uuid:identifier}} Fresh UUID v4 (consistent within one hydration)