workflow-generator
БесплатноБез исполняемых скриптовНе проверенYOU MUST USE THIS SKILL when the user wants to CREATE or BUILD a NEW workflow automation. Activate for requests like: 'create a workflow', 'build a workflow'…
Об этом скилле
Workflow Generator
Generate complete workflows from simple YAML plans - one command, zero errors.
⚠️ CRITICAL: Use API to Build Workflows
NEVER manually write workflow JSON! Create a YAML plan and use the API:
curl -X POST http://localhost:3123/api/workflows/build-from-plan \
-H "Content-Type: application/json" \
-d '{"planPath": "plans/my-workflow.yaml"}'
What the API does automatically (12-layer validation):
- ✅ Validates modules exist in registry
- ✅ Validates parameter names match signatures
- ✅ Detects unsupported features (rest parameters, function-as-string)
- ✅ Auto-wraps params/options functions
- ✅ Builds workflow JSON
- ✅ Validates schema structure
- ✅ Validates trigger configuration (cron schedule, chat inputVariable)
- ✅ Validates returnValue variable exists
- ✅ Analyzes credential usage
- ✅ Detects unused variables (dead code)
- ✅ Runs dry-run test with mocks
- ✅ Automatically imports to database
Result: If it builds, it's immediately available in the app. Zero runtime errors.
Process Overview
User Request → Ask Questions → Create YAML Plan → Call API → Done!
↑ ↑
Clarify requirements Automatic build & import via API
3 Simple Steps:
- Ask clarifying questions (AskUserQuestion tool)
- Create plans/my-workflow.yaml based on answers (use Write tool)
- Call API: POST http://localhost:3123/api/workflows/build-from-plan with {"planPath": "plans/my-workflow.yaml"}
Note: The API returns the workflow JSON and automatically imports it to the database.
STEP 1: Ask Clarifying Questions
ALWAYS start by asking questions using the AskUserQuestion tool.
Question Templates
Always ask at minimum:
- Trigger type - When workflow runs (manual/cron/webhook/chat)
- Output format - How to display results (json/table/text)
Additional questions based on workflow type:
- Social Media: Deduplication (Yes/No)
- AI Generation: AI Model (GPT-4o-mini/Claude/etc)
- Data Processing: Operations needed (filter/transform/aggregate)
Standard question template:
AskUserQuestion({
questions: [
{
question: "When should this workflow run?",
header: "Trigger",
multiSelect: false,
options: [
{ label: "Manual", description: "On-demand (click Run)" },
{ label: "Scheduled", description: "Automatic (cron)" },
{ label: "Webhook", description: "External HTTP" },
{ label: "Chat", description: "AI conversation" },
{ label: "Telegram Bot", description: "Telegram messages" },
{ label: "Discord Bot", description: "Discord messages" }
]
},
{
question: "How should results be displayed?",
header: "Output",
multiSelect: false,
options: [
{ label: "JSON", description: "Raw data format" },
{ label: "Table", description: "Structured columns" },
{ label: "List", description: "List of items" },
{ label: "Text", description: "Plain text" },
{ label: "Markdown", description: "Formatted text" }
]
}
]
})
STEP 2: Create Workflow Plan
Based on user answers, create a YAML plan file:
Plan Format
name: Workflow Name
description: Optional workflow description
trigger: manual | cron | webhook | telegram | discord | chat | chat-input
webhookSync: true | false # Optional, for webhook triggers - returns workflow output instead of {"queued": true}
webhookSecret: "secret-key" # Optional, for webhook triggers - enables HMAC signature verification
output: json | table | list | text | markdown | image | images | chart
outputColumns: [col1, col2] # Optional, for table/list output
category: category-name # Optional
tags: [tag1, tag2] # Optional
steps:
- module: category.module.function
id: unique-step-id
name: Human Readable Name (optional)
inputs:
param1: "{{variable}}"
param2: value
outputAs: variableName (optional)
Trigger Variables (CRITICAL)
Each trigger type provides specific variables accessible in workflows:
Webhook triggers provide trigger object with:
trigger.body- JSON request body (e.g.,trigger.body.email,trigger.body.numbers)trigger.headers- HTTP headers objecttrigger.query- Query parameters objecttrigger.method- HTTP method (POST, GET, etc.)trigger.url- Request URL path
Chat triggers provide:
trigger.messageortrigger.userInput- User's message texttrigger.conversationId- Conversation ID
Telegram/Discord triggers provide:
trigger.message- Message texttrigger.userId- User IDtrigger.chatId- Chat/channel ID
Manual/Cron triggers provide:
- No trigger data (start with hardcoded values or config)
IMPORTANT: Always use trigger.body.fieldName for webhook data, NOT webhookData.fieldName or `i
Установить workflow-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл workflow-generator?
YOU MUST USE THIS SKILL when the user wants to CREATE or BUILD a NEW workflow automation. Activate for requests like: 'create a workflow', 'build a workflow', 'generate a workflow', 'make a workflow', 'I want to automate', 'automate X to Y', 'schedule a task', 'monitor X and send to Y'. This skill creates workflows from simple YAML plans with automatic validation and import.
Как установить скилл workflow-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workflow-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub