Build Dify workflows from business requirements — with design, DSL generation, review, refactor, validation, nanny-mode guidance, and URL-driven app recognition.
A production-oriented Agent Skill for designing, generating, reviewing, refactoring, validating, and landing Dify workflows from business requirements.
It helps users go from:
- business idea
- requirement clarification
- workflow architecture
- Dify DSL YAML generation
- import validation
- debugging and refinement
…all the way to a workflow that can be imported through Dify → Import DSL File.
Working with Dify is rarely just about “writing YAML”. The real challenges are usually:
- unclear business requirements
- uncertainty between
workflow,advanced-chat,rag_pipeline, andagent-chat - imported YAML that looks fine but does not really run
- draft/app mismatch (“changed but no visible effect”)
- plugin / tool / model / UI compatibility problems
- users who only provide a Dify URL and expect the Agent to continue from there
dify-workflow-builder is built to solve those real workflow-building problems.
dify-workflow-builder 是一个面向 Dify 用户和 Agent 使用者的工作流构建 Skill。
它不只是“生成 YAML”,而是完整覆盖:
- 业务梳理
- 需求明确
- 工作流设计
- Dify DSL YAML 生成
- review / refactor / validate
- 调试与落地
- URL 驱动识别现有 Dify app 并继续搭建 / 修正
如果你想让 Agent 带你从业务需求一路走到 Dify 工作流落地,这个项目就是为这件事设计的。
dify-workflow-builder is not just a YAML generator.
It is a full workflow-building skill that can:
- Clarify business requirements
- Choose the right Dify mode
workflowadvanced-chatrag_pipelineagent-chat
- Design the workflow structure
- Generate importable Dify DSL YAML
- Review existing Dify YAML/DSL
- Refactor broken or messy flows
- Validate whether a YAML is an Import DSL File candidate
- Guide users through a nanny-style end-to-end flow
- Use a Dify URL as entry context to identify the target app and continue building/fixing
- Business interview and requirement clarification
- Architecture planning
- Node and edge planning
- Dify-native DSL output
- YAML structure review
- Node/edge integrity checks
- Import candidate validation
- Common Dify bug troubleshooting runbook
- Stage-based execution protocol
- Nanny-mode guided workflow building
- URL-driven entry into an existing Dify deployment/app
This project currently includes templates and generation paths for:
customer-service-chatflowapi-orchestration-workflowform-collection-workflowrag-assistant-chatflowrag-pipeline-basicagent-tool-useocr-to-structured-outputtext-to-html-or-fileiteration-batch-workflowaggregator-summary-workflowquestion-classifier-workflowknowledge-retrieval-workflowassigner-memory-workflow
Supported higher-frequency node families include:
if-elsetoolhttp-requestcodeparameter-extractoriterationvariable-aggregatorquestion-classifierknowledge-retrievalassigner
You only know the goal, and want the Agent to guide the whole process.
You already know your target flow and want a structured YAML output.
You want to know whether a file is an Import DSL File candidate.
You already have a flow, but it is messy or partially broken.
You provide a Dify app/workflow URL and want the Agent to identify the target app and continue from there.
Ask your Agent:
Help me build a Dify workflow from this business requirement.
Generate a Dify DSL YAML file from the following business requirement, and tell me how to import it through Import DSL File.
Review this Dify YAML and tell me whether it is an Import DSL File candidate.
启动 Dify 工作流保姆式搭建流程
This is my Dify app URL. Identify the target app and continue helping me inspect, fix, and build the workflow:
https://your-dify-url/apps/xxx/workflow
如果你在中文环境里使用,推荐直接对 Agent 说:
启动 Dify 工作流保姆式搭建流程
帮我根据业务需求生成 Dify DSL YAML file,并告诉我怎么通过 Import DSL File 导入。
这是我的 Dify 页面地址,你自己识别并继续帮我搭建 / 修正:
[粘贴 URL]
The skill is designed to avoid dumping raw YAML too early. It should normally output in this order:
- task summary
- mode selection
- architecture plan
- node list
- edge list
- risks / pending confirmations
Dify DSL YAML file- Import DSL File guidance
dify-workflow-builder/
├── SKILL.md
├── README.md
├── TUTORIAL.md
├── USER_GUIDE_FOR_DIFY_USERS.md
├── examples/
├── references/
└── scripts/
USER_GUIDE_FOR_DIFY_USERS.md— end-user tutorialTUTORIAL.md— tutorial entryreferences/public-user-tutorial.md— public-facing tutorial bodyreferences/nanny-mode.md— nanny-mode protocolreferences/execution-protocol.md— stage-based execution protocolreferences/dify-bug-runbook.md— Dify troubleshooting runbookreferences/dify-url-entry.md— URL-driven entry protocol
This project was informed and inspired by the following open repositories and skills:
-
wwwzhouhui / skills_collection / dify-dsl-generator
- Repository directory: https://github.com/wwwzhouhui/skills_collection/tree/main/dify-dsl-generator
- SKILL.md: https://github.com/wwwzhouhui/skills_collection/blob/main/dify-dsl-generator/SKILL.md
- Main inspiration:
- Dify DSL structure coverage
- import-oriented YAML output thinking
- node-level YAML examples
-
lazeyliu / dify-dsl-generator-skills
- Repository: https://github.com/lazeyliu/dify-dsl-generator-skills
- Main inspiration:
- skill decomposition
- author / review / refactor / governance routing
- output contract and validation mindset
This repository is a new integrated implementation, not a verbatim copy of either source.
- Importable does not automatically mean production-ready.
- Dify has real import / compatibility / UI edge cases, so review and validation remain important.
- For real Dify write-back flows, use UTF-8 file handoff and read-back verification.
Apache-2.0
Created and published by Irfan Lee (lif199010-stack) as an OpenClaw/Agent Skill project.