dify-workflow-skills
Installation
SKILL.md
Dify Workflow DSL Builder
Build, edit, and validate Dify workflow DSL (Domain-Specific Language) files for creating AI-powered automation workflows.
This skill is based on the Dify open-source platform's workflow engine, which powers both Workflow apps and Advanced Chat apps with a React Flow-based visual editor.
Architecture Overview
Dify workflows use a queue-based, event-driven architecture with:
Backend (Python - Execution Engine)
- GraphEngine: Central orchestrator managing workflow execution
- WorkerPool: Thread pool for parallel node execution
- VariablePool: Centralized variable management across nodes
- EdgeProcessor: Handles conditional routing and branch selection
- Graph Validator: Ensures workflow integrity before execution