translator-api

Installation
SKILL.md

Translator API

Procedures

Step 1: Identify the browser integration surface

  1. Inspect the workspace for browser entry points, text-input flows, localization UI, and any existing AI abstraction layer.
  2. Execute node scripts/find-translator-targets.mjs . to inventory likely frontend files and existing Translator API markers when a Node runtime is available.
  3. If a Node runtime is unavailable, inspect the nearest package.json, HTML entry point, and framework bootstrap files manually to identify the browser app boundary.
  4. If the workspace contains multiple frontend apps, prefer the app that contains the active route, translation UI, or user-requested feature surface.
  5. If the inventory still leaves multiple plausible frontend targets, stop and ask which app should receive the Translator API integration.
  6. If the project is not a browser web app, stop and explain that this skill does not apply.

Step 2: Confirm API viability and choose the integration shape

  1. Read references/translator-reference.md before writing code.
  2. Read references/examples.md when the feature needs a session wrapper, download-progress UI, streaming output, cancellation, or cleanup shape.
  3. Read references/compatibility.md when preview flags, browser channels, iframe rules, or environment constraints matter.
  4. Read references/troubleshooting.md when support checks, session creation, translation, or cleanup fail.
  5. Verify that the feature runs in a secure Window context.
  6. Verify that the current frame is allowed to use the translator permissions-policy feature.
Related skills

More from webmaxru/agent-skills

Installs
104
GitHub Stars
27
First Seen
Mar 15, 2026