Dify Workflow CLI
Create, edit, and validate Dify workflow DSL YAML from the command line
Richiede configurazione
Cosa fa
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.
Rapporto di test
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.
Testato il: 2026-07-15 · Claude Code 2.x (agent harness)
Installazione
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
Comandi e prompt di esempio
/dify-workflowCreate, edit, and validate Dify workflow DSL YAML from the command line
Gli skill si attivano con richieste in linguaggio naturale, senza comandi da ricordare. Dopo l'installazione, prompt come questi lo attivano (in inglese):
Create a Dify chatflow with an LLM node and a knowledge retrieval nodeValidate this Dify workflow YAML, the import shows disconnected nodesAdd a question classifier node to my Dify workflow and wire the branches