AGENT SKILL

translation-commands

Instant translation slash commands for a Vietnamese Android Automotive engineer working in Japan. Trigger this skill immediately and exclusively when the user message starts with or contains: - /jp_trans — translate Vietnamese or English text → Japanese - /vn_trans — translate Japanese or English text → Vietnamese - /en_trans — translate Japanese or Vietnamese text → English Rules for triggering: - User types /jp_trans, /vn_trans, or /en_trans followed by text → translate that text - User types the command alone with no text → translate the most recent block of text in the conversation - NEVER add explanations, commentary, greetings, or closing remarks - Output is the translated text ONLY — nothing else Domain: automotive software, Japanese business communication, forex trading. Trigger aggressively — any slash command matching the pattern above activates this skill instantly.

License 许可
MIT
最近更新
2026-07-21
Stars
★ 0
Forks
0

01 前言 Front Matter

name
translation-commands
description
Instant translation slash commands for a Vietnamese Android Automotive engineer working in Japan. Trigger this skill immediately and exclusively when the user message starts with or contains: - /jp_trans — translate Vietnamese or English text → Japanese - /vn_trans — translate Japanese or English text → Vietnamese - /en_trans — translate Japanese or Vietnamese text → English Rules for triggering: - User types /jp_trans, /vn_trans, or /en_trans followed by text → translate that text - User types the command alone with no text → translate the most recent block of text in the conversation - NEVER add explanations, commentary, greetings, or closing remarks - Output is the translated text ONLY — nothing else Domain: automotive software, Japanese business communication, forex trading. Trigger aggressively — any slash command matching the pattern above activates this skill instantly.

03 SKILL.md 正文

Translation Commands Skill

Commands

Command Input language(s) Output language
/jp_trans Vietnamese or English Japanese
/vn_trans Japanese or English Vietnamese
/en_trans Japanese or Vietnamese English

Core Rules

  1. Output = translation only. No preamble, no explanation, no "Here is the translation:", no closing remark.
  2. Keep technical terms as-is. Do not translate: API names, class names, function names, brand names, acronyms (AAOS, HAL, AIDL, IVI, CAN, ECU, FTMO, SL, TP, EMA, OEM, SDK, BrSE, FrontSE, ASPICE, etc.), Japanese business terms used as proper nouns.
  3. Context-aware register:
    • Japanese output → use 丁寧語/ビジネス敬語 by default (suitable for Japanese workplace)
    • Vietnamese output → use natural professional tone
    • English output → use professional/technical tone
  4. No command text in output. Strip the slash command itself before translating.
  5. Empty command = translate most recent text block in the conversation (the last substantial block before the command).
  6. Mixed language input: Detect the dominant language and translate accordingly.

Behavior Examples

/jp_trans

Input:  /jp_trans Tôi sẽ xem lại đoạn code liên quan đến Vehicle HAL và báo cáo kết quả vào ngày mai.
Output: Vehicle HAL に関連するコードを確認し、明日結果をご報告いたします。
Input:  /jp_trans The camera service is not binding correctly after SwitchUser event.
Output: SwitchUser イベント後、camera service が正しくバインドされていません。

/vn_trans

Input:  /vn_trans CarService の初期化処理でタイムアウトが発生しています。原因を調査中です。
Output: Đang xảy ra timeout trong quá trình khởi tạo CarService. Đang điều tra nguyên nhân.
Input:  /vn_trans The root cause is a race condition between the binder thread and the main thread.
Output: Nguyên nhân gốc rễ là race condition giữa binder thread và main thread.

/en_trans

Input:  /en_trans 車載カメラアプリのSuspendToRam後の復帰処理に問題があります。
Output: There is an issue with the recovery process after SuspendToRam in the vehicle camera application.
Input:  /en_trans Cần kiểm tra lại flow xử lý SwitchUser trong CarAudioService để tránh race condition.
Output: Need to re-examine the SwitchUser handling flow in CarAudioService to avoid race conditions.

Domain Vocabulary Reference

Keep the following terms untranslated in all outputs:

Automotive: AAOS, AOSP, Vehicle HAL, VHAL, AIDL, HIDL, CarService, CarAudioService, CarPropertyManager, IVI, ECU, CAN, LIN, ASPICE, ISO 26262, AUTOSAR, Binder IPC, SystemServer, SwitchUser, SuspendToRam, CarUxRestrictions, CarNotConnectedException

Android: Activity, Service, Fragment, ViewModel, LiveData, Coroutine, Flow, Gradle, ADB, SDK, AVD, Jetpack, MVVM, MVI, Repository, RecyclerView, BroadcastReceiver, ContentProvider

Business/Role: BrSE, FrontSE, PM, OEM, Tier1, Sprint, PR, MR, CI/CD, LGTM, WFH

Trading: FTMO, EMA, SL, TP, RR, SMC, S&D, Price Action, Pine Script, MT5, MQL5

Japanese business terms (when used in professional context): 進捗, 課題, 原因, 対策, 納期, 仕様, 確認, 承認, 報告


Register Guide for Japanese Output

Situation Register Example
Status report to customer 敬語 〜しております、〜いたします
Internal team message 丁寧語 〜しています、〜します
Technical documentation Plain/formal 〜する、〜である
Bug report / ticket Technical neutral 〜が発生する、〜を確認する

Default: 丁寧語 (polite, suitable for Japanese workplace peer/senior communication). If the source text is clearly informal (e.g., chat message between teammates), match informality.

04 同仓库更多 Skills