translate
Installation
SKILL.md
Translate files using the Bluente Translation API.
Step 1: Collect user inputs
Ask the user using AskUserQuestion. IMPORTANT: Every question MUST have at least 2 options (AskUserQuestion requires min 2 options per question). Use the user's "Other" free-text option for custom input.
Ask all 4 questions in a single AskUserQuestion call:
-
API Key — "What is your Bluente API key? (starts with sk-, get one at https://translate.bluente.com/settings/?type=apiKeys)"
- Options: "I have my key ready" (description: "I'll type it in the Other field below"), "I need to get a key" (description: "Visit https://translate.bluente.com/settings/?type=apiKeys")
- The user will type their actual key in the "Other" free-text field.
-
Source path — "What is the path to the file or folder you want to translate?"
- Options: "Current directory" (description: "Use the current working directory"), "Enter path" (description: "I'll specify a custom path in the Other field")
-
Target language — "What language do you want to translate to?"
- Options (pick 4, use the most common): "Arabic" , "French", "Spanish", "German"
- The user can pick "Other" for any other language.