Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

docs-i18n-translate

Skill by Comfy-Org

Translates ComfyUI Mintlify docs from English MDX into ja, zh and ko using translate-i18n.ts. It skips unchanged pages, splits long pages into chunks and updates only new or changed changelog blocks. Built for maintainers of the ComfyUI docs.

  • Score 74
  • 325 stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install docs-i18n-translate

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Comfy-Org/docs /tmp/docs && mkdir -p ~/.claude/skills && cp -r /tmp/docs/.cursor/skills/docs-i18n-translate ~/.claude/skills/docs-i18n-translate

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install docs-i18n-translate in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through translating ComfyUI Mintlify documentation from English MDX into Japanese, Chinese and Korean. English files are the source of truth. Translated pages are written to per-language folders and snippets folders, and the work runs through the translate-i18n.ts script.

Translation is incremental. Each file stores a translationSourceHash in its frontmatter, so unchanged English pages are skipped. Long pages are split into chunks, and the changelog is updated block by block. The skill also covers glossary terms, truncation checks and docs.json navigation sync, which runs only when requested. It is aimed at maintainers who update ComfyUI docs and keep the translated pages in step.

Written from the project's SKILL.md and checked against it.

What it can do

  • pnpm translateTranslates pending English pages and snippets into all configured languages.
  • pnpm translate:dry-runPreviews the pending translation work.
  • pnpm translate:check-truncationScans translated output for truncated text.
  • pnpm translate:repair-truncatedRe-translates files flagged as truncated.
  • pnpm translate:repair-fencesAppends missing closing code fences without calling the API.
  • pnpm translate:sync-hashRefreshes hashes after manual zh, ja or ko edits, without calling the API.
  • pnpm translate:sync-docs-jsonSyncs docs.json navigation paths only.
  • pnpm glossary:syncRebuilds the glossary from the ComfyUI frontend locales.
  • Changelog update_blocksTranslates only new or changed changelog blocks, identified by label and block hash.

What you need

  • Bun
  • pnpm
  • An OpenAI-compatible API endpoint and key (TRANSLATE_API_BASE_URL, TRANSLATE_API_KEY)

Try asking

  • Translate the English pages I changed into ja, zh and ko
  • Dry run the translation to see which docs are still pending
  • Check the zh and ko output for truncated translations

Good to know

  • pnpm translate only handles MDX and does not edit docs.json.
  • Do not hand-edit glossary/frontend files; run glossary:sync instead.
  • Pages under skip_paths, such as built-in-nodes, are not translated automatically.
  • Requires Bun.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .cursor/skills/docs-i18n-translate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to docs-i18n-translate

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

docs-i18n-translate: common questions

Does this skill update docs.json?

Not during normal translation. pnpm translate does not touch docs.json, so navigation is synced separately with translate:sync-docs-json when the English nav changes.

How does it skip pages that have not changed?

Each translated file stores a translationSourceHash in its frontmatter. If the English source hash is unchanged, the file is skipped.

Which languages does it translate into?

The source describes translations into Japanese (ja), Chinese (zh) and Korean (ko).

How do I install docs-i18n-translate?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is docs-i18n-translate free?

The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.

Is docs-i18n-translate safe to use?

It scores 74 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to docs-i18n-translate?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

docs-i18n-translate Install

Add to stack

Loading.