CommunityImagegithub.com

rjsamra/dify-skills

Agent skills that generate importable Dify workflow DSL via guided conversation and 125+ reference cases.

Qu'est-ce que dify-skills ?

dify-skills is a Claude Code agent skill that agent skills that generate importable Dify workflow DSL via guided conversation and 125+ reference cases.

Compatible avecClaude CodeCodex CLICursorOpenCode
npx skills add https://github.com/rjsamra/dify-skills/tree/main

Installed? Explore more Image skills: steipete/songsee, affaan-m/frontend-design-direction, affaan-m/ios-icon-gen · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Dify Skills

Agent skills for generating Dify workflow DSL YAML that can be imported directly into Dify.

Repository: github.com/rjsamra/dify-skills

Install

Works with Cursor, Claude Code, Codex, OpenCode, and 40+ other agents via the skills CLI:

npx skills add rjsamra/dify-skills

Useful variants:

# List available skills
npx skills add rjsamra/dify-skills --list

# Install only this skill, globally, non-interactive
npx skills add rjsamra/dify-skills --skill dify-creator -g -y

# Install to specific agents
npx skills add rjsamra/dify-skills -a cursor -a claude-code

Claude Code plugin (optional)

/plugin marketplace add rjsamra/dify-skills
/plugin install dify-creator@dify-skills

Available Skills

dify-creator

Guide users through multi-turn conversation to clarify requirements, reference 125+ existing Dify cases, and generate importable workflow DSL YAML.

Use when:

  • Building a Dify workflow, chatflow, or advanced chat app
  • Generating Dify DSL YAML from a product brief
  • Matching a use case to known Dify patterns (RAG, OCR, TTS, agents, etc.)

Directory Structure

dify-skills/
├── README.md
├── .claude-plugin/
│   └── marketplace.json       # Claude Code plugin marketplace
└── skills/
    └── dify-creator/
        ├── SKILL.md           # Skill instructions
        └── organized_dsl/     # Reference Dify DSL case library
            ├── INDEX.md
            ├── Dify_DSL_Complete_Node_Reference_Guide.md
            ├── 01_content_generation_and_creation/
            ├── 02_image_generation_and_design/
            ├── ...
            └── 14_reference_examples/

Overview

dify-creator helps agents quickly create Dify-compatible workflow configs. Through guided conversation and reference to existing cases, it produces YAML files that can be imported directly into the Dify platform.

Features

  • Guided conversation: Multi-turn Q&A to clarify requirements
  • Learning from examples: Auto-match best practices from existing Dify cases
  • Full DSL generation: Output complete configs that follow Dify conventions
  • Multi-type support: Chatflow, Workflow, and Advanced Chat
  • Variable tracking: Manage variable passing and references between nodes

Quick Start

After installing the skill, ask your agent:

I want to create a Dify workflow for meeting minutes from audio

The skill will guide you through:

  1. Confirm basic info (name, description, app type)
  2. Understand functional needs (input, processing, output)
  3. Analyze flow structure (branches, loops, error handling)
  4. Choose models and tools
  5. Reference existing cases under organized_dsl/
  6. Generate a complete DSL config

Application Types

TypeDescriptionTypical use
workflowBatch tasks, single-runData processing, batch generation
chatflowConversational app, multi-turnCustomer service, chat assistants
advanced-chatAdvanced chat modeComplex conversational scenarios

Supported Node Types

NodeFunction
startStart node; receive user input
llmLarge language model call
toolTool/plugin call
answerReply to the user
if-elseConditional branching
codeCode execution
iterationLoop processing
template-transformTemplate transform
variable-aggregatorVariable aggregation
knowledge-retrievalKnowledge base retrieval

Best Practices

  1. Clarify requirements: Describe the workflow goal clearly in conversation
  2. Reuse patterns: Ask the agent to reference similar existing cases
  3. Iterate: Build the core flow first, then add branches and error handling
  4. Validate: Import into Dify and debug/optimize

FAQ

Q: Are custom plugins supported?
A: Yes. Describe the plugins you need; the skill will declare them under dependencies.

Q: Can it generate Chatflow?
A: Yes. Specify the app type as chatflow or advanced-chat in conversation.

Q: What is the variable reference format?
A: Use {{#nodeID.outputField#}}.

License

This project is licensed under CC BY-NC-SA 4.0.

Author

Rajkumarrjsamra/dify-skills

Skills associés