dify-dsl-generator_skill

This skill generates complete Dify DSL/YML workflows from user requirements, selecting nodes, parameters, and edges for compliant, ready-to-import files.
  • Python

122

GitHub Stars

3

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill wwwzhouhui/skills_collection --skill dify-dsl-generator

  • .gitignore324 B
  • README.md6.1 KB
  • SKILL.md14.5 KB

Overview

This skill is a professional Dify workflow DSL/YML generator that converts plain business requirements into complete, import-ready Dify configuration files. It supports all major node types, automatic edge wiring, plugin dependency detection, and produces YAML that follows Dify 0.3.0 DSL rules. Use it to speed up workflow authoring, reduce manual errors, and enforce consistent structure and IDs.

How this skill works

Provide a short specification of the desired workflow (purpose, inputs, processing steps, outputs, optional plugins) and the skill generates a full app/dependencies/workflow YAML file. It designs start nodes, LLM prompts, code/http/tool/condition nodes, variable mappings, edges, positions, and recommended model parameters. The generator validates IDs, variable reference formats, and typical YAML constraints so output is import-ready for Dify.

When to use it

  • You need a ready-to-import Dify DSL for a new chatflow, workflow, or agent.
  • You want to convert a business process description into an executable workflow quickly.
  • You need consistent, validated YAML that follows Dify 0.3.0 conventions.
  • You require multi-node flows with LLM, code, HTTP, tool, and conditional logic.
  • You want automatic plugin/dependency configuration for external integrations.

Best practices

  • Describe inputs, processing steps, and expected outputs clearly and concisely.
  • Specify required plugins or external APIs to ensure dependencies are included.
  • Provide example inputs or schemas for data-driven nodes (SQL, JSON, files).
  • Review suggested prompt templates and adjust system/user prompts for domain needs.
  • Use unique, timestamp-based node IDs and keep node variable names semantic.

Example use cases

  • Image OCR: file upload start -> vision-enabled LLM -> answer node returning recognized text.
  • HTML generator: text input -> LLM to produce HTML -> parameter-extractor -> md_exporter tool -> answer with file URL.
  • Data query: user question -> LLM generates SQL -> HTTP request to DB API -> code node formats results -> LLM builds chart HTML -> answer displays chart.
  • AI agent: task input -> LLM planner -> parallel tool calls -> variable aggregator -> LLM summarizer -> final answer.

FAQ

A short structured brief: workflow purpose, inputs, step-by-step processing, expected outputs, and optional plugins. The more concrete the brief (example inputs, schemas), the better the generated DSL.

Will the YAML be import-ready for Dify?

Yes. Generated YAML follows Dify 0.3.0 DSL rules, includes app, dependencies, workflow sections, valid node IDs, edges, and standard variable reference formats so it can be imported directly.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational