This generates complete Dify workflow DSL/YML files from plain language descriptions of what you want to build. It's trained on 86+ real workflow examples and knows the full node vocabulary: start, LLM, code execution, HTTP requests, if-else branches, tools, parameter extractors. You describe your business logic and it outputs valid YAML with proper node connections, variable references, and plugin dependencies. Useful if you're building Dify workflows regularly and tired of hand-writing the DSL structure. The source shows it handles vision-enabled OCR flows, HTML generation pipelines, and complex multi-node chains. Saves time on boilerplate but you'll still need to understand Dify's node system to verify the output makes sense.

skills.sh installs
377
GitHub stars
294
last updated
Aug 21, 2026

Install

$ npx -y skills add wwwzhouhui/skills_collection --skill dify-dsl-generator --agent claude-code

Installs into .claude/skills of the current project.

Files

Dify DSL 工作流生成器

专业的 Dify 工作流 DSL/YML 文件自动生成工具,基于对 86+ 实际工作流案例的深度学习,能够根据用户的业务需求自动生成符合 Dify 规范的完整工作流配置文件。

核心功能

  • ✅ 完整DSL生成: 自动生成包含 app、dependencies、workflow 的完整 YML 文件
  • ✅ 多节点支持: 支持 start、llm、answer、code、http-request、if-else、tool 等所有节点类型
  • ✅ 智能连接: 自动生成节点间的 edges 连接关系
  • ✅ 参数配置: 智能推荐模型参数、提示词配置
  • ✅ 插件集成: 自动识别并配置所需的 Dify 插件依赖
  • ✅ 规范格式: 严格遵循 Dify 0.3.0 版本的 DSL 规范

使用方法

基础用法

生成一个 Dify 工作流用于 [业务需求描述]

详细用法

帮我生成一个 Dify 工作流 DSL 文件:
- 功能: [工作流要实现的功能]
- 输入: [用户输入的内容]
- 处理步骤: [详细的处理逻辑]
- 输出: [期望的输出结果]
- 使用插件: [需要的插件,可选]

Dify DSL 文件结构

基于对 86+ 真实工作流案例的学习,Dify DSL YML 文件遵循以下结构:

1. App 配置

app:
  description: '工作流描述'
  icon: 🤖
  icon_background: '#FFEAD5'
  mode: advanced-chat  # 或 workflow, agent-chat
  name: 工作流名称
  use_icon_as_answer_icon: false

模式说明:

  • advanced-chat: 高级对话模式(chatflow)
  • workflow: 工作流模式
  • agent-chat: AI Agent 模式

2. Dependencies 依赖

dependencies:
- current_identifier: null
  type: marketplace
  value:
    marketplace_plugin_unique_identifier: 插件唯一标识符

常用插件:

  • langgenius/openai_api_compatible: OpenAI 兼容接口
  • bowenliang123/md_exporter: Markdown 导出器
  • 其他市场插件根据需求添加

Sponsors

Details

Repository
github.com/wwwzhouhui/skills_collection
Category
Automation & Workflows
First seen
Jun 3, 2026

More from wwwzhouhui/skills_collection

All 5
1levnikolaevich avatarln-722-backend-generatorlevnikolaevich/claude-code-skillsGenerates .NET Clean Architecture backend structure from entity definitions. Use when bootstrapping .NET backend projects.376skills.sh installs
2aaaaqwq avatarfeishu-automationaaaaqwq/claude-code-skillsfeishu automation365skills.sh installs
3levnikolaevich avatarln-723-seed-data-generatorlevnikolaevich/claude-code-skillsGenerates seed data from ORM schemas or entity definitions to any target format. Use when populating databases for development.360skills.sh installs
4nicepkg avatarworkflow-creatornicepkg/ai-workflowworkflow creator347skills.sh installs
5teachingai avatarmybatis-plus-generatorteachingai/full-stack-skillsmybatis plus generator331skills.sh installs
6patricio0312rev avatarapi-test-suite-generatorpatricio0312rev/skillsGenerates comprehensive API test suites using Jest, Vitest, or Supertest from Express, Next.js, Fastify, or other API routes. Creates integration tests, contrac314skills.sh installs