This implements browser-native language detection using the experimental Language Detector API in client-side JavaScript or TypeScript apps. You get support checks, availability gating, model download flows, session management, and proper cleanup patterns for the new built-in capability. It covers permissions policy handling, confidence thresholding, and fallback strategies when the API isn't available. Worth noting this is a window-only browser API, so it won't help with server-side detection or cloud translation services. The procedures are thorough on lifecycle management and include specific guidance on iframe delegation and user activation requirements. Good if you're building progressive enhancement into a web app that needs client-side language detection without shipping a third-party model.
npx skills add https://github.com/webmaxru/agent-skills --skill language-detector-api