Dify Workflow CLI

Create, edit, and validate Dify workflow DSL YAML from the command line

Autor: Akabane71 · Akabane71/dify-workflow-cli

Działa po konfiguracji ★ 8.8/10

Dify Workflow CLI — Create, edit, and validate Dify workflow DSL YAML from the command line

Co robi ten skill

Wraps a Python CLI (dify-workflow) that creates, edits, validates, auto-layouts, and exports Dify AI workflow DSL files across all 5 app modes and 22 node types. Triggers when the user wants to build a Dify workflow/chatflow/agent, wire nodes and edges, or debug why a Dify import shows disconnected nodes or checklist errors.

Raport z testu

Ran the real CLI end to end (create, validate, checklist, layout, mermaid export) and it produced a schema-valid Dify DSL on the first try; a hand-written baseline DSL failed the same validator with 3 missing-field errors. Caveat: the Python package (pyproject.toml, dify_workflow/) lives at the repo root, not inside skills/dify-workflow/, so the documented cp -r single-folder copy leaves `dify-workflow` uninstalled — you must clone the whole repo and `pip install -e .` from the root, then separately copy the skill folder.

Testowano: 2026-07-15 · Claude Code 2.x (agent harness)

Instalacja

git clone https://github.com/Akabane71/dify-workflow-cli
mkdir -p ~/.claude/skills
cp -r dify-workflow-cli/skills/dify-workflow ~/.claude/skills/dify-workflow

Komendy i przykładowe prompty

  • /dify-workflowCreate, edit, and validate Dify workflow DSL YAML from the command line

Skille uruchamiają się na zwykłe polecenia — bez komend do zapamiętania. Po instalacji aktywują go prompty takie jak te (po angielsku):

  • Create a Dify chatflow with an LLM node and a knowledge retrieval node
  • Validate this Dify workflow YAML, the import shows disconnected nodes
  • Add a question classifier node to my Dify workflow and wire the branches