Agent skill

Dify Docs Guides

by langgenius in langgenius/dify-docs

Rule pack for Dify user-guide pages — en/{cloud,self-host}/use-dify/, en/develop-plugin/, and en/self-host/deploy/.

CC-BY-4.0Auto-check passedWriting & Content

Install Dify Docs Guides

skills CLI
$ npx skills add langgenius/dify-docs --skill dify-docs-guides -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install langgenius/dify-docs dify-docs-guides --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/langgenius/dify-docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dify-docs-guides .claude/skills/dify-docs-guides && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dify-docs-guides
GitHub stars
178
Token cost
~2k tokens
SKILL.md length
1,017 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
CC-BY-4.0

At a glance

Rule pack for Dify user-guide pages — en/{cloud,self-host}/use-dify/, en/develop-plugin/, and en/self-host/deploy/.

  • Works in 3 steps: Write for the persona of the page's path… → A page doesn't restate its own audience.… → If S2 discovery found related…
  • Tasks that involve Technical writing
  • SKILL.md covers Scoping rules (S1), S2 discovery — environment…, Drafting rules (S5) and Reader Personas, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Dify Docs Guides is an agent skill from langgenius/dify-docs. Rule pack for Dify user-guide pages — en/{cloud,self-host}/use-dify/, en/develop-plugin/, and en/self-host/deploy/. Carries the reader personas (master copy), audience-voice rules, dual-copy discipline, and env-var presentation patterns. Loaded by dify-docs-write; not an entry point.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Technical writing. It works with Dify. The licence is CC-BY-4.0.

When your agent uses it

  • Tasks that involve Technical writing

Example prompts

  • “/dify-docs-guides”

Requirements

  • Python 3
  • Docker

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Write for the persona of the page's path (see Reader Personas below).
  2. A page doesn't restate its own audience. Everyone on a self-host page is self-hosted and everyone on a cloud page is on Dify Cloud, so "On…
  3. If S2 discovery found related environment variables, present them per Environment Variables in User Guides below.

What it can do on your machine

Read from SKILL.md and the folder at commit 01f1cb6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and mdx).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • dify.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dify Docs Guides loads about 2k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 1,017 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from langgenius/dify-docs at commit 01f1cb6, republished under its CC-BY-4.0 licence (© langgenius). 1,017 words, ~1,980 tokens.

Download SKILL.mdSave it as .claude/skills/dify-docs-guides/SKILL.md (or your agent's skills folder).
name
dify-docs-guides
description
Rule pack for Dify user-guide pages — en/{cloud,self-host}/use-dify/, en/develop-plugin/, and en/self-host/deploy/. Carries the reader personas (master copy), audience-voice rules, dual-copy discipline, and env-var presentation patterns. Loaded by dify-docs-write; not an entry point.

User Guide Rules

Not an entry point — run under dify-docs-write; this pack's rules and procedures implement its stages for user-guide pages.

Scoping rules (S1)

Match each target page to its reader persona (see Reader Personas below). use-dify pages exist as two product copies — en/cloud/use-dify/ and en/self-host/use-dify/ — with no shared pages and no cross-audience navigation. When the page exists in both, scope both: shared-content improvements land in both copies in the same pass; audience-specific blocks (plan gating, env-var callouts, Enterprise tips) stay per-copy. Exception — work on a release/<version> branch edits only the self-host copy, still in all three languages; what it excludes is the cloud copy, which follows Cloud's own release lane and is re-derived from the self-host diff when Cloud ships that version.

S2 discovery — environment variables

Check for feature-related environment variables. In the Dify codebase, run:

bash
grep -rn "<FEATURE_KEYWORD>" docker/.env.example docker/envs/ api/configs/

Use the feature's name as it would appear in a variable (e.g. COLLABORATION); try 2–3 keyword variants before concluding. No matches → the feature has no env-var surface; skip the env-var guidance below. Matches → record each variable as mandatory or optional plus its default, and queue the dify-docs-env-vars pack's procedure in the S4 scope report, to update en/self-host/deploy/configuration/environments.mdx in the same session — that reference is the single source of truth for variable semantics.

Drafting rules (S5)

  1. Write for the persona of the page's path (see Reader Personas below).
  2. A page doesn't restate its own audience. Everyone on a self-host page is self-hosted and everyone on a cloud page is on Dify Cloud, so "On self-hosted deployments, …" and "On Dify Cloud, …" tell those readers nothing; qualifiers earn their place only on the audience-neutral trees (en/learn/, en/api-reference/, en/cli/, en/develop-plugin/), where they disambiguate. Two uses are different in kind and belong: naming a different product (the <Tip> surfacing Dify Enterprise where a CE capability ends, per "Paid Feature Callouts" in the style guide), and a comparative-advantage claim, where the qualifier marks something this product has that the other lacks ("On Dify Cloud, many popular trigger integrations are pre-configured" is about the perk, not the scope).
  3. If S2 discovery found related environment variables, present them per Environment Variables in User Guides below.

Reader Personas

Adjust tone and assumed knowledge by document path. This is the master copy of these personas; other skills point here.

PathReadersAssumePrioritize
en/cloud/use-dify/Dify Cloud app builders; mix of developers and non-technical usersBasic AI familiarity; no infrastructure or deep coding knowledge — there is no deployment to operateTask completion and outcomes; explain technical concepts when they appear
en/self-host/use-dify/App builders whose team self-hosts DifyBasic AI familiarity; no deep coding knowledge. Their deployment exists, so env vars are fine to mention — but the reader is a builder, not the operatorTask completion and outcomes; explain technical concepts when they appear; keep deployment mechanics one click away in the env reference
en/self-host/deploy/DevOps engineers and system administratorsStrong infrastructure knowledge: Docker, databases, networking, environment variablesPrecise technical detail; don't over-explain standard operations
en/develop-plugin/Developers building custom Dify pluginsStrong Python skills; familiarity with Dify's core conceptsAPI contracts, extension points, code patterns; code examples are essential
Dify-Enterprise-Docs/{lang}/{X.Y.x}/use/App builders whose company runs Dify EnterpriseBasic AI familiarity; no deep coding knowledge. Their deployment exists and Enterprise features are enabled, but the reader is a builder, not the operatorTask completion and outcomes; explain technical concepts when they appear; keep deployment mechanics one click away in the version's deploy and administer pages
Dify-Enterprise-Docs/{lang}/{X.Y.x}/develop/plugins/Developers building custom Dify plugins for an Enterprise deploymentStrong Python skills; familiarity with Dify's core conceptsAPI contracts, extension points, code patterns; code examples are essential
Show full SKILL.md (436 more words)Show less

Collaboration Model

The user brings documentation expertise and user empathy; you bring AI domain knowledge. Apply it actively:

  • Explain why an AI concept is designed the way it is and what problem it solves, not just what it does (e.g., explain a tool role in conversation history at the LLM API mechanism level).
  • When the user questions a product design, say whether it is Dify-specific or an industry norm, and how users are likely to understand it.
  • Replace abstract explanations with concrete scenarios that show why a user needs the feature.
  • When the user is unsure about phrasing, judge it from the reader's side: is the term understandable, accurate in the AI context, and close to the user's mental model?
  • Flag unusual designs, likely misunderstood concepts, and inaccurate AI-domain terms unprompted.

Environment Variables in User Guides

Applies when S2 discovery found related variables. The two product copies fork — never mix the patterns:

  • Self-host copy (en/self-host/use-dify/): name the mandatory variables and the values to set in a callout (rules below), and link to the reference. environments.mdx (maintained via the dify-docs-env-vars pack) owns everything else: defaults, mechanisms (worker classes, proxy paths, scheme rules, fallbacks), interactions, and failure modes.
  • Cloud copy (en/cloud/use-dify/): never any env-var content. A feature that is simply on in Dify Cloud gets nothing; a plan-limited feature gets the plan-gating pattern (<Badge color="blue">Professional</Badge> and <Badge color="blue">Team</Badge> in prose with a Learn more link — see "Paid Feature Callouts" in the style guide).

In the self-host copy:

  1. Place the configuration in a callout, never a dedicated H2 section. Configuration enablement is an aside to the page's task flow, and the defaults and mechanics live one click away in the env reference.

  2. Pick the callout type: <Note> when the variables are mandatory (the feature does not work at all without them); <Info> when they only customize behavior that already works.

  3. Use this pattern — open with the feature state, never an audience qualifier (Drafting rule 2):

    mdx
    <Note>
    [Feature] is off by default. Enable it by setting:
    
    - `VAR_NAME` = `value`
    
    See [Environment Variables](/en/self-host/deploy/configuration/environments#var_name) for details.
    </Note>
  4. Exclude from the user guide: default values, the "why" behind each variable, deployment-specific mechanics, and variable interactions — anything the reader finds one click into the reference.

  5. Link a variable name only when it has its own heading anchor in the reference (#var_name). Table-row variables stay plain code — a link would land at the page or section top while promising the variable; each self-contained unit that names them (a bullet, a callout) carries its own "See Environment Variables for details." reference — placed with the variables, never as a section-level closing line.

© langgenius, CC-BY-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/dify-docs-guides of langgenius/dify-docs.

Open the folder on GitHubat commit 01f1cb6

Compare with similar skills

Dify Docs Guides next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dify Docs Guides compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dify Docs Guides this skilllanggenius/dify-docs178—~2kAutomated safety check: PassCC-BY-4.0
JavaScript Concept Fact Checkerleonardomso/33-js-concepts67k1 repos~5kAutomated safety check: PassMIT
Beads Documentation Style Guidegastownhall/beads28k—~3.2kAutomated safety check: PassMIT
JavaScript Concept Page Workflowleonardomso/33-js-concepts67k—~3.9kAutomated safety check: PassMIT
JS Concept Resource Curatorleonardomso/33-js-concepts67k—~4.9kAutomated safety check: PassMIT
Technical Writing Standardcursor/plugins10k10 repos~2.4kAutomated safety check: PassNone

Similar skills

  • JavaScript Concept Fact Checker

    leonardomso/33-js-concepts

    Verifies the technical accuracy of JavaScript concept pages by checking code examples, MDN and ECMAScript claims and external links through a five-phase method.

    67k GitHub starsUsed in 1 repo~5k tokens
    Writing & ContentAuto-check passed
  • Sets the house style for the beads user docs: the canonical concept model, required terminology, prose and diagram conventions, and checks before docs work is done.

    28k GitHub stars~3.2k tokensUpdated today
    Writing & ContentAuto-check passed
  • JavaScript Concept Page Workflow

    leonardomso/33-js-concepts

    Orchestrates five skills to produce a complete JavaScript concept documentation page, from resource curation through writing, tests, fact-checking and SEO.

    67k GitHub stars~3.9k tokensUpdated 27 days ago
    Writing & ContentAuto-check passed
  • JS Concept Resource Curator

    leonardomso/33-js-concepts

    Finds, vets, writes up and maintains external articles, videos and courses for JavaScript concept pages, including audits for broken and outdated links.

    67k GitHub stars~4.9k tokensUpdated 27 days ago
    Writing & ContentAuto-check passed
  • Official

    Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.

    10k GitHub starsUsed in 10 repos~2.4k tokens
    Writing & ContentAuto-check passed
  • Writing Docs

    nukeop/nuclear

    A skill your agent uses when writing or editing documentation in packages/docs.

    19k GitHub stars~907 tokensUpdated 2 days ago
    Writing & ContentAuto-check passed

More from langgenius/dify-docs

All 11 skills in this repo
  • Dify Docs Feature Research

    langgenius/dify-docs

    Research a Dify feature before writing or optimizing documentation.

    178 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Dify Docs Format Check

    langgenius/dify-docs

    Check formatting compliance in changed documentation against writing-guides/formatting-guide.md and tools/translate/formatting-{zh,ja}.md.

    178 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Dify Docs Terminology Check

    langgenius/dify-docs

    Audit terminology consistency across documentation against the codebase UI labels and the glossary — in prose and in the UI strings shown in screenshots.

    178 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Dify Docs API Reference

    langgenius/dify-docs

    Rule pack for the Service API specs ({en,zh,ja}/api-reference/openapiservice.json): spec conventions, app-type scoping, code-verification rules, and the audit machinery.

    178 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Dify Docs Env Vars

    langgenius/dify-docs

    Rule pack for the environment variable reference — en/self-host/deploy/configuration/environments.mdx.

    178 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Dify Docs Write

    langgenius/dify-docs

    The entry point for writing or revising any documentation in this repo: user guides, deployment pages, plugin-dev pages, API specs, the env-var reference, CLI pages.

    178 GitHub stars~3.2k tokensUpdated today
    Auto-check passed

Works with

Questions about Dify Docs Guides

What does Dify Docs Guides do?

Rule pack for Dify user-guide pages — en/{cloud,self-host}/use-dify/, en/develop-plugin/, and en/self-host/deploy/. Dify Docs Guides is an agent skill from langgenius/dify-docs. Rule pack for Dify user-guide pages — en/{cloud,self-host}/use-dify/, en/develop-plugin/, and en/self-host/deploy/.

When should I use Dify Docs Guides?

Dify Docs Guides fits situations like: tasks that involve Technical writing.

How do I install Dify Docs Guides in Claude Code?

Run `npx skills add langgenius/dify-docs --skill dify-docs-guides -a claude-code`. Or copy the skill folder (.claude/skills/dify-docs-guides in langgenius/dify-docs) into .claude/skills/dify-docs-guides in your project. Claude Code loads it when a task matches its description.

How do I install Dify Docs Guides in Codex?

Run `npx skills add langgenius/dify-docs --skill dify-docs-guides -a codex`. Or copy the skill folder (.claude/skills/dify-docs-guides in langgenius/dify-docs) into .agents/skills/dify-docs-guides in your project. Codex loads it when a task matches its description.

Can I use Dify Docs Guides in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add langgenius/dify-docs --skill dify-docs-guides -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dify-docs-guides, .gemini/skills/dify-docs-guides, .github/skills/dify-docs-guides and .opencode/skills/dify-docs-guides in your project.

What does Dify Docs Guides need to run?

SKILL.md names no scripts, command-line tools or credentials: Dify Docs Guides is instructions for the agent only. Our summary lists: Python 3; Docker.

Does Dify Docs Guides access the network?

SKILL.md names 1 domain. As links in the text: dify.ai. This is read from the text; nothing was executed.

Is Dify Docs Guides safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dify Docs Guides use?

Dify Docs Guides is published under the CC-BY-4.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dify Docs Guides use?

About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dify Docs Guides?

Skills that share tags, products or a category with Dify Docs Guides: JavaScript Concept Fact Checker (leonardomso/33-js-concepts, 67k stars), Beads Documentation Style Guide (gastownhall/beads, 28k stars), JavaScript Concept Page Workflow (leonardomso/33-js-concepts, 67k stars) and JS Concept Resource Curator (leonardomso/33-js-concepts, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dify Docs Guides?

langgenius (a GitHub organization) maintains it in langgenius/dify-docs, which has 178 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 8, 2026.

Source: langgenius/dify-docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.