Automated summary
Performs a read-only terminology audit of a Dify documentation file, checking it against the glossary and the UI labels defined in the codebase i18n files.
Strengths
- Clearly separates general body-text terms (glossary) from UI labels (codebase i18n), with a deterministic classification procedure.
- Pins an exact git ref (commit) and cites it in the report, making every check reproducible.
- Covers whole files and their zh/ja siblings rather than just the diff, and correctly excludes environment-variable documentation.
- Flags casing or wording drift through a fallback case-insensitive search.
Limitations
- Assumes local access to the Dify repo and its specific glossary/i18n layout, so it is not reusable as-is on other projects.
- The audit is strictly read-only: it reports findings but never fixes the terms.
- Result quality depends on the branch the user selects and on how current the glossary is.
Run it after finalizing a documentation draft, before review or opening a PR, to confirm terms match the glossary and the product's actual UI strings.
Avoid it when the Dify repo is not available locally, or when you want terms fixed automatically instead of a findings report.
Security analysis
SafeThe skill is explicitly read-only and instructs the agent not to modify files, checkout branches, or pull in the Dify tree. It uses only non-destructive inspection commands (git fetch, git rev-parse, git grep, grep) to compare documentation terminology against a glossary and codebase i18n files. No data exfiltration, obfuscation, or destructive actions are present.
No concerns found
How this analysis is madeExamples
I just finished the draft at en/guides/workflow/nodes.mdx — check terminology against the glossary and the Dify codebase before I open the PR. Use the main branch.Run a terminology audit on this file: verify glossary terms and bolded headings, and tell me which ones are actually UI labels in the en-US i18n.Check terms in docs/en/features/knowledge-base.mdx plus its zh and ja siblings, and cite the commit ref you checked against.name: dify-docs-terminology-check description: > Audit terminology consistency across documentation against the codebase UI labels and the glossary. Covers full files, not just diffs; excludes env var docs. Use after finalizing a draft, or when the user says "check terminology", "check terms", "verify glossary", or "terminology audit".
Terminology Consistency Check
Read-only audit. Verify that documentation terms match the glossary (general terms) and the Dify codebase i18n (UI labels). Covers the whole file, not just the diff. Do NOT modify any files during the audit; report findings and stop.
Step 1 — Read the sources of truth
- Read
writing-guides/glossary.md. Two sections matter here:## General Terms— standard body-text terms with English/Chinese/Japanese columns.## UI Labels— product UI strings with ani18n Keycolumn mapping each label to the codebase.
- Locate the Dify codebase. If it is available as an additional working directory, use it; otherwise ask the user for the local path to their Dify repo.
- Ask the user: "Which branch in the Dify codebase should I check UI labels against?" (e.g.,
main, a feature branch). Default tomainif they have no preference.
Step 2 — Pin the codebase ref
- Sync and read the Dify codebase per
writing-guides/index.md→ "Syncing the Dify codebase safely". Nevergit checkoutorgit pullin the Dify tree. - Fetch, then resolve the ref once and record it for the report. In the Dify repo:
All i18n lookups below usegit fetch --tags origin REF=$(git rev-parse origin/<branch>)"$REF"; the report cites it (short form, e.g.61d2ad572a).
Step 3 — Set the scope
- Default scope: the whole file(s) currently under review (not just the diff), plus their zh/ja siblings when they exist. Expand to a directory or the full docs tree only if the user says so.
- Skip zh/ja checks for files whose translations don't exist yet.
- Always exclude (env var names are not UI labels):
en/self-host/deploy/configuration/environments.mdxzh/self-host/deploy/configuration/environments.mdxja/self-host/deploy/configuration/environments.mdx
Step 4 — Extract candidate terms
For each file in scope, in the docs repo:
grep -anoE '\*\*[^*]+\*\*' <file> # bolded terms, prints line:**term**
grep -anE '^#{2,3} ' <file> # section headings, prints line:## Heading
The -a flag is required: some legacy zh/ja pages contain stray NUL bytes, and without it grep prints only Binary file … matches and silently drops the term inventory.
Every bolded term and every heading is a candidate. Step 5 decides deterministically which are UI labels; do not pre-filter by intuition.
Step 5 — Classify and verify UI labels against codebase i18n
The codebase i18n is the source of truth for UI labels: web/i18n/en-US/ (flat JSON files with dot-flattened keys, e.g. "menus.apps": "Studio"), plus zh-Hans/ and ja-JP/ siblings. The glossary's i18n Key column maps to them: common.menus.apps → file common.json, key "menus.apps".
For each candidate term (use the English term; for zh/ja files, take the candidate from the same position in the en sibling):
- If the term has a
## UI Labelsrow in the glossary, read itsi18n Key; skip to substep 3 to confirm the codebase still agrees. - Otherwise search the en-US i18n values. In the Dify repo:
git grep -nF '"<Term>"' "$REF" -- 'web/i18n/en-US/*.json'- Exact-value hit (e.g.,
<REF>:web/i18n/en-US/common.json:285: "menus.apps": "Studio",) → it is a UI label; note the file and key. - No hit → retry case-insensitively:
git grep -inF '<term>' "$REF" -- 'web/i18n/en-US/*.json'. A hit here means the doc's casing or wording deviates from the UI string — flag it. - Still no hit → not a UI label. Headings fall out of scope here; bolded terms go to Step 6 (general terms) instead.
- Exact-value hit (e.g.,
- Confirm the exact string at the key:
The doc's English term must match the printed value exactly (casing included). If the glossary row disagrees with the codebase, the codebase wins — record a glossary gap.git grep -nF '"<key>"' "$REF" -- web/i18n/en-US/<file>.json - For zh/ja siblings, look up the same key in the matching locale:
Each prints one line with the localized string; the zh/ja doc's bolded term must match it exactly.git grep -nF '"<key>"' "$REF" -- web/i18n/zh-Hans/<file>.json git grep -nF '"<key>"' "$REF" -- web/i18n/ja-JP/<file>.json
Step 6 — Check general terms against the glossary
For candidates that are not UI labels, and for terms noticed while reading the prose:
- Find the term's row:
grep -in '<term>' writing-guides/glossary.md. Expected output: the table row(s) containing the term; no hit means the term is not standardized (consider it for Glossary Gaps if it recurs). - Verify the file's usage against the column for its language — English column for
en/, Chinese forzh/, Japanese forja/. Honor the row's Notes (casing rules, context restrictions). Flag every deviation with its line number.
Step 7 — Report
Report findings in this format, then STOP. Do not edit any file until the user responds.
## Terminology Check Results
Checked against Dify codebase `origin/<branch>` at `<short REF>`.
### File: {path}
**General Terms**
- ✅ No issues found
OR
- ⚠️ Line {n}: "{found}" should be "{expected}" per glossary
**UI Labels**
- ✅ All UI labels (bolded terms and feature section headings) match codebase
OR
- ⚠️ Line {n}: **{label}** — codebase says "{expected}" (web/i18n/<locale>/<file>.json, key "<key>")
**Glossary Gaps**
- Terms used in docs but missing from glossary: {list}
- Glossary entries outdated compared to codebase: {list}
Step 8 — Glossary updates (only after user approval)
If the user approves fixes for Glossary Gaps:
- Edit
writing-guides/glossary.mdwith the approved rows. - Regenerate the termbase. In the docs repo:
Must printpython3 tools/translate/derive-termbase.pyGenerated .../tools/translate/termbase_i18n.md. - Verify sync:
Must printpython3 tools/translate/derive-termbase.py --checktermbase_i18n.md is in sync with glossary.md.and exit 0.git diff tools/translate/termbase_i18n.mdmust show only rows corresponding to the approved glossary edits.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/dify-docs-terminology-check-ms5lrg77' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/dify-docs-terminology-check-ms5lrg77/download' --output '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md.part' && mv '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md.part' '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md' && test -s '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/dify-docs-terminology-check' && cp -R '.skill-downloads/dify-docs-terminology-check-ms5lrg77' '.claude/skills/dify-docs-terminology-check'Cursor
test -f '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md' && test -s '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/dify-docs-terminology-check' && cp -R '.skill-downloads/dify-docs-terminology-check-ms5lrg77' '.cursor/skills/dify-docs-terminology-check'Codex
test -f '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md' && test -s '.skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/dify-docs-terminology-check' && cp -R '.skill-downloads/dify-docs-terminology-check-ms5lrg77' '.agents/skills/dify-docs-terminology-check'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/dify-docs-terminology-check-ms5lrg77'openskills read 'dify-docs-terminology-check-ms5lrg77'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Supabase Docs Authoring
Documentation
Write, edit, and review Supabase documentation content including guides, tutorials, reference docs, and partials. Follow style guides and MDX/TOML validation rules.
Create Architecture Decision Record
Documentation
Create a new Architecture Decision Record with sequential numbering, register it in the AgentDB graph, and link related ADRs.
Plan update with deep research
Documentation
Updates a plan document by launching parallel subagents to analyze a topic across all compiler passes, then consolidates findings into the plan doc.