/n8n-skills:n8n-workflow-lifecycle-officialfrom n8n-skills
Guides through the six stages of n8n workflow development: plan, build, validate, test, publish, and handoff. Covers visual layout, node naming, descriptions, validation, testing, and folder/project organization.
Ships in n8n-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
validate_node_config as a side-channel for iteration, debugging, or small single-node edits: clean per-parameter errors without full-graph noise. Not a replacement for validate_workflow in VALIDATE.validate_workflow + get_workflow_details for connections, then have the user verify per-node credentials and create anything you couldn't (missing credentials, folders, etc).test_workflow with prepare_workflow_pin_data; iterate until output matches intent.publish_workflow only after stages 3 and 4 are clean.Skipping a stage produces workflows that look done but break in production, or solve the wrong problem entirely. Three most common skips:
test_workflow before the user has verified credentials per node hits the wrong service or 401s. Get the user-side setup done as part of VALIDATE.validate_workflow on the SDK code, then get_workflow_details after every create/update to check the connections object. Validation alone misses silently dropped wires. validate_node_config is a separate per-node iteration tool, not a replacement for this step.test_workflow auto-pins triggers, credentialed nodes, and HTTP Request nodes. Everything else (Code, Edit Fields, If, Wait, Execute Command, file ops, sub-workflow calls, Data Tables) runs for real. Ask the user before running if any of those would fire user-visible side effects. See references/TESTING.md.test_workflow + prepare_workflow_pin_data. See references/TESTING.md for mocking by trigger type, pinning individual nodes, and the side-effect surface. Looser for internal one-off scripts you watch run.description on create_workflow_from_code. 1-2 sentences capturing what and why. See "Readability" below.validate_workflow runs schema and shape checks: missing parameters, type errors, references to non-existent nodes. It does not catch:
.to()-inside-.add() connection trap (silent dropped wires)onError: 'continueErrorOutput'Validation is necessary but not sufficient. The real gate is:
validate_workflow passes.get_workflow_details returns a connections object that matches your intent.test_workflow produces the right output on representative pinned data.Only then call publish_workflow.
For the full pre-publish checklist, see references/VALIDATION_CHECKLIST.md.
n8n workflows execute sequentially, left-to-right, top-to-bottom. Branches that visually appear parallel on the canvas (fan-out from one source to multiple downstreams) run one after the other, ordered by the target nodes' Y-position on the canvas. There is no automatic concurrency.
Practical consequences:
mode: 'each' and waitForSubWorkflow: false. See n8n-loops-official and n8n-subworkflows-official.This is platform behavior, not an SDK quirk. Don't design fan-outs around assumed parallelism.
Bad names compound: a workflow that's hard to find six months from now gets duplicated.
For full conventions (verb-noun patterns, capitalization, prefixes), read references/NAMING_CONVENTIONS.md. Short version:
Send weekly customer report not Customer report sender.Fetch active customers not Postgres1.Parse RFC2822 date); carry the category in tags (subworkflow, a domain tag, tool), not a name prefix. search_workflows({ tags }) filters on them. See n8n-subworkflows-official references/NAMING_AND_DISCOVERY.md.list_workflow_tags), filters (search_workflows({ tags })), and attaches them (update_workflow addTags/removeTags, auto-creating unknown names). Lowercase, 2-4 per workflow. See references/NAMING_CONVENTIONS.md.Four levers carry the readability load, grouping from 7 boxes on and the other three from about 5 nodes on:
Workflow description: capture the why, including AI-derived context. Two sentences: what it does and why it exists. Most importantly, capture context you had during conversation that won't otherwise survive into the file (the constraint that drove the design, why this approach over the alternative, the user's reason for asking). Otherwise it dies with the chat.
Node groups: the only way to group nodes. Named frames, one per logical step (Validate input, Enrich order, Notify). Organization only, members run inline (reuse/isolation is a sub-workflow's job). Read references/NODE_GROUPS.md before creating or editing any group, and after any save that reported a group problem. The three things to know up front:
update_workflow call. Read the group fields on every create and update, and repair before reporting done.Sticky notes: annotate, don't group. Grouping is the node group's job (above). Stickies carry what a group name can't: a callout, a TODO, a warning. Read references/STICKY_NOTES.md before placing one.
sticky(content, [nodes], { color }) derives the box from the nodes it wraps, after layout. Coordinates guess at a canvas that doesn't exist yet; omitting both is worse, since the fallback centers the note under the whole graph and only dodges other stickies, never nodes. If you can't name the nodes a note is about, it doesn't belong on the canvas.height: 272 for a one-row zone, 464 for a branch fan (add 32 for Message an Agent v2+). Never declare a width. Then, once the canvas is final, widen every zone in one batched update_workflow: x = min(node.x) - 56, width = span + 112. Computed from the nodes, so re-running is harmless, but it's a finishing step, not per-edit.update_workflow has no sticky op. A sticky there is an addNode of n8n-nodes-base.stickyNote with content, width, height, color in parameters; an omitted position means [0, 0].### Title carrying the point, plus one short line. Only the top 64px clears the nodes, so never add height for more text; longer prose goes in node notes or the workflow description. color 1-7 stands for what happens there: green creates or involves a person, red is destructive or irreversible, blue is routing and transformation, gray is documentation. A user preference, then nearby workflows, outrank that.Node notes for non-obvious config. Explain why a workaround exists or a Code node does what it does. Don't annotate obvious nodes.
Plus two notes:
search_workflows + get_workflow_details and mirror the sticky palette, naming, and description style.create_workflow_from_code lays out every node that doesn't carry an explicit position, so omit them and let it. Setting some and not others is the bad case: yours are honored and the rest are laid out around them, which is how nodes end up stacked. update_workflow runs no layout at all, so anything you add sits exactly where you put it.On a registered instance the MCP creates and organizes folders: create_folder, update_folder (rename/move), move_workflows_to_folder, and a folderId on create_workflow_from_code for create-time placement. search_folders resolves names to IDs.
If the user wants a folder that doesn't exist, create it, don't build at the root and report success. If the folder tools are absent, the instance isn't registered: folders are blocked in the UI too, so ask the user to register (free, in Settings) rather than create the folder by hand. No tool deletes a folder, and projects are read-only.
For the full protocol, read references/FOLDER_LIMITATIONS.md.
Each workflow has an availableInMCP flag. The default depends on who created it:
create_workflow_from_code) default to MCP-accessible. No toggle step needed: you can find them via search_workflows and operate on them right away.The #1 case where this bites: the user built a workflow manually in the UI and now wants you to inspect or edit it, but you can't see it. Before assuming it doesn't exist or you're searching the wrong project, ask the user to confirm MCP access is enabled.
Sub-workflows called via MCP: the caller can use them as code-level sub-workflows without the toggle. To invoke as MCP-exposed tools, the toggle is required (and is on by default for MCP-created sub-workflows).
For the full case-by-case guide and user-facing message, read references/MCP_ACCESS_PER_WORKFLOW.md.
There are things the user has to do that you can't, and they need to be done before testing, otherwise the test fires against the wrong credential, hits a missing folder, or 401s. Surface these as a short list during VALIDATE, before TEST:
newCredential('Label') is cosmetic. n8n auto-assigns the most recently edited credential of the right type, which silently picks the wrong one when the user has multiples (prod vs staging Gmail, two API keys). Tell them: "open every node that uses a credential and confirm the right one is selected." See n8n-credentials-and-security-official non-negotiable #2.references/FOLDER_LIMITATIONS.md.references/MCP_ACCESS_PER_WORKFLOW.md.Don't proceed to TEST until these are confirmed done.
After publish_workflow and a clean test, the workflow is technically live, but the user still needs enough context to actually use it in production. Treat this like the freelancer-to-customer handoff: short, structured, and oriented toward how they'll operate it from here.
What to include:
customers table," "responds JSON to the caller," "fires the on-call Slack channel."curl -X POST <url> -d '{...}'," "trigger manually from the UI," "wait until 09:00 UTC for the first scheduled run."Keep it tight: half a dozen bullets, not a wall of text. The user shouldn't have to ask "ok, what now?"
| File | Read when |
|---|---|
references/NAMING_CONVENTIONS.md | Naming a new workflow, sub-workflow, or node |
references/NODE_GROUPS.md | Before creating or editing any node group, or after a save reported a skipped or removed group |
references/STICKY_NOTES.md | About to add, move, or resize a sticky note on either tool |
references/FOLDER_LIMITATIONS.md | User mentions a folder, project structure, or wants workflows organized |
references/MCP_ACCESS_PER_WORKFLOW.md | Building a workflow that you or another agent will call via MCP |
references/VALIDATION_CHECKLIST.md | Just finished a workflow and about to call publish_workflow |
references/REVIEW_CHECKLIST.md | Reviewing or auditing an existing workflow (any age, any author). Severity-tiered findings, distinct from the pre-publish validation checklist |
references/TESTING.md | About to run test_workflow or execute_workflow, mocking trigger input, side-effect protocol |
| Anti-pattern | What goes wrong | Fix |
|---|---|---|
Calling publish_workflow without validating | Broken workflows reach production | Validate, verify connections, then test |
| Creating workflows at root because the requested folder doesn't exist | Workflows get lost, and the user has to drag them manually | Surface the limitation before building |
Generic node names (HTTP Request1, Set2) | Workflows are unreadable a month later | Rename to describe the action |
Missing description on create_workflow_from_code | Workflow invisible in search, no context for maintainers | Always include 1-2 sentences |
| Asking the user to flip the MCP access toggle on a workflow you created via the MCP | Wastes their time, agent-created workflows default to MCP-accessible | Only mention the toggle for UI-created workflows, or when the user wants to revoke MCP access on an agent-created one |
Running test_workflow on a workflow with side-effecty non-pinned downstreams without asking | Real Data Table write, real sub-workflow side effects, real Execute Command output, etc. Triggers + credentialed nodes + HTTP get pinned, nothing else does | Ask first. See references/TESTING.md. |
| No node groups on a canvas over 7 top-level boxes | Reader has to read every node to find what they want | Group each logical step. See references/NODE_GROUPS.md |
Reporting a create or update as done without reading its group fields (skippedGroups on create; skippedOperations / removedGroups on update) | A group op was silently skipped, or an existing group was deleted by an unrelated edit, and the save still looked successful | Check them on every call and repair. See references/NODE_GROUPS.md |
| Sticky note used to fake a group, or sticky-of-every-color | Grouping is the node group's job / color becomes pure noise | Group with a node group; reserve stickies for callouts, one color per category |
Hand-positioned stickies on create_workflow_from_code | Coordinates are chosen before layout runs, so the note lands away from the nodes it describes | Pass the nodes to sticky(content, [nodes]) and let the box be derived. See references/STICKY_NOTES.md |
description: "Sends Slack." | Adds nothing visible from the trigger and Slack node | Include why + AI-derived context: "Sends weekly summary to founders. Replaces manual report that kept getting skipped." |
| Designing fan-out branches as if they execute concurrently | n8n runs fan-out branches sequentially, top-to-bottom by Y-position. Total runtime is the sum of branches, not the max | For real concurrency, dispatch via Execute Workflow with mode: 'each' + waitForSubWorkflow: false. See n8n-subworkflows-official "Fire-and-forget parallelization" |
references/FOLDER_LIMITATIONS.md (opens in a new tab)references/MCP_ACCESS_PER_WORKFLOW.md (opens in a new tab)references/NAMING_CONVENTIONS.md (opens in a new tab)references/NODE_GROUPS.md (opens in a new tab)references/REVIEW_CHECKLIST.md (opens in a new tab)references/STICKY_NOTES.md (opens in a new tab)references/TESTING.md (opens in a new tab)references/VALIDATION_CHECKLIST.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/n8n-agents-officialUse when the user wants an agent, assistant, or bot in n8n, or is building, editing, testing, publishing, or debugging a first-class n8n Agent. Covers choosing an Agent vs a workflow vs the AI Agent node, the Agent MCP tools (create_agent, mutate_agent, validate_agent, call_agent, publish_agent, update_agent_integration), Agent config JSON, tools and approvals, skills, sub-agents, model routing, knowledge files, vector stores, memory and sessions, Slack / Telegram / Discord / Linear / n8n Chat channels, scheduled tasks, the Message an Agent node, and reading Agent sessions and traces. Triggers on "build me an agent", "assistant", "chatbot", "Slack bot", "Telegram bot", "agent skills", "sub-agent", "knowledge base", "agent memory", "session", "Message an Agent", "publish the agent", or any Agent tool call./n8n-ai-nodes-officialUse when building or editing AI inside an n8n workflow: the AI Agent node, Text Classifier, Information Extractor, Sentiment Analysis, Summarization Chain, Basic LLM Chain, embeddings, vector stores, single one-shot LLM calls, or AI media generation (image / audio / video) via the native LangChain provider nodes. Also when a first-class n8n Agent can't do the job: trigger data mapped exactly into tool parameters, or memory shared across workflows. Triggers on any `@n8n/n8n-nodes-langchain.*` node, "AI Agent node", "LLM with tools", "tool calling", "fromAi", "system prompt", "memory window", "structured output", "outputParser", "RAG", "vector store", "embeddings", "classify with AI", "extract fields with LLM", "sentiment analysis", "summarize with LLM", "single LLM call", chat triggers with files, Slack / Discord / Teams / Telegram bot workflows, AI image / video / audio generation, or any multi-turn or one-shot LLM step in a workflow.npx claudepluginhub n8n-io/skills --plugin n8n-skillsOther plugins' skills for the same job