Workflow Architectのロゴ

Workflow Architect

コミュニティ
masteranime
workflow-architect

Design production-grade n8n workflows from requirements. Use this skill whenever the user wants to build, design, architect, or plan an n8n workflow or automation — including phrases like "build me a workflow", "design an automation", "create an n8n flow", "how should I structure this in n8n", or any request involving connecting services (webhooks, APIs, databases, LLMs, email, WhatsApp, Stripe, Google Sheets, etc.) through n8n. Also use when the user describes a business process and wants it automated. Always use this skill before generating n8n workflow JSON or recommending node structures — do not rely on memory of n8n node names or expression syntax.

概要

公開者masteranime
リポジトリn8n-claude-skills
スキル名workflow-architect
スター
34
フォーク
8
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    masteranimeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルWorkflow ArchitectをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/masteranime/n8n-claude-skills/tree/main/skills/workflow-architect
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/masteranime/n8n-claude-skills.git /tmp/n8n-claude-skills
mkdir -p .claude/skills
cp -r /tmp/n8n-claude-skills/skills/workflow-architect .claude/skills/workflow-architect
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでWorkflow Architectを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にWorkflow Architectを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Workflow Architectは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

n8n Workflow Architect

You are designing a production n8n workflow, not a demo. The workflow must survive real data, real failures, and real volume.

Core principles (apply every time)

  1. Real node names, not guesses. n8n is strict about capitalization and spacing. Use Google Sheets not Googlesheets. HTTP Request not HttpRequest. Webhook not webhook trigger. If unsure, say so — don't invent.

  2. Expression syntax is ={{ $json.field }}. The leading = marks the whole field as an expression. Without it, n8n treats the value as a literal string. This is the #1 hallucination source.

  3. Every external call needs an error branch. Wrap API calls in an IF or use continueOnFail: true + a downstream IF that checks {{ $json.error }}. Never assume third parties don't fail.

  4. Idempotency by default. If the workflow could be retriggered (webhook, cron, polling), include a checkpoint — a MySQL/Postgres lookup on a natural key, or a Google Sheets row check. Reference the mysql-checkpointing skill for the pattern.

  5. Sub-workflows for reuse. If logic exceeds ~8 nodes or is called from multiple places (e.g., error handling, notifications), extract into an Execute Workflow sub-workflow.

Workflow design process

Follow these steps in order. Skipping steps produces demo-quality output.

Step 1: Clarify the trigger

Ask (or infer) exactly ONE trigger type:

TriggerUse when
WebhookExternal system pushes events (Stripe, Meta, custom APIs)
Schedule TriggerRecurring jobs (daily reports, hourly polls)
Manual TriggerAdmin-triggered, testing
Form TriggerUser-facing intake
Chat TriggerConversational agents
Execute Workflow TriggerCalled by another workflow

Webhooks in production need: signature verification (HMAC), idempotency key extraction, and a 200 response within 3s (use Respond to Webhook early, process async).

Step 2: Map the happy path

Draft the node sequence as a numbered list BEFORE writing JSON. Each node gets:

  • Node type (exact n8n name)
  • Purpose (one sentence)
  • Key config (the one or two parameters that matter)

Example:

1. Webhook (POST /stripe-events) — receives Stripe events
2. Code — verify HMAC signature against STRIPE_SIGNING_SECRET header
3. IF — branch on signature valid
4. Respond to Webhook — return 200 immediately (no payload)
5. MySQL — SELECT from processed_webhooks WHERE event_id = {{ $('Webhook').item.json.body.id }}
...

Step 3: Add error paths

For EACH external call node, answer:

  • What failure modes exist? (timeout, 4xx, 5xx, rate limit, malformed response)
  • What's the recovery? (retry with backoff, fallback vendor, dead-letter queue, alert)

Common patterns:

  • Retry with backoff: Wait node (exponential: 2^n seconds) → loop back via Execute Workflow calling itself with a retry counter
  • Fallback vendor: IF on error → alternative vendor node (e.g., WhatsApp fails → Twilio SMS)
  • Dead letter: Error → MySQL insert into failed_jobs table with payload + error message

Step 4: Wire the LLM steps correctly

If using LLMs (Claude, OpenAI, Groq), reference the chain-llm-pattern skill for multi-step reasoning. Key rules:

  • Use the LangChain nodes (AI Agent, Basic LLM Chain, Information Extractor) for structured outputs, NOT raw HTTP Request to the LLM API — the LangChain nodes handle JSON parsing, retries, and token accounting.
  • For JSON outputs, use Information Extractor with an explicit schema, not "please return JSON" in a system prompt.
  • Set maxTokens explicitly — n8n defaults can silently truncate.
  • Pin an example input during development (right-click node → "Pin Data") so downstream nodes have stable schemas to build against.

Step 5: Output

Produce the workflow as valid n8n workflow JSON. Structure:

json
{
  "name": "Workflow Name",
  "nodes": [...],
  "connections": {...},
  "settings": { "executionOrder": "v1" }
}

Every node needs id (UUID), name (unique in workflow), type (exact n8n type), typeVersion (integer), position ([x, y]), and parameters (node-specific config).

Use typeVersion: 1 as a safe default unless you know a newer version is required.

For connections, main is the default output — branching nodes (IF, Switch) have multiple output indices.

If the user asked for a description rather than importable JSON, produce a clean numbered list matching Step 2 format and offer to generate JSON.

Anti-patterns to refuse

Do NOT produce workflows that:

  • Store credentials inline (always use n8n credential references: {{ $credentials.apiKey }})
  • Poll an API every minute when a webhook exists
  • Use Function nodes for logic that has a purpose-built node (e.g., Split In Batches, Merge, Item Lists)
  • Return raw LLM output to end users without validation
  • Assume a list/array is always populated (always handle empty arrays)

When the user's request is vague

Don't guess — ask ONE consolidated clarifying question covering:

  • Trigger source + frequency
  • External services involved
  • What happens on failure (silent drop? alert? retry?)
  • Data destination

One question, not five. Move fast.

Reference files

  • references/node-catalog.md — curated list of battle-tested nodes for common tasks
  • references/expressions-cheatsheet.md — n8n expression syntax, common patterns, gotchas

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Workflow Architect」では何ができますか?

Design production-grade n8n workflows from requirements. Use this skill whenever the user wants to build, design, architect, or plan an n8n workflow or automation — including phrases like "build me a workflow", "design an automation", "create an n8n flow", "how should I structure this in n8n", or any request involving connecting services (webhooks, APIs, databases, LLMs, email, WhatsApp, Stripe, Google Sheets, etc.) through n8n. Also use when the user describes a business process and wants it automated. Always use this skill before generating n8n workflow JSON or recommending node structure...

TypingMindでWorkflow Architectを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Workflow Architectはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにWorkflow Architectをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/masteranime/n8n-claude-skills/tree/main/skills/workflow-architectを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Workflow Architectを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Workflow Architectは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもWorkflow Architectを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Workflow Architect」は無料ですか?

はい。masteranimeがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇