This handles browser Translator API integration for on-device translation in JavaScript or TypeScript web apps. It walks you through capability checks, session lifecycle, model download UX, streaming output, and permissions policy wiring. The procedures are thorough: you get guarded session templates, abort handling, quota measurement, and fallback patterns for unsupported language pairs or blocked contexts. It won't help with cloud translation SDKs or server-side pipelines. If you're adding translation to a frontend and want to use the built-in browser API instead of shipping to a service, this gives you the full integration checklist and keeps you out of the common traps around secure contexts and iframe delegation.
npx skills add https://github.com/webmaxru/agent-skills --skill translator-api