deploy
Skill18 starsChanged 42 days agoMITView on GitHub
Push a local .workflow.ts to n8n, verify remote state, and live-test (test URL by default; `--activate --prod` runs production test). Use when the user asks to deploy, push or ship an existing .workflow.ts file.
155 other projects use a version of this.
Adopted by
Most recently taken up by
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 8, 2026
- KingKongRobotics/jumpertheir own version, first seen Nov 8, 2026
- stakeme-team/arc-agent-kittheir own version, first seen Nov 8, 2026
- dockhold/mcptheir own version, first seen Nov 8, 2026
- KhaiTrang1995/nexus-kbtheir own version, first seen Nov 8, 2026
- ribato22/vibechecktheir own version, first seen Nov 8, 2026
Used with
Projects with it also use pm-discovery, qa-phase and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ww-w-aiSkillpm-discovery
PM Agent Team - Automated product discovery, strategy, and PRD generation. Runs PM analysis workflow to produce comprehensive PRD before PDCA Plan phase.
Also in 3 projects that use this
ww-w-aiSkillqa-phase
Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.
Also in 3 projects that use this
- +10 more from ww-w-ai
Other versions155 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 155
- ok-oldking/ok-wuthering-waves★ 8.6ksame name
- memovai/mimiclaw★ 5.8ksame name
- KingKongRobotics/jumper★ 3.1ksame name
- jhd3197/ServerKit★ 1.8ksame name
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- microsoft/power-platform-skills★ 1.1ksame name
- jazzyalex/agent-sessions★ 941same name
- awslabs/agent-plugins★ 918same name
- patrickjaja/claude-desktop-extra★ 734same name
145 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- build-stack-v2Skill
- build-workflowSkill
- build-workflow-v2Skill
- check-mcpsSkill
- data-tablesSkill
- feedbackSkill
- find-credentialSkill
- find-projectSkill
- init-repoSkill
- inventorySkill
- mirror-syncSkill
- n8nac-cheatsheetSkill
- n8nac-referenceSkill
- n8n-code-javascriptSkill
- n8n-code-pythonSkill
- n8n-modeSkill
- n8n-orchestration-patternsSkill
- n8n-structured-extractionSkill
- plugin-testingSkill
- pull-schemasSkill
- session-envSkill
- stack-intakeSkill
- sync-credentialsSkill
- test-manualSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 4 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 139 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
If $ARGUMENTS is provided, use it.
- Very specific: line 37
If validation fails → stop and report.
- Very specific: line 48
Read the BLOCK <rule> <node> <message> lines, fix the .workflow.ts, push again.
- Distinctive: line 73
If the user has confirmed they want to discard the remote change:
- Distinctive: line 99
Exit 0: all present → proceed to test
- Very specific: line 130
Only if the user explicitly asked for activation (--activate, or said so in their request).
- Very specific: line 133
If the user passes --activate:
- Very specific: line 148
After a successful push, check whether the workflow uses mcpTrigger:
- Very specific: line 154
If yes, resolve the user-facing URL via the CLI (do not string-concat <host>/workflow/<id>):
- Distinctive: line 175
Always validate before pushing.
- Distinctive: line 178
Never activate or run the production test without an explicit user request — see the gate note at the top.
“Common” is measured: kept by at least 6 in 10 of the 139 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deploy Workflow
Push a local .workflow.ts to n8n via n8nac, verify remote state, run a live test.
Model-invocable, with a user gate on activation. The push itself is guarded fail-closed by the PreToolUse hooks (env-gate, push-gate for drift, push-lint-gate) and lands as a draft — the published version stays live. That is why Claude may run this skill when the user asks to deploy in plain words. Activation and the production test are the irreversible part: run step 8 only when the user explicitly asked for it (
--activate/--prodor "aktivieren" / "activate" in their request). Otherwise stop after step 7 and ask once whether to activate. (Before 5.6.2 the skill carrieddisable-model-invocation: true; CLAUDE.md routed plain-language deploy requests to it anyway, so they were refused.)
Steps
1. Resolve workflow
- File path (e.g.,
workflows/create-lead.workflow.ts) — use directly - Workflow name (e.g.,
create lead) — find matching.workflow.tsinworkflows/
If $ARGUMENTS is provided, use it. Otherwise, ask the user.
2. Validate before push (mandatory)
npx n8nac skills validate workflows/<name>.workflow.ts --strict --jsonIf validation fails → stop and report. Do not push with validation errors. For interpreting
the error (false-positives, expression vs schema errors, auto-sanitization, bulk fixes), consult the
companion n8n-architect skill's Common Mistakes — n8nac's raw validator messages are often terse.
2b. Expect the push-lint gate (runs inside push, fail-closed)
npx n8nac push is wrapped by a PreToolUse hook that compiles the file and refuses the push when
(1) a node type or typeVersion is missing on the running instance, (2) a top-level parameter does
not exist for the node's typeVersion (n8n ignores it silently), or (3) the design lint fails —
no error strategy on a top-level workflow with external calls, continueOnFail without a downstream
error check, unwired error output, orphan node, unbalanced expression, availableInMCP not true.
Read the BLOCK <rule> <node> <message> lines, fix the .workflow.ts, push again. Rules and
fix paths: docs/rules/gates.md. The bypass
(N8N_AUTOPILOT_SKIP_LINT=1) exists for the user, not for the agent.
3. Drift check (mandatory — enforced by push-gate hook)
# Extract workflow id from @workflow({ id: '...' }) in the file
WF_ID=$(grep -oE "id:[[:space:]]*['\"][A-Za-z0-9]{10,}['\"]" workflows/<name>.workflow.ts | head -1 | grep -oE "[A-Za-z0-9]{10,}")
# Refresh remote cache, then read sync status
npx n8nac fetch "$WF_ID"
npx n8nac list --search "$WF_ID" --jsonDecision table:
| status | Action |
TRACKED | Safe to push. Proceed to step 4. |
LOCAL_ONLY | New workflow (no remote yet). Safe to push (no overwrite risk). |
CONFLICT / MODIFIED_BOTH / DIVERGED | STOP. Remote was modified since last pull. To avoid re-typing your edit: cp the local file to <file>.local-bak, run npx n8nac pull "$WF_ID" (remote wins), then diff the backup against the pulled file and re-apply your change as a small patch, then re-validate. NEVER use npx n8nac resolve --mode keep-current without explicit user authorization — the push-gate hook will block it. |
REMOTE_ONLY | Local file references a remote id but no local tracking entry. Run npx n8nac pull "$WF_ID" first. |
ARCHIVED | Read-only. Stop. Tell the user to unarchive via n8n UI or create a new workflow. |
If the user has confirmed they want to discard the remote change:
N8N_AUTOPILOT_ALLOW_LOCAL_WINS=1 npx n8nac push workflows/<name>.workflow.ts --verify4. Push + verify in one call
mcpTrigger check: If the workflow contains
mcpTrigger, the PreToolUse hook (ensure-mcp-trigger-setting.sh) auto-fixesavailableInMCP: false → trueon push and warns when the field is missing entirely — see the warning and patch the source file if needed.
@workflowdescription field (n8nac 1.7.0+): Setdescriptionfor better discoverability inn8nac list+ n8n UI:@workflow({ name: "My Workflow", description: "What it does in one sentence", settings: { ... } })
npx n8nac push workflows/<name>.workflow.ts --verify--verify fetches the workflow after push and validates it against the local schema in one call. If verify fails → re-push.
5. Check credential presence
npx n8nac workflow credential-required <workflowId>- Exit 0: all present → proceed to test
- Exit 1: credentials missing → report which credentials are needed, skip live test
6. Trigger classification + payload inference
npx n8nac test-plan <workflowId> --jsonExtract triggerType, testable, suggestedPayload.
| Trigger | Testable via CLI? | Action |
webhook, chat, form | yes | proceed to live test |
schedule, manual, errorTrigger | no | skip CLI live test → run /n8n-autopilot:test-manual <workflowId> which resolves the UI URL, waits for the execution-id, and inspects the run for you |
7. Live test (test URL — no activation needed)
n8nac test calls the test URL (/webhook-test/) by default.
npx n8nac test <workflowId> --data '<suggestedPayload from step 6>'
# For GET/HEAD webhooks (workflow reads $json.query):
npx n8nac test <workflowId> --query '<suggestedPayload>'- Class A error (exit 0): missing credentials / model → report to user, do not iterate.
- Class B error (exit 1): wiring error → fix → re-validate → re-push (
--verify) → re-test (max 3 cycles).
8. Production test (optional, only with --activate)
Only if the user explicitly asked for activation (--activate, or said so in their request). If
they did not, do not activate — ask once after step 7 whether they want it.
If the user passes --activate:
- Activate the workflow:
npx n8nac workflow activate <workflowId> - Production test:
npx n8nac test <workflowId> --prod --data '<payload>' - On success → workflow stays active.
- On failure → deactivate via
npx n8nac workflow deactivate <workflowId>, report error.
9. mcpTrigger publish notice (manual)
After a successful push, check whether the workflow uses mcpTrigger:
grep -l "mcpTrigger\|n8n-nodes-langchain.mcpTrigger" workflows/<name>.workflow.tsIf yes, resolve the user-facing URL via the CLI (do not string-concat <host>/workflow/<id>):
npx n8nac workflow present <workflowId> --jsonSurface a prominent notice using that URL:
⚠️ MANUAL PUBLISH REQUIRED — mcpTrigger detected
The MCP endpoint will return 404 until the workflow is published.
Open n8n UI: <url from `n8nac workflow present`>
Click: "Publish" buttonn8nac push writes a new draft. The previously-published version stays live, but its MCP endpoint may diverge from the new draft. Each push to an mcpTrigger workflow requires a fresh UI publish — n8nac cannot publish on your behalf.
Safety
- Always validate before pushing.
- Workflows deploy as inactive by default.
n8nac testuses the test URL, no activation needed. --activate+--prodtests against the production webhook URL — use with caution.- Never activate or run the production test without an explicit user request — see the gate note at the top.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

