Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

workflow-generator-v2

БесплатноБез исполняемых скриптовНе проверен

Modular workflow generator with on-demand context loading. Creates workflows from YAML plans with focused, trigger-specific guidance. Use when user wants to…

KenKaiiiот KenKaiii★ 29 звёзд на GitHub

Об этом скилле

Workflow Generator V2 (Modular)

Generate reliable workflows using progressive context disclosure - load only what's needed for the specific workflow type.

Process Overview

1. Ask user questions → Get trigger type + requirements
2. Load ONLY relevant reference docs for that trigger
3. Build YAML plan with focused context
4. Validate and import workflow

Step 1: Ask Clarifying Questions

Use AskUserQuestion tool to gather:

Required questions:

  1. Trigger type: When should workflow run?

    • Manual (on-demand, click to run)
    • Webhook (HTTP endpoint, external trigger)
    • Cron (scheduled, time-based)
    • Chat (AI conversation)
    • Chat-Input (form with user input fields)
    • Telegram (bot messages)
    • Discord (bot messages)
    • Gmail (incoming emails)
    • Outlook (incoming emails)
  2. Output format: How to display results?

    • JSON, Table, List, Text, Markdown, Image, Images, Chart

Optional based on workflow type:

  • For webhooks: Need synchronous response? (Yes/No)
  • For social media: Need deduplication? (Yes/No)
  • For AI workflows: Which model? (GPT-4o-mini, Claude, etc.)

Step 2: Load Context Files

CRITICAL: Use Read tool to load these reference files in order:

1. Always read (required - load ALL of these):

  • .claude/skills/workflow-generator-v2/references/yaml-format.md

    • Complete YAML structure specification
    • Variable interpolation rules
    • Output formats and returnValue
    • Auto-wrapping explanation
  • .claude/skills/workflow-generator-v2/references/common-modules.md

    • All 16 module categories
    • Module search instructions
    • Common module patterns
  • .claude/skills/workflow-generator-v2/references/common-mistakes.md

    • Top 10 mistakes and how to avoid them
    • Rest parameters issue
    • Variable naming errors
    • YAML syntax gotchas

2. Read based on trigger type (required - load ONE):

  • Manual → .claude/skills/workflow-generator-v2/references/manual-trigger.md
  • Webhook → .claude/skills/workflow-generator-v2/references/webhook-trigger.md
  • Cron → .claude/skills/workflow-generator-v2/references/cron-trigger.md
  • Chat → .claude/skills/workflow-generator-v2/references/chat-trigger.md
  • Chat-Input → .claude/skills/workflow-generator-v2/references/chat-input-trigger.md
  • Gmail → .claude/skills/workflow-generator-v2/references/gmail-trigger.md
  • Outlook → .claude/skills/workflow-generator-v2/references/outlook-trigger.md
  • Telegram/Discord → Same as manual trigger (no special config needed)

Do NOT proceed without reading the core 3 files + your specific trigger file!

3. Optionally read module category references (as needed):

Based on what modules the user needs, read relevant category references:

  • AI/ML workflows → .claude/skills/workflow-generator-v2/references/modules/ai-modules.md
  • Social media → .claude/skills/workflow-generator-v2/references/modules/social-modules.md
  • Email/messaging → .claude/skills/workflow-generator-v2/references/modules/communication-modules.md
  • CRM/invoicing → .claude/skills/workflow-generator-v2/references/modules/business-modules.md
  • Databases/sheets → .claude/skills/workflow-generator-v2/references/modules/data-modules.md
  • E-commerce → .claude/skills/workflow-generator-v2/references/modules/ecommerce-modules.md
  • Other categories → .claude/skills/workflow-generator-v2/references/modules/other-categories.md

These provide usage patterns, credential requirements, and examples for each category.

Step 3: Search for Modules (MANDATORY - DO NOT SKIP)

YOU MUST SEARCH FOR EVERY MODULE YOU PLAN TO USE. NEVER GUESS!

For each functionality needed, run:

npm run modules:search <keyword>

Example workflow needs: "Webhook that adds numbers and generates AI summary"

YOU MUST RUN THESE SEARCHES:

  1. npm run modules:search add → Get exact path for addition
  2. npm run modules:search generate → Get exact path for AI generation
  3. npm run modules:search execute → Get exact path for JavaScript

Extract from search results:

  • path - Use this EXACTLY in your YAML (e.g., utilities.array-utils.sum)
  • signature - Shows parameter names (e.g., sum(arr) means use arr:, not array: or numbers:)
  • wrapper - If "options" or "params", inputs are auto-wrapped
  • params - Shows which are required vs optional

CONSEQUENCES OF NOT SEARCHING:

  • ❌ Wrong module paths → Build fails
  • ❌ Wrong parameter names → Build fails
  • ❌ Missing required params → Build fails
  • ❌ Using rest parameter modules → Runtime fails

NO EXCEPTIONS - SEARCH FOR EVERYTHING!

Step 4: Build YAML Plan

Create plans/{workflow-name}.yaml using:

  • The trigger context from the reference file you read
  • Module search results
  • User's specific requirements

YAML Structure:

name: Workflow Name
description: Brief description
trigger: webhook | cron | chat | manual | telegram | discord
# Trigger-specific config (from refere
Полный SKILL.md на GitHub

Установить workflow-generator-v2 в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

QUICK-REFERENCE.mdreferences/chat-input-trigger.mdreferences/chat-trigger.mdreferences/common-mistakes.mdreferences/common-modules.mdreferences/cron-trigger.mdreferences/gmail-trigger.mdreferences/manual-trigger.mdreferences/modules/ai-modules.mdreferences/modules/business-modules.mdreferences/modules/communication-modules.mdreferences/modules/data-modules.mdreferences/modules/ecommerce-modules.mdreferences/modules/other-categories.mdreferences/modules/social-modules.mdreferences/outlook-trigger.mdreferences/webhook-trigger.mdreferences/yaml-format.md

FAQ

Что делает скилл workflow-generator-v2?

Modular workflow generator with on-demand context loading. Creates workflows from YAML plans with focused, trigger-specific guidance. Use when user wants to create, build, or generate workflow automation.

Как установить скилл workflow-generator-v2?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл workflow-generator-v2 запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить workflow-generator-v2 с