home/language/cam-translate-prompt

Cam Translate.prompt

GPTClaudeGemini··961 copies·updated 2026-07-14
cam-translate-prompt.prompt
---
description: Translate a Markdown file between English and Traditional Chinese (zh-TW) using the translate skill.
argument-hint: "<file>"
agent: agent
---

The user wants to translate a file. Follow these steps:

1. Use any extra slash-command input after `/cam-translate` as the file path. Ask only if the file was not specified.
2. Run `cam translate <file>` to detect the language direction and target path.
3. Read the source file content.
4. Use the `translate` skill (`.github/skills/translate/SKILL.md`) to produce the translation — preserve all YAML frontmatter structure, code blocks, and technical terms.
5. Write the translated content to the target path shown by `cam translate`.

If the target file already exists, show a diff summary and ask before overwriting.

Supported directions: English → zh-TW and zh-TW → English. The direction is inferred from the filename (`.zh-TW.md` files are Chinese; others are English).

when to use it

Community prompt sourced from the open-source GitHub repo sherrilla71940/copilot-asset-manager (MIT). A "Cam Translate.prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

languagecommunitygeneral

source

sherrilla71940/copilot-asset-manager · MIT