Token导航 LogoToken导航TokenDH.com
AI 工具敏感数据github未标认证来源可访问clear审计异常

qt-translation-assistantqt 翻译助手

Agent Skill

qt-translation-assistant 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

838

周安装

36

GitHub Stars

6

下载量

294
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qt-translation-assistant(qt 翻译助手)
来源仓库:https://github.com/re2zero/deepin-skills
仓库路径:skills/qt-translation-assistant
安装命令:
npx skills add https://github.com/re2zero/deepin-skills --skill qt-translation-assistant
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/re2zero/deepin-skills --skill qt-translation-assistant

简介

qt-translation-assistant 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态进行整理。

  • 可协助跟踪代码变更、分析协作事项或生成项目报告,提升开发流程效率。
  • 通过 npx skills add 命令从 GitHub 安装,需确认是否具备读取仓库元数据或 API 调用的权限。
  • 建议结合原始 README 了解具体输入格式与输出结构,避免误用导致信息偏差。
  • 使用前请评估是否会触发网络请求或写入操作,确保符合团队协作规范。

SKILL.md

Qt Translation Assistant Skill

Iron Laws

  1. Never modify original TS files without backup - Always preserve original content
  2. Validate AI translation quality - Verify translations are accurate and contextually appropriate
  3. Maintain translation consistency - Use consistent terminology across all translations
  4. Respect file encoding - Preserve UTF-8 encoding and special characters
  5. Minimal changes principle - Only modify translation content, preserve XML structure

Red Flags

  • User requests translation of non-TS files
  • User asks to translate without proper AI configuration
  • Requests to overwrite existing translations without verification
  • Asks to translate to unsupported language codes

Rationalization Table

ExcuseResponse
"Just translate everything quickly"Quality matters in localization - proper AI configuration and validation required
"We don't need consistent terminology"Inconsistent translations hurt user experience - consistency is critical
"Original files don't need backup"Always preserve originals - translation errors can corrupt content
"Rewrite the whole file"Only translation text should change - git diff will show other modifications

Quick Reference

Core Commands

# Translate entire directory of TS files
python translate.py /path/to/ts/files/

# Translate specific file
python translate.py /path/to/file.ts

# With custom batch size and workers
python translate.py /path/to/ts/files/ --batch-size 30 --max-workers 3

# Create configuration file
python translate.py --create-config

Configuration

{
  "api_url": "http://localhost:8080/v1/chat/completions",
  "api_key": "sk-uos-12345",
  "model": "qwen3-coder-flash",
  "temperature": 0.3
}

Common Mistakes & Fixes

Mistake: AI provider not configured properly

Fix: Create qt_translation_config.json with valid API credentials using --create-config

Mistake: Large files causing API timeouts

Fix: Adjust --batch-size parameter (try 20-50) and --max-workers (try 2-5)

Mistake: Language codes not detected correctly

Fix: Ensure TS files follow standard naming convention (e.g., project_zh_CN.ts, project_de.ts)

Mistake: Translation quality issues

Fix: Adjust model selection and temperature settings in configuration file

Mistake: Git diff shows many unnecessary changes

Fix: The tool only modifies translation content - any other changes indicate a bug that needs fixing

Architecture

This skill uses a parallel processing architecture:

  • TranslationWorker: Handles AI API calls with automatic retry and exponential backoff
  • QtTranslationAssistant: Main orchestrator with parallel batch processing
  • ThreadPoolExecutor: Manages concurrent translation workers (default 3)

Performance improvements over subagent architecture:

  • Direct API calls without subprocess overhead (~5-10x faster)
  • Larger batch sizes (default 30 vs previous 10)
  • Parallel workers (3 concurrent API calls vs sequential)
  • Error isolation (single batch failure doesn't affect others)

Key Features

  • Smart parsing of TS files to identify incomplete translations
  • Parallel batch processing with ThreadPoolExecutor
  • Support for multiple AI providers (OpenAI, Anthropic, DeepSeek, local servers)
  • Configurable batch size and worker count
  • Automatic retries with exponential backoff
  • Git diff-friendly modifications (only changes translation content)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

26.8%
按下载量换算79

OpenCode

22.4%
按下载量换算66

Codex

16.62%
按下载量换算49

Antigravity

12.02%
按下载量换算35

windsurf

7.72%
按下载量换算23

trae

3.53%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills