Claude Code skill for writing production-ready Dify workflow DSL files in YAML, covering variable syntax, node configuration, and architectural patterns.
git clone https://github.com/yoloyolo8/dify-workflow-writer.gitThe dify-workflow-writer skill teaches Claude Code how to create, modify, and debug Dify workflow DSL (YAML) files. It provides expert guidance on correct variable syntax patterns like {{#NODE_ID.VAR#}}, templates for all Dify node types (LLM, HTTP, Code, IF/ELSE, Iteration), and common gotchas to avoid. The skill includes four proven workflow architectural patterns and comprehensive troubleshooting for import failures and schema errors. This is essential for developers building multi-step AI workflows in Dify, from simple LLM chains to complex API integrations with conditional branching and error handling.
Copy the skill directory to your Claude Code skills folder: `cp -r skills/dify-workflow-writer ~/.claude/skills/`. Alternatively, keep it project-local in your `skills/` directory. Then ask Claude to create or debug Dify workflows—the skill provides DSL templates, variable syntax patterns, and node configuration guidance.
Creating multi-step LLM workflows with proper variable references and node connections
Debugging DSL import failures and variable syntax errors
Building HTTP request + LLM processing chains
Implementing conditional logic and iteration patterns in workflows
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/yoloyolo8/dify-workflow-writerCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Write a Dify workflow DSL file for [COMPANY] that automates [INDUSTRY]-specific data processing. The workflow should include [DATA] extraction, transformation, and loading into [TARGET_SYSTEM]. Ensure the workflow handles errors and includes logging.
# Dify Workflow DSL for Customer Data Processing
```dsl
workflow "Customer Data Processing" {
description = "Automates extraction, transformation, and loading of customer data"
version = "1.0"
input {
field "source_file" type = "string"
field "target_system" type = "string"
}
steps {
step "extract_data" {
action = "extract_csv"
input {
file_path = "${source_file}"
}
output {
field "extracted_data" type = "array"
}
}
step "transform_data" {
action = "transform_data"
input {
data = "${extracted_data}"
}
output {
field "transformed_data" type = "array"
}
}
step "load_data" {
action = "load_to_database"
input {
data = "${transformed_data}"
target = "${target_system}"
}
}
}
error_handling {
on_error {
action = "log_error"
input {
message = "Error occurred in workflow"
}
}
}
}
```Enterprise AI writing platform with brand governance
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan