agentleFS
poorvith-mppoorvith-mp/skills-agents/skills/n8n/SKILL.md

n8n

Skill0 starsChanged 2 months agoMITView on GitHub

Build n8n workflows: node wiring, credentials, error branches and scheduling. Use when building visual workflow automations, webhooks, or nodes in n8n.

  • Installs packages

25 other projects use a version of this, 8 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use albert-dm, new-client-system and 9 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.
  • yawningwhaleAISkill

    albert-dm

    Reply to DMs and messages the way Albert would. Use when the user asks "how would Albert reply to this", pastes a conversation and wants an Albert-style response, or asks you to draft/write a DM in Albert's voice. Albert sells AI voice agents / automations to local service businesses (Go High Level, lead follow-up, bookings).

    Also in 5 projects that use this

  • yawningwhaleAISkill

    new-client-system

    Scaffold a new client's full stack — Next.js 16 frontend dashboard + Trigger.dev backend worker — from the Shiney automations template. Use when the user says "new client", "onboard a client", "scaffold a client system", "set up <client-name>", or wants to start a fresh frontend+backend project styled and structured like the Shiney automations dashboard. Produces structure only; no automations are scaffolded — those are added later.

    Also in 6 projects that use this

  • huyvpSkill

    cost-reducer

    Reduce cloud, infrastructure, and operational costs while maintaining performance. Use when writing database queries, configuring cloud resources, optimizing bundles, setting up caching, choosing between services, sizing instances, configuring CDN, managing storage, or reviewing code for cost inefficiencies. Covers AWS/GCP/Vercel pricing, database optimization, serverless tuning, image pipelines, observability costs, and FinOps practices.

    Also in 10 projects that use this

  • ffsshhttiikkSkill

    scalability

    Core foundational concepts and principles for Scalability

    Also in 10 projects that use this

  • RoxenRobloxSkill

    youtube-broll-maker

    Generate 10-second B-roll footage of yourself doing an action using the Higgsfield MCP (Seedance 2.0). Upload one photo of yourself, describe the action ("typing on laptop", "walking at night"), pick from 5 cinematography style presets, get an MP4. Use when the user wants B-roll, cutaway footage, "me doing X" video, YouTube B-roll, or any image-to-video of themselves performing an action.

    Also in 3 projects that use this

  • RoxenRobloxSkill

    youtube-popup-graphic

    Generate stunning Adobe-Premiere-Pro-style UI popup motion graphics for YouTube videos using the Higgsfield MCP. The user uploads a style reference image (any UI mockup, dashboard, glass card, design they love), names one skill/feature/item, and the skill produces an MP4 of a single card popping in styled to match the reference. Use when the user wants a "popup graphic", "popup animation", "card popup", "skill popup", "AE/Premiere-style animation", "stunning UI animation for YouTube", or says "make me a popup for <skill/feature/item> styled like <reference>".

    Also in 3 projects that use this

  • +4 more from yawningwhaleAI

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the detailed reference files for comprehensive patterns:

    line 12
  2. Very specific:

    Use $ARGUMENTS to understand what the user wants to build.

    line 135
  3. Distinctive:

    Use clear headings and bullet lists where helpful.

    line 141
  4. Distinctive:

    Call out assumptions and open questions at the end.

    line 142
  5. Distinctive:

    NEVER weaken or skip a failing test to make a change land.

    line 154
  6. Distinctive:

    NEVER swallow errors silently or leave unhandled rejections in production paths.

    line 155
  7. Distinctive:

    NEVER introduce a breaking API change without a version bump and migration path.

    line 156

“Common” is measured: kept by at least 6 in 10 of the 21 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

N8n

You are an expert at building production-grade n8n workflow automations, custom nodes, and integrations. Read the detailed reference files for comprehensive patterns:

  • references/workflow-reference.md — Workflow design, triggers, flow control, error handling, expressions, data transformation
  • references/custom-nodes-reference.md — Building custom nodes with TypeScript, declarative vs programmatic, credentials, testing
  • references/api-reference.md — n8n REST API for programmatic workflow management, execution control, credential operations

Setup Checklist

Self-Hosted (Docker)

docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n

Custom Node Development

npx n8n-node-dev new        # scaffold a new node
npm link                     # link node to local n8n
n8n start                   # start with custom nodes loaded

npm (Global)

npm install n8n -g
n8n start

Core Patterns

Workflow JSON Structure

{
  "name": "My Workflow",
  "nodes": [
    {
      "parameters": {},
      "id": "unique-id",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [250, 300]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [[{ "node": "Next Node", "type": "main", "index": 0 }]]
    }
  },
  "settings": { "executionOrder": "v1" }
}

Common Trigger Types

TriggerUse Case
n8n-nodes-base.webhookHTTP requests, API endpoints
n8n-nodes-base.scheduleTriggerCron-based recurring tasks
n8n-nodes-base.formTriggerUser form submissions
n8n-nodes-base.emailReadImapIncoming emails
n8n-nodes-base.workflowTriggerCalled by other workflows

Expression Syntax

{{ $json.fieldName }}                    // current node data
{{ $input.first().json.field }}          // first input item
{{ $('NodeName').first().json.field }}   // data from specific node
{{ $now.toFormat('yyyy-MM-dd') }}        // Luxon date formatting
{{ $if($json.age > 18, "adult", "minor") }}  // conditional
{{ $jmespath($json, "items[?price > `100`]") }}  // JMESPath query

Error Handling Pattern

{
  "nodes": [
    {
      "name": "Main Task",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "retryOnFail": true,
      "maxTries": 3,
      "waitBetweenTries": 1000
    }
  ]
}

Code Node (JavaScript)

// In a Code node — process all items
const results = [];
for (const item of $input.all()) {
  results.push({
    json: {
      processed: item.json.name.toUpperCase(),
      timestamp: new Date().toISOString(),
    }
  });
}
return results;

Code Node (Python)

# In a Code node — process all items
results = []
for item in _input.all():
    results.append({
        "json": {
            "processed": item.json["name"].upper(),
            "timestamp": str(datetime.now()),
        }
    })
return results

Critical Rules

  1. Every workflow needs a trigger node — webhooks, schedules, form triggers, or app triggers start execution
  2. Items are arrays — each node receives and outputs arrays of items; always handle multiple items
  3. Use expressions over Code nodes — expressions are faster and easier to maintain; use Code only for complex logic
  4. Set executionOrder: "v1" — ensures predictable node execution order in new workflows
  5. Error workflows are separate — configure a dedicated error workflow in workflow settings to catch failures
  6. Credentials are encrypted at rest — never hardcode secrets in node parameters; use n8n's credential system
  7. Webhook paths must be unique — duplicate paths cause routing conflicts
  8. Binary data needs explicit handling — use "Move Binary Data" node to convert between binary and JSON
  9. Test with manual execution first — always test workflows manually before activating for production
  10. Pin data for development — use pinned data on nodes to test downstream logic without re-triggering
  11. Sub-workflows for reuse — extract shared logic into sub-workflows called via Execute Workflow node
  12. Respect rate limits — use the SplitInBatches node and wait nodes when calling rate-limited APIs

Key Node Categories

CategoryNodes
FlowIF, Switch, Merge, SplitInBatches, Loop Over Items
TransformSet, Code, HTML Extract, Markdown, XML, Date & Time
DataHTTP Request, GraphQL, FTP, RSS, Read/Write Files
DeveloperWebhook, Execute Command, Execute Workflow, Function
AIAI Agent, Text Classifier, Summarization Chain, Vector Store
Use $ARGUMENTS to understand what the user wants to build. Read the reference files for detailed patterns before writing code.

Output format

  • Lead with the result the user asked for.
  • Use clear headings and bullet lists where helpful.
  • Call out assumptions and open questions at the end.
  • Stay specific to the n8n workflow; avoid generic filler.

Verification & Quality Checklist

  • Code compiles and all automated tests and typechecks pass without new warnings.
  • Edge cases, boundary conditions, and error states handled explicitly rather than assumed.
  • No hardcoded secrets, credentials, or insecure defaults introduced.
  • Changes are covered by a test that fails without them.

Anti-Patterns & Constraints

  • NEVER weaken or skip a failing test to make a change land.
  • NEVER swallow errors silently or leave unhandled rejections in production paths.
  • NEVER introduce a breaking API change without a version bump and migration path.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.