一键导入
tr
Translate text between Japanese and English. Auto-detects source language. Use --hq for high-quality (sonnet), --fast for standard (haiku).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Translate text between Japanese and English. Auto-detects source language. Use --hq for high-quality (sonnet), --fast for standard (haiku).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guided development workflow that orchestrates planning, review, implementation, testing, and rule maintenance. Use this skill whenever the user wants to develop a feature, fix a bug, refactor code, or make any code changes following a structured process — even if they don't explicitly mention "workflow" and simply describe what they want built or fixed.
Check code changes for .claude/rules/ compliance. Use this skill when you need to verify that code changes follow project coding rules, whether as part of dev-workflow or standalone. Triggers on: rule compliance check, rules review, verify conventions, check coding standards. Best suited for hard rules (naming, imports, placement, explicit prohibitions); intent-style rules are checked on a best-effort basis.
Consult with a peer engineer for plan review, code review, implementation discussions, or problem-solving brainstorming. Use when you need a second opinion, want to validate your approach, or check for overlooked issues.
Asks Codex CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
Review uncommitted diff for content unsuitable for publication to a public repository — secrets/credentials, user-specific absolute paths, internal-only URLs/hostnames, and personal identifiers. Each iteration dispatches a fresh subagent that returns findings; the main thread applies the subagent's mechanical fixes and re-dispatches until the subagent declares no remaining findings or max iterations is reached. Non-interactive — no user prompts. Use as a final gate before publishing changes; designed to be called from non-interactive routines such as dev-workflow's hooks.on_complete or dev-workflow-triage's per-Finding sub-flow.
Refactor verbose or unnatural natural-language prose — code comments, test descriptions, docstrings, user-facing text — into concise, native-sounding prose in a configured target language, using a sonnet subagent by default. Two modes: file mode rewrites a file's target-language prose in place; text mode returns the refactored text. Preserves code, identifiers, and proper-noun terms while translating ordinary technical vocabulary into the target language. Non-interactive — no user prompts. Use after generating prose with a model prone to verbosity, or to polish text before presenting it.
| name | tr |
| description | Translate text between Japanese and English. Auto-detects source language. Use --hq for high-quality (sonnet), --fast for standard (haiku). |
Translate text using Claude subagents.
/tr <text to translate>
/tr --to <lang> <text to translate>
/tr --from <lang> <text to translate>
/tr --hq <text to translate>
/tr --fast <text to translate>
--hq: Force high-quality translation (sonnet model)--fast: Force standard translation (haiku model)--to <lang>: Specify target language (e.g., zh, fr, ko)--from <lang>: Specify source language (e.g., ja, en, zh)Users can configure defaults in translate.local.md:
.claude/translate.local.md (takes precedence)~/.claude/translate.local.mdIf both files exist, project-level settings take precedence.
---
default_quality: hq # or "fast" (default)
primary_language: ja # Language to detect (default: ja)
secondary_language: en # Default target when primary detected (default: en)
---
/tr こんにちは
/tr Hello, how are you?
/tr Bonjour # French → Japanese (default)
/tr --to zh Hello, world!
/tr --from ja Konnichiwa
/tr --from en --to ja Hello
/tr --hq この文章を翻訳してください
/tr --fast --to fr Hello, world!
Check for settings file: Search for translate.local.md in the following locations:
.claude/translate.local.md~/.claude/translate.local.mdSettings file resolution:
Parse YAML frontmatter for settings:
default_quality: If hq, default to sonnet modelprimary_language: Language to detect (default: ja for Japanese)secondary_language: Target when primary detected (default: en for English)fast quality, ja/en languagesParse options:
--hq is present → use tr-hq agent (sonnet)--fast is present → use tr agent (haiku)--hq and --fast → --hq takes priorityConstruct prompt for agent: Build the prompt with settings and text
--to/--from options override settings file, which overrides defaultsprimary: <primary_language>, secondary: <secondary_language>--from <lang> is specified, include: --from <lang>--to <lang> is specified, include: --to <lang>Invoke agent: Use Task tool with the appropriate agent (tr or tr-hq)
Return result: The agent returns only the translated text