Dev & Engineering ✓ Microsoft · Official

Azure Translation for TypeScript

Build TypeScript applications for text translation, transliteration, language detection, and document translation.

50/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-translationtypescripttext-translationdocument-translation
+2transliterationlanguage-detection

What does this skill do, and when should you use it?

This skill provides implementation patterns for Azure Translation’s TypeScript REST-style clients. It covers text translation, transliteration, language detection, supported-language lookup, and both single and batch document translation. The examples show API-key, regional, and Azure identity authentication. It fits TypeScript teams using Azure Translator who want coding agents to generate code aligned with the documented SDK patterns.

Installs and configures Azure Translation TypeScript packages, reads Translator endpoint, subscription key, and region environment variables, creates text or document translation clients, calls the /translate, /languages, /transliterate, /detect, /document:translate, /document/batches, status, and formats endpoints, checks responses with isUnexpected, and produces translated text, language confidence scores, batch status, document status, or supported-format output. Batch document examples also use Azure Blob Storage container SAS URLs and extract an operation ID from the response headers.

Good fit
  • A TypeScript developer needs to translate English text into Spanish, French, or other target languages.
  • An application must detect the source language when users do not provide one.
  • A service needs transliteration between scripts, such as converting Simplified Chinese into Latin characters.
  • A backend team needs document translation using Azure identity credentials or an API key.
  • A workflow must start and monitor batch document translation using Blob Storage SAS URLs.

How do you install this skill?

Before you use it
  • Do not log subscription keys or translation content; use secret management and confirm data-residency, compliance, and third-party processing requirements.
  • The batch example grants source-container read and target-container read/write access through SAS URLs; constrain permissions, lifetime, and network scope, and confirm upload/write effects before proceeding.
  • The material does not document Azure endpoint reachability in mainland China, regional service differences, quotas, costs, or API-version compatibility.
  • Add guidance for retries, timeouts, cancellation, missing operation-location headers, partial success, and rollback of output files.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • Node.js
  • @azure-rest/ai-translation-text
  • @azure-rest/ai-translation-document
  • @azure/identity
  • @azure/storage-blob

Run npx skills add microsoft/skills in the project and select azure-ai-translation-ts in the installation wizard. The documented SDK dependencies are @azure-rest/ai-translation-text, @azure-rest/ai-translation-document, @azure/identity, and @azure/storage-blob for the batch-document example. Install by feature: npm install @azure-rest/ai-translation-text @azure/identity for text translation, or npm install @azure-rest/ai-translation-document @azure/identity for document translation.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-ai-translation-ts" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Use the Azure Translation TypeScript SDK to implement text translation, language detection, and batch document translation with isUnexpected error handling.

After installing the skill in the selected coding agent’s skills directory, trigger it for a TypeScript translation task such as: "Use the Azure Translation TypeScript SDK to implement text translation, language detection, and batch document translation with isUnexpected error handling." Set TRANSLATOR_ENDPOINT, TRANSLATOR_SUBSCRIPTION_KEY, and TRANSLATOR_REGION; when using DefaultAzureCredential, also set AZURE_TOKEN_CREDENTIALS. Then create the appropriate client, call the required endpoint, and validate the response.

What are this skill's strengths and limitations?

Pros
  • Covers clearly defined text, transliteration, language-detection, and document-translation workflows.
  • Includes API-key, regional-credential, DefaultAzureCredential, and managed-identity patterns.
  • Shows error checking, pagination, SAS URLs, and batch-operation monitoring.
  • Examples map directly to Azure REST client packages and are useful for generating TypeScript code.
Limitations
  • Requires an Azure Translator endpoint and credentials; batch document translation also requires Blob Storage SAS URLs.
  • The source provides SDK usage patterns but no pricing, quota, or deployment guidance.
  • No standalone test results or complete project template are provided for this individual skill.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure Translation for TypeScript this page ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure Text Translation for Python ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure Document Translation for Python ✓ Microsoft · Official 52 · Use with care ★ 2.7k 3mo ago MIT
Azure AI Content Safety for TypeScript ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure Document Intelligence for TypeScript ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
50/ 100 5-point scale 2.5 / 5
1Trust14 / 25 · 2.8/5

The document exposes API-key, regional, managed-identity, and time-limited SAS patterns, and recommends bounded SAS permissions, so the main authentication and data-flow choices are visible. Points are deducted because it does not require confirmation for external translation, cloud upload, or target-container writes, and it omits sensitive-text handling, secret logging, SAS leakage, revocation, and rollback guidance.

2Reliability8 / 20 · 2.0/5

It provides examples for translation, language detection, transliteration, document submission, polling, pagination, and isUnexpected checks. Points are deducted because the skill itself contains no executable tests, pinned compatibility versions, input boundaries, retry/timeout guidance, or diagnostics for missing headers, malformed responses, and other abnormal cases; static calibration also limits the score.

3Adaptability9 / 15 · 3.0/5

The name and description clearly target TypeScript/JavaScript Azure Translation applications and cover text, transliteration, detection, and single/batch document translation. Points are deducted because non-fit cases, input/output contracts, regional reachability, cost constraints, and mainland-China network or endpoint availability are not stated.

4Convention8 / 15 · 2.7/5

It has installation notes, environment variables, authentication alternatives, progressive topical examples, key types, and best practices; MIT licensing, author, and version metadata are present. Points are deducted for missing changelog, maintenance/update path, compatible SDK versions, FAQ, troubleshooting, and known limitations; installation notes also omit the storage dependency needed for the batch example.

5Effectiveness7 / 15 · 2.3/5

The examples address the main translation workflows and include reusable client calls, error checks, pagination, and SAS permission setup, so they can support the core development task. Points are deducted because there is no complete runnable project, full configuration context, verified output, or comparison with alternatives, and some snippets rely on client state established elsewhere; static calibration caps this at 7.

6Verifiability4 / 10 · 2.0/5

The skill gives concrete package names, environment variables, API paths, code patterns, and error checks, while the repository materials show general evaluation workflows and harness tests. Points are deducted because the supplied material does not show skill-specific committed tests, real execution results, independent corroboration, or revision-pinned API verification, so only limited static auditability is supported.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill include the Azure Translator service?
No. It provides TypeScript SDK installation and usage patterns; users still need an Azure Translator resource and valid credentials.
Do text and document translation use the same client?
No. Text translation uses @azure-rest/ai-translation-text, while document translation uses @azure-rest/ai-translation-document.
What is required for batch document translation?
You need time-limited SAS URLs for source and target Blob Storage containers, then start the batch operation and query its status and document results using the operation ID.
How should failed translation requests be handled?
The examples recommend checking isUnexpected(response) before reading the response body and throwing response.body.error for unexpected responses.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Text Translation for Python

Add real-time Azure text translation to Python applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Translation for Python

Batch-translate Azure Blob Storage documents in Python while preserving their original formats.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for TypeScript

Add text and image harm detection with customizable blocklists to TypeScript applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for TypeScript

Extract document text, tables, and structured fields in TypeScript applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Playwright Cloud Testing

Scale TypeScript Playwright tests on Azure-hosted browsers and publish results.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB TypeScript Skill

Gives TypeScript and JavaScript coding agents practical Cosmos DB data-access patterns.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs TypeScript Skill

Build TypeScript event-streaming applications with batching, partition-aware consumers, checkpointing, and Azure identity authentication.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for TypeScript

A practical guide for uploading, downloading, and managing Azure Blob Storage from TypeScript and JavaScript applications.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Search for TypeScript

Build TypeScript search apps with vector, hybrid, and semantic retrieval patterns.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Service Bus for TypeScript

Build enterprise messaging workflows with Azure Service Bus.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Projects for TypeScript

Practical TypeScript guidance for building Azure AI Foundry applications with project clients, agents, tools, and evaluations.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure PostgreSQL TypeScript Connector

A practical pg-based guide for secure, pooled Azure PostgreSQL access in Node.js and TypeScript.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

MCP Server Development Guide

A practical guide to building clear, testable MCP servers that let LLMs work with external APIs.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure File Share TypeScript Skill

Guides coding agents through Azure SMB file-share operations in TypeScript.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage TypeScript Skill

Build Azure Queue Storage workers that send, receive, inspect, and manage messages in TypeScript or JavaScript.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub Real-Time Messaging

Build TypeScript WebSocket messaging, group communication, and live notification features with Azure Web PubSub.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Microsoft 365 Agents SDK for TypeScript

Build TypeScript enterprise agents with routing, Express hosting, streaming responses, and Copilot Studio integration.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for TypeScript

Build TypeScript apps with centralized settings, feature flags, and runtime configuration refresh.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for TypeScript

Build real-time, bidirectional voice assistants with Azure in TypeScript.

★ 2.7k FS 44 Not recommended 3mo ago

Related skills