do.translate
Installation
SKILL.md
Translate (Smart Router)
This skill acts as a smart router for translation requests, automatically detecting the input type and invoking the correct specialized skills.
Workflow
1. Identify Input Type
- Extract the input from the user's request (e.g., an arXiv URL, a web URL, or a local PDF file path).
- Determine if the input is an arXiv paper. Examples:
- The URL contains
arxiv.org. - The URL contains
arxiv:followed by an ID. - The file is a PDF downloaded from arXiv.
- The URL contains
2. Route to Specialized Skill
- If arXiv Paper:
- Execute the
do.arxiv-translatorskill on the input. This is optimal for arXiv papers as it compiles LaTeX source directly.
- Execute the
- If Standard PDF (Non-arXiv):
- Step 2.1: Execute the
do.pdf-to-markdownskill on the PDF to convert it to high-fidelity Markdown. Wait for the conversion checklist and promises to complete. - Step 2.2: Execute the
do.translate-markdownskill on the resulting Markdown file to translate it into the target language.
- Step 2.1: Execute the