Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/linfee/spec-kit-cn/translation-workflowgit clone --depth 1 https://github.com/Linfee/spec-kit-cnWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/linfee/spec-kit-cn/translation-workflow)<a href="https://agentmods.dev/commands/linfee/spec-kit-cn/translation-workflow"><img src="https://agentmods.dev/badge/commands/linfee/spec-kit-cn/translation-workflow.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00010 | $0.00524 |
| Opus 5 | $0.00005 | $0.00262 |
| Sonnet 5 | $0.00002 | $0.00105 |
| Haiku 4.5 | $0.00001 | $0.00052 |
Grade A, and why
translation-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
用户输入: $ARGUMENTS
目标: 提供翻译工作流的快速参考和使用指南.
工作流概览
/translation-detect 同步原版 + 检测差异 + 制定计划
↓ (自动询问确认)
/translation-execute 执行翻译
↓ (自动询问确认)
/translation-review 审核质量 + 专项检查 + 发布验证
↓ (有问题时建议)
/translation-fix 修复问题
每个环节通过询问自动衔接, 用户可在任意节点中断.
独立工具
| 命令 | 用途 |
|---|---|
/punctuation-fix [路径] |
批量修复 Markdown 标点符号 |
./tests/e2e/quality-check.sh |
快速质量检查脚本(终端直接运行) |
常见场景
原版更新
/translation-detect # 一键同步原版, 检测差异, 自动衔接翻译
发布前检查
/translation-review # 全面审核 + 发布验证
修复翻译问题
/translation-fix # 修复所有问题
/translation-fix templates/xxx.md # 修复指定文件
标点符号修复
/punctuation-fix # 处理所有 md 文件
/punctuation-fix templates/ # 处理指定目录
rsync 安全规则
| 目录 | 策略 | 说明 |
|---|---|---|
scripts/, .devcontainer/, media/ |
rsync --delete | 完全同步原版 |
templates/, docs/, memory/ |
增量合并 | 禁止 --delete, 会丢失翻译 |
.github/ |
禁止同步 | 本项目有独立 CI/CD |
tests/e2e/ |
不同步 | 本项目自定义测试 |
测试脚本位置约束
自定义测试脚本统一放在 tests/e2e/, 不要放在 scripts/ (同步时会被 rsync --delete 覆盖).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 68 lines · 10 tokens per session scan A b0c084fdb436
translation-workflow is a command published in the GitHub repository Linfee/spec-kit-cn (695 stars, last pushed 1mo ago), licensed MIT. It adds 10 tokens to every session and 524 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
03-gap
Translate the visibility baseline + brand context into a ranked list of content actions that should move the needle. Identifies absent queries, contested queries, and competitor-displacement opportunities. Outputs contentpriorities.json validated against schema. Use after 02-audit; consumed by 04-content-brief.
issue-resolve
Drive an assessed gflow-cli issue (verdict CONFIRMED-BUG or LIKELY-BUG, with localized verifiable scope) to a fix: isolated worktree off develop, test-first fix, /gflow:check, then a DRAFT PR for human review. Mutating and gated — runs inside a strict action envelope (never merges, never spends credits, never marks a…
wp-polylang
Translate an existing WordPress site into a second language using Polylang.
auto
Manage language auto-detection settings.
translate-docs
翻译项目文档到指定语言.
brand-update
Recalibrate the brand pack after positioning, personas, pricing or naming changed — propagate the change through terminology, strings and every locale in the same edit.