Synthèse automatique
Réalise un audit en lecture seule de la terminologie d'un fichier de documentation Dify, en la confrontant au glossaire et aux libellés d'interface définis dans les fichiers i18n du dépôt de code.
Points forts
- Distingue explicitement les termes génériques (glossaire) des libellés d'interface (i18n du code), avec une procédure de classification déterministe.
- Épingle une référence git précise (commit) et la cite dans le rapport, ce qui rend les vérifications reproductibles.
- Couvre le fichier entier et ses versions zh/ja, pas seulement le diff, et exclut correctement la documentation des variables d'environnement.
- Signale les écarts de casse ou de formulation via une seconde recherche insensible à la casse.
Limites
- Suppose un accès local au dépôt Dify et une structure de glossaire/i18n propre à ce projet ; inutilisable tel quel ailleurs.
- L'audit est strictement en lecture seule : il ne corrige aucun terme, il se contente de rapporter.
- La qualité du résultat dépend du choix de branche fourni par l'utilisateur et de la fraîcheur du glossaire.
À lancer après avoir finalisé un brouillon de documentation, avant relecture ou ouverture de PR, pour vérifier que les termes correspondent au glossaire et aux libellés réels du produit.
À éviter si le dépôt Dify n'est pas accessible localement, ou si l'on cherche une correction automatique des termes plutôt qu'un simple rapport.
Analyse de sécurité
SûrThe 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.
Aucun point d'attention détecté
Comment cette analyse est faiteExemples
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.
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
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. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
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 doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/dify-docs-terminology-check-ms5lrg77'openskills read 'dify-docs-terminology-check-ms5lrg77'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/dify-docs-terminology-check-ms5lrg77/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Rédaction de docs Supabase
Documentation
Rédigez, éditez et révisez le contenu de la documentation Supabase : guides, tutoriels, références et partiels. Suivez les guides de style et les règles de validation MDX/TOML.
Créer un enregistrement de décision d'architecture
Documentation
Créer un nouveau ADR avec numérotation séquentielle, l'enregistrer dans le graphe AgentDB et le lier aux ADR associés.
Mise à jour de plan avec recherche approfondie
Documentation
Met à jour un document de plan en lançant des sous-agents en parallèle pour analyser un sujet sur tous les passes du compilateur, puis consolide les résultats.