Azure AI Content Safety for TypeScript

•
6
•

Moderates text and image content for harmful material and manages custom term blocklists using Azure AI Content Safety in TypeScript.

Azure AI Content Safety for TypeScript equips Claude with the exact implementation patterns and code snippets needed to integrate Microsoft Azure's Content Safety REST SDK into Node.js and TypeScript applications. It guides developers through multi-category harm detection (Hate, Sexual, Violence, and Self-Harm) across text and images, custom term blocklist management, and multi-level severity scoring. This skill is invaluable for developers building AI-driven applications, RAG pipelines, or user-generated content platforms that require robust automated moderation and policy enforcement.

Key Features

01Text and image content moderation across multiple severity levels
02Custom blocklist creation, update, item matching, and lifecycle management
036 GitHub stars
04Support for both Base64 inline image payloads and Azure Blob Storage URLs
05Detection across four standard harm categories: Hate, Sexual, Violence, and Self-Harm
06Multiple authentication methods including AzureKeyCredential and DefaultAzureCredential

Use Cases

01Enforcing domain-specific terminology rules and banned keyword lists in enterprise workflows
02Filtering RAG input queries and LLM output responses against compliance and safety guidelines
03Sanitizing user-submitted text and uploaded media before publishing to social or community platforms