dify-workflow-variable-check
CommunityAudit and fix Dify workflow variable references.
Authoranyekoutouming
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This tool audits Dify workflow YAMLs to ensure every reference to conversation variables ({{#conversation.X#}}) is declared in workflow.conversation_variables, preventing runtime errors and prompt issues.
Core Features & Use Cases
- Declarative audit: extracts declared names from workflow.conversation_variables and all referenced conversation variables from the YAML.
- Mismatch detection: identifies undeclared references and suggests adding corresponding entries in conversation_variables.
- Cleanup guidance: highlights variables that are declared but not actually referenced to help clean up.
- Guided fixes: provides a structured template for adding missing variables with proper id, selector, and value fields.
- Use Case: audit a Dify workflow YAML for a single project or batch multiple workflows across repositories.
Quick Start
Run the check_variables.py script against your workflow YAML to identify undeclared conversation variables and apply fixes.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dify-workflow-variable-check Download link: https://github.com/anyekoutouming/anyekoutouming/archive/main.zip#dify-workflow-variable-check Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.