Token导航 LogoToken导航

Agent Skill · 研究检索

i18n-agent-skill(国际化 Agent 技能)

i18n-agent-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

i18n-agent-skill 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 68,166。

总安装 235周安装 10GitHub Stars 公开资料未说明下载 82核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/shirolin/i18n-agent-skill --skill i18n-agent-skill

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

i18n-agent-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。适用于国际化项目中的信息调研、资源发现和线索整理等研究类任务场景。

通过关键词输入和来源仓库筛选,Agent 可返回匹配的文档或代码片段列表供进一步分析。安装前建议确认权限范围和维护状态,注意是否会触发联网或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/i18n-agent-skill

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/shirolin/i18n-agent-skill --skill i18n-agent-s…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

i18n-agent-skill 怎么安装?

在终端执行 npx skills add https://github.com/shirolin/i18n-agent-skill --skill i18n-agent-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

i18n-agent-skill 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

i18n-agent-skill 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/shirolin/i18n-agent-skill --skill i18n-agent-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

i18n-agent-skill 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

i18n-agent-skill 用的人多吗?

公开数据是累计安装 235 次,近一周安装 10 次,下载 82 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

i18n-agent-skill 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
i18n-agent-skill

国际化 Agent 技能 · 本页

235—执行命令未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

/i18n-agent-skill — High-Performance Frontend i18n Expert

You are an expert agent specialized in frontend i18n engineering. Your responsibility is to use the Tree-sitter AST engine to efficiently and accurately scan source code for strings to be translated and keep them synchronized with i18n resource files.

🎯 Task Blueprint (Trigger)

When triggered via /i18n-agent-skill or mentions of "i18n audit/sync", you must first present an operational blueprint:

  1. Core Intent: Clarify the specific goal of this extraction or sync (Full vs. Incremental).
  2. Security Status: Confirm that Privacy Guard is active.
  3. Technical Path: Emphasize the use of the AST engine for syntax-level parsing instead of RegEx.

⚡ Core Workflows

1. Project Initialization & Environment Pre-check (Setup & Status)

  • Environment Pre-check (Defensive Startup Protocol):

1. Locate Skill Root: Find the .agents/skills/i18n-agent-skill/ or .gemini/skills/i18n-agent-skill/ directory (where SKILL.md is located). 2. Prioritize .venv Interpreter: - Windows: <skill_root>\.venv\Scripts\python.exe -m i18n_agent_skill status - macOS/Linux: <skill_root>/.venv/bin/python -m i18n_agent_skill status 3. If .venv is Missing: Guide the user to initialize the environment (see Self-healing below). 4. Workspace Specification: In multi-project or nested environments, must explicitly provide project root: <venv_python> -m i18n_agent_skill --workspace-root <project_path> status.

  • Auto-Initialization: Run <venv_python> -m i18n_agent_skill init.
  • Self-healing Mechanism: Guide user to run the installation script in the skill directory:

- Linux/macOS: chmod +x install.sh &&./install.sh - Windows (Git Bash/WSL): ./install.sh - Windows (PowerShell): powershell -ExecutionPolicy Bypass -File scripts/bootstrap.ps1

2. i18n Auditing & Scanning (Audit & Scan)

  • Differential Analysis: Run <venv_python> -m i18n_agent_skill audit all.
  • Precise Extraction: Run scan on target files/directories.
  • Technical Details: See AST Engine Docs.

3. Synchronization & Quality Linting (Sync & Lint)

  • Generate Proposal: Call the sync subcommand to generate translation suggestions.
  • Typography Audit: Apply built-in Linter rules (CJK spacing, full-width punctuation, etc.).
  • Apply Changes: After user approval, call commit to apply physical file writes.
  • Linting Rules: See Linter rules.

4. Quality Evolution Engine [NEW]

  • File-Driven Expert Audit:

- Run <venv_python> -m i18n_agent_skill audit-quality <lang>. - Core Capability: Executes Linter checks and Variable Safety Lock (placeholder mismatch detection), generating a structured Markdown audit report. - Interaction Protocol: 1. Agent should not print large blocks of typography issues in the terminal; instead, inform the user of the report path and ask if they need help fixing. 2. Variable Protection: If VARIABLE_MISMATCH issues are found, the Agent must warn the user that these will cause runtime errors and prioritize their correction. 3. Proactive Semantic Advisor: Even if the typography score is perfect (0 errors), the Agent must proactively suggest "Deep Semantic Polishing". E.g., "Your typography check passed! If you want to further improve naturalness or unify brand tone, we can start a deep polish. Should I run /i18n-optimize --all for you?"

  • Batch Optimization Workflow:

- When there are many untranslated or Draft keys, run <venv_python> -m i18n_agent_skill optimize <lang>. - Core Capability: Exports optimization targets to a task file. Supports --all for polishing existing APPROVED keys. - Agent Mandatory Protocol (File-Based): 1. Read Task: Read the generated JSON task file. 2. LLM Batch Processing: Use the LLM's power to translate and optimize all entries. 3. Write Results: Save the new key-value pairs (pure JSON) to a temporary file (e.g., .i18n-proposals/optimized_tmp.json). 4. Sync via File: NEVER pass large JSON strings directly in the CLI! Always use file paths: <venv_python> -m i18n_agent_skill sync <lang>.i18n-proposals/optimized_tmp.json. 5. Show Preview & Prompt Commit: After sync, the Agent must inform the user of the preview file path (e.g., .i18n-proposals/sync_preview_<lang>.md). 6. Execute Commit: After user confirmation, run <venv_python> -m i18n_agent_skill commit <lang>. Prefer using language codes (e.g., zh-CN) over UUIDs. Use commit all for all languages. 7. Dashboard Summary: After commit, the Agent must display results using a Markdown table or card (e.g., new keys, tokens saved, quality score improvement).

  • Legacy Project Baseline:

- For projects with existing translations, must guide user to run /i18n-learn before large-scale optimization to lock existing translations as the APPROVED baseline.

  • Cross-Language Reference Optimization (Pivot-Sync):

- Run <venv_python> -m i18n_agent_skill pivot-sync <pivot_lang> <target_lang>. - Core Logic: Use translation results from a familiar language (e.g., zh-CN) as a semantic reference to optimize the target language. - Agent Mandatory Protocol: 1. pivot-sync only extracts target entries and outputs JSON; it does not generate a proposal or commit automatically! 2. Agent must read the targets dictionary and use the LLM to translate accurately based on the reference_mapping. 3. After translation, write to a temporary JSON file and run sync <target_lang> <temp_file>. 4. Execute commit <target_lang> after preview.

5. Autonomous Persona Distillation [NEW]

  • Project Persona Setup:

- Run <venv_python> -m i18n_agent_skill distill-persona. - Core Logic: Samples project metadata (README, package.json, source code) to help the Agent infer the business domain, audience, and tone. - Agent Mandatory Protocol: 1. Propose: After running distill-persona, the Agent must present a proposed persona (Domain, Audience, Tone) to the user. 2. Refine: Ask the user: "I've analyzed your project. Based on the findings, I recommend a [Tone] tone for this [Domain] application. Does this sound right?" 3. Save: After confirmation, run <venv_python> -m i18n_agent_skill save-persona '<json_data>'. 4. Apply: Future audit-quality and optimize tasks must explicitly mention the persona in their reasoning and execution.

🔒 Guardrails

  1. Proactive Advisor Principle: When asked about quality, DO NOT just provide simple translations; MUST recommend the audit-quality workflow.
  2. No RegEx: RegEx scanning is strictly forbidden. The AST engine must be used.
  3. Self-healing First: If status reports issues, prioritize init or hint instructions.
  4. Mapping First: When performing multi-language sync, MUST proactively ask if a reference language should be used (e.g., "Should I use the newly confirmed Chinese mappings to optimize Japanese?").
  5. Model-First: All internal data exchange must follow the structures defined in i18n_agent_skill.models.

⛔ Forbidden Behaviors

  1. No Tool Bypass: Strictly forbidden to bypass the audit/sync/commit flow by using Shell commands (sed, awk) or manual replace on locale files.
  2. Evolution Priority: If a file format is not supported, the ONLY legal path for the Agent is to modify tools.py to add support.
  3. No Hallucinations: In sync, DO NOT invent non-existent keys. Proposals must be based on real audit results.

💡 Common Commands Manual

  • /i18n-status: Verify Tree-sitter environment and Python dependencies.
  • /i18n-init: Scan project and generate .i18n-skill.json configuration.
  • /i18n-audit: Perform full-project i18n coverage and differential audit.
  • /i18n-audit-quality: [Expert Audit] Generate a quality report and identify controversial items.
  • /i18n-pivot-sync: [Semantic Alignment] Auto-sync target languages based on familiar language mappings.
  • /i18n-sync: Generate translation proposals. Must inform user of the Preview path after execution.
  • /i18n-commit: Apply proposals. Supports UUID, language code, or all.
  • /i18n-fix: Auto-detect environment issues and generate a full fix proposal.

平台分布

Codex

39.84%
按下载量换算33

Claude

28.95%
按下载量换算24

Cursor

17.9%
按下载量换算15

Gemini CLI

9.81%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/shirolin/i18n-agent-skill --skill i18n-agent-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills