Skip to content

abbibo/N8N-Workflow-Builder-Agent-skills-N8N

n8n-agent-skill-system

Verified

Primary engineering skill for designing, generating, validating, and delivering complete, importable, production-ready n8n workflows using Antigravity and Agentic IDEs. Implements 131 automated validation rules, comprehensive node catalogs, Luxon DateTime verification, AI agent architectures, and modular subworkflows.

templates/scheduled-db-sync.json

View on GitHub
{
  "name": "Scheduled Database Health & Sync Pipeline",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 6
            }
          ]
        }
      },
      "id": "22222222-2222-4222-8222-222222222201",
      "name": "Every 6 Hours",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "SELECT id, email, status, updated_at FROM users WHERE status = 'pending_activation' AND updated_at < NOW() - INTERVAL '24 hours';"
      },
      "id": "22222222-2222-4222-8222-222222222202",
      "name": "Query Stale Users",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.5,
      "position": [
        460,
        300
      ],
      "credentials": {
        "postgres": {
          "id": "postgres-prod-cred",
          "name": "PostgreSQL Production DB"
        }
      }
    },
    {
      "parameters": {
        "jsCode": "const items = $input.all();\\nreturn [{\\n  json: {\\n    staleCount: items.length,\\n    staleUserIds: items.map(i => i.json.id),\\n    checkedAt: new Date().toISOString()\\n  }\\n}];"
      },
      "id": "22222222-2222-4222-8222-222222222203",
      "name": "Summarize Records",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        680,
        300
      ]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "cond-count",
              "leftValue": "={{ $json.staleCount }}",
              "rightValue": 0,
              "operator": {
                "type": "number",
                "operation": "gt"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "22222222-2222-4222-8222-222222222204",
      "name": "Check If Stale Users Exist",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        900,
        300
      ]
    },
    {
      "parameters": {
        "select": "channel",
        "channelId": {
          "__rl": true,
          "value": "C012345678",
          "mode": "id"
        },
        "text": "=\u26a0\ufe0f *Alert: Found {{ $json.staleCount }} stale unactivated users* during scheduled check at {{ $now.toFormat('yyyy-MM-dd HH:mm:ss') }}.",
        "otherOptions": {}
      },
      "id": "22222222-2222-4222-8222-222222222205",
      "name": "Slack Alert",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.2,
      "position": [
        1120,
        200
      ],
      "credentials": {
        "slackApi": {
          "id": "slack-bot-cred",
          "name": "Slack Bot Token"
        }
      }
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "log-1",
              "name": "log",
              "value": "=All users clean at {{ $now.toFormat('yyyy-MM-dd HH:mm') }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "22222222-2222-4222-8222-222222222206",
      "name": "Log All Clean",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        1120,
        400
      ]
    }
  ],
  "connections": {
    "Every 6 Hours": {
      "main": [
        [
          {
            "node": "Query Stale Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Query Stale Users": {
      "main": [
        [
          {
            "node": "Summarize Records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Records": {
      "main": [
        [
          {
            "node": "Check If Stale Users Exist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check If Stale Users Exist": {
      "main": [
        [
          {
            "node": "Slack Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log All Clean",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall