dify-docs-env-vars

Analyze Dify documentation repositories to generate metadata for skill units.

175|388|Updated Mar 11, 2025
One-click install
npx skills add https://github.com/langgenius/dify-docs --skill dify-docs-env-vars
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dify-docs-env-vars
Source: https://github.com/langgenius/dify-docs/tree/main/.claude/skills/dify-docs-env-vars
Command: npx skills add https://github.com/langgenius/dify-docs --skill dify-docs-env-vars

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork from documenting Dify environment variables by tracing each setting back to the codebase, verifying its real behavior, and translating it into clear user-facing guidance.

Core Features & Use Cases

  • Code-traced documentation: Follows each variable through Dify source files so the docs reflect actual runtime behavior, defaults, and fallbacks.
  • Deployment-focused explanations: Explains what breaks when a variable is empty, misconfigured, or removed, which is critical for self-hosted deployments.
  • Doc quality control: Helps audit existing environment variable pages for missing entries, default mismatches, and variables that should be ignored.
  • Use case: A release engineer can use this Skill to update environment variable docs after a Dify upgrade and keep the documentation aligned with the current .env.example files.

Quick Start

Ask me to analyze the Dify environment variable docs and produce a code-traced explanation or update for any variable you specify.

Frequently Asked Questions about dify-docs-env-vars

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document Dify environment variables by tracing them through the codebase?

To document Dify environment variables, you trace each setting through Dify source files to verify real runtime behavior, defaults, and fallbacks before generating precise user-facing guidance.

What is the best way to audit existing environment variable documentation for mismatches?

Auditing environment variable documentation involves checking existing pages for missing entries, default mismatches, and ignored variables by validating YAML frontmatter and directory structure against the codebase.

How do I update environment variable docs after a Dify upgrade?

Updating environment variable docs after a Dify upgrade requires analyzing the documentation repository to identify valid skill units and aligning the content with the current .env.example files.

Can I use repository analysis to identify valid skill units and generate metadata?

Yes, repository analysis can identify valid skill units by validating YAML frontmatter, directory structure, optional components, and safety risks before producing reliable metadata for documentation governance.

Why does Dify documentation require validating YAML frontmatter and directory structure?

Validating YAML frontmatter and directory structure is required to reliably detect SKILL.md entry points and supporting resources, ensuring documentation governance workflows produce accurate metadata without safety risks.

What breaks when a Dify environment variable is empty or misconfigured in self-hosted deployments?

When a Dify environment variable is empty or misconfigured, self-hosted deployments face runtime failures, making deployment-focused explanations critical for understanding what breaks when settings are removed.