Translation Detect banner
Linfee Linfee

Translation Detect

Development community

Description

--- name: translation-detect description: "同步原版更新、检测翻译状态、制定同步计划, 完成后自动建议执行翻译" --- 用户输入可以直接由代理提供或作为命令参数提供给你 - 你**必须**考虑它(如果不为空). 用户输入: $ARGUMENTS 目标: 将 spec-kit 更新到最新正式版本, 检测与当前中文版的差异, 制定同步和翻译计划. ## 第一阶段: 更新原版与准备 ### 1. 更新 spec-kit 到最新正式版本 - 确认 spec-kit 目录存在, 不存在则克隆: `git clone https://github.com/github/spec-kit.git spec-kit` - 获取最新版本: `cd spec-kit && git fetch --tags` - 查看可用版本: `git tag --sort=-v:refname | head -10` - 切换到最新正式版本: `git checkout <latest-tag>` - 记录当前版本: 记录 spec-kit 版本号和对应的 comm

Installation

Installs to ~/.claude/commands/linfee-spec-kit-cn-translation-detect.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Linfee/spec-kit-cn/HEAD/.claude/commands/translation-detect.md -o ~/.claude/commands/linfee-spec-kit-cn-translation-detect.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository