[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AVBEYAVK4PXPN32KNHB2X":3,"skill-same:01M69AVBEYAVK4PXPN32KNHB2X":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M69AVBEYAVK4PXPN32KNHB2X","azure-ai-contentsafety-ts",null,"Analyze text and images for harmful content using Azure AI Content Safety (@azure-rest\u002Fai-content-safety). Use when moderating user-generated content, detecting hate speech, violence, sexual content, or self-harm, or managing custom blocklists.","microsoft\u002Fskills","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AJYYW4E1RMSYCQDJ4FJSH",3204,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-typescript\u002Fskills\u002Fazure-ai-contentsafety-ts\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[24,25,26,27,9,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"azure ai","azure","azure ai contentsafety ts","when","custom","for","detecting","ai content","ai-content","content safety","self","images","use","generated","text","analyze","Safety","REST","speech","2026-11-10 10:12:30",false,"---\nname: azure-ai-contentsafety-ts\ndescription: Analyze text and images for harmful content using Azure AI Content Safety (@azure-rest\u002Fai-content-safety). Use when moderating user-generated content, detecting hate speech, violence, sexual content, or self-harm, or managing custom blocklists.\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"1.0.0\"\n  package: '@azure-rest\u002Fai-content-safety'\n---\n\n# Azure AI Content Safety REST SDK for TypeScript\n\nAnalyze text and images for harmful content with customizable blocklists.\n\n## Installation\n\n```bash\nnpm install @azure-rest\u002Fai-content-safety @azure\u002Fidentity @azure\u002Fcore-auth\n```\n\n## Environment Variables\n\n```bash\nCONTENT_SAFETY_ENDPOINT=https:\u002F\u002F\u003Cresource>.cognitiveservices.azure.com\nCONTENT_SAFETY_KEY=\u003Capi-key>\nAZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production\n```\n\n## Authentication\n\n**Important**: This is a REST client. `ContentSafetyClient` is a **function**, not a class.\n\n### API Key\n\n```typescript\nimport ContentSafetyClient from \"@azure-rest\u002Fai-content-safety\";\nimport { AzureKeyCredential } from \"@azure\u002Fcore-auth\";\n\nconst client = ContentSafetyClient(\n  process.env.CONTENT_SAFETY_ENDPOINT!,\n  new AzureKeyCredential(process.env.CONTENT_SAFETY_KEY!)\n);\n```\n\n### DefaultAzureCredential\n\n```typescript\nimport ContentSafetyClient from \"@azure-rest\u002Fai-content-safety\";\nimport { DefaultAzureCredential, ManagedIdentityCredential } from \"@azure\u002Fidentity\";\n\n\u002F\u002F Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\nconst credential = new DefaultAzureCredential({requiredEnvVars: [\"AZURE_TOKEN_CREDENTIALS\"]});\n\u002F\u002F Or use a specific credential directly in production:\n\u002F\u002F See https:\u002F\u002Flearn.microsoft.com\u002Fjavascript\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-node-latest#credential-classes\n\u002F\u002F const credential = new ManagedIdentityCredential();\n\nconst client = ContentSafetyClient(\n  process.env.CONTENT_SAFETY_ENDPOINT!,\n  credential\n);\n```\n\n## Analyze Text\n\n```typescript\nimport ContentSafetyClient, { isUnexpected } from \"@azure-rest\u002Fai-content-safety\";\n\nconst result = await client.path(\"\u002Ftext:analyze\").post({\n  body: {\n    text: \"Text content to analyze\",\n    categories: [\"Hate\", \"Sexual\", \"Violence\", \"SelfHarm\"],\n    outputType: \"FourSeverityLevels\"  \u002F\u002F or \"EightSeverityLevels\"\n  }\n});\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nfor (const analysis of result.body.categoriesAnalysis) {\n  console.log(`${analysis.category}: severity ${analysis.severity}`);\n}\n```\n\n## Analyze Image\n\n### Base64 Content\n\n```typescript\nimport { readFileSync } from \"node:fs\";\n\nconst imageBuffer = readFileSync(\".\u002Fimage.png\");\nconst base64Image = imageBuffer.toString(\"base64\");\n\nconst result = await client.path(\"\u002Fimage:analyze\").post({\n  body: {\n    image: { content: base64Image }\n  }\n});\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nfor (const analysis of result.body.categoriesAnalysis) {\n  console.log(`${analysis.category}: severity ${analysis.severity}`);\n}\n```\n\n### Blob URL\n\n```typescript\nconst result = await client.path(\"\u002Fimage:analyze\").post({\n  body: {\n    image: { blobUrl: \"https:\u002F\u002Fstorage.blob.core.windows.net\u002Fcontainer\u002Fimage.png\" }\n  }\n});\n```\n\n## Blocklist Management\n\n### Create Blocklist\n\n```typescript\nconst result = await client\n  .path(\"\u002Ftext\u002Fblocklists\u002F{blocklistName}\", \"my-blocklist\")\n  .patch({\n    contentType: \"application\u002Fmerge-patch+json\",\n    body: {\n      description: \"Custom blocklist for prohibited terms\"\n    }\n  });\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nconsole.log(`Created: ${result.body.blocklistName}`);\n```\n\n### Add Items to Blocklist\n\n```typescript\nconst result = await client\n  .path(\"\u002Ftext\u002Fblocklists\u002F{blocklistName}:addOrUpdateBlocklistItems\", \"my-blocklist\")\n  .post({\n    body: {\n      blocklistItems: [\n        { text: \"prohibited-term-1\", description: \"First blocked term\" },\n        { text: \"prohibited-term-2\", description: \"Second blocked term\" }\n      ]\n    }\n  });\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nfor (const item of result.body.blocklistItems ?? []) {\n  console.log(`Added: ${item.blocklistItemId}`);\n}\n```\n\n### Analyze with Blocklist\n\n```typescript\nconst result = await client.path(\"\u002Ftext:analyze\").post({\n  body: {\n    text: \"Text that might contain blocked terms\",\n    blocklistNames: [\"my-blocklist\"],\n    haltOnBlocklistHit: false\n  }\n});\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\n\u002F\u002F Check blocklist matches\nif (result.body.blocklistsMatch) {\n  for (const match of result.body.blocklistsMatch) {\n    console.log(`Blocked: \"${match.blocklistItemText}\" from ${match.blocklistName}`);\n  }\n}\n```\n\n### List Blocklists\n\n```typescript\nconst result = await client.path(\"\u002Ftext\u002Fblocklists\").get();\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nfor (const blocklist of result.body.value ?? []) {\n  console.log(`${blocklist.blocklistName}: ${blocklist.description}`);\n}\n```\n\n### Delete Blocklist\n\n```typescript\nawait client.path(\"\u002Ftext\u002Fblocklists\u002F{blocklistName}\", \"my-blocklist\").delete();\n```\n\n## Harm Categories\n\n| Category | API Term | Description |\n|----------|----------|-------------|\n| Hate and Fairness | `Hate` | Discriminatory language targeting identity groups |\n| Sexual | `Sexual` | Sexual content, nudity, pornography |\n| Violence | `Violence` | Physical harm, weapons, terrorism |\n| Self-Harm | `SelfHarm` | Self-injury, suicide, eating disorders |\n\n## Severity Levels\n\n| Level | Risk | Recommended Action |\n|-------|------|-------------------|\n| 0 | Safe | Allow |\n| 2 | Low | Review or allow with warning |\n| 4 | Medium | Block or require human review |\n| 6 | High | Block immediately |\n\n**Output Types**:\n- `FourSeverityLevels` (default): Returns 0, 2, 4, 6\n- `EightSeverityLevels`: Returns 0-7\n\n## Content Moderation Helper\n\n```typescript\nimport ContentSafetyClient, { \n  isUnexpected, \n  TextCategoriesAnalysisOutput \n} from \"@azure-rest\u002Fai-content-safety\";\n\ninterface ModerationResult {\n  isAllowed: boolean;\n  flaggedCategories: string[];\n  maxSeverity: number;\n  blocklistMatches: string[];\n}\n\nasync function moderateContent(\n  client: ReturnType\u003Ctypeof ContentSafetyClient>,\n  text: string,\n  maxAllowedSeverity = 2,\n  blocklistNames: string[] = []\n): Promise\u003CModerationResult> {\n  const result = await client.path(\"\u002Ftext:analyze\").post({\n    body: { text, blocklistNames, haltOnBlocklistHit: false }\n  });\n\n  if (isUnexpected(result)) {\n    throw result.body;\n  }\n\n  const flaggedCategories = result.body.categoriesAnalysis\n    .filter(c => (c.severity ?? 0) > maxAllowedSeverity)\n    .map(c => c.category!);\n\n  const maxSeverity = Math.max(\n    ...result.body.categoriesAnalysis.map(c => c.severity ?? 0)\n  );\n\n  const blocklistMatches = (result.body.blocklistsMatch ?? [])\n    .map(m => m.blocklistItemText!);\n\n  return {\n    isAllowed: flaggedCategories.length === 0 && blocklistMatches.length === 0,\n    flaggedCategories,\n    maxSeverity,\n    blocklistMatches\n  };\n}\n```\n\n## API Endpoints\n\n| Operation | Method | Path |\n|-----------|--------|------|\n| Analyze Text | POST | `\u002Ftext:analyze` |\n| Analyze Image | POST | `\u002Fimage:analyze` |\n| Create\u002FUpdate Blocklist | PATCH | `\u002Ftext\u002Fblocklists\u002F{blocklistName}` |\n| List Blocklists | GET | `\u002Ftext\u002Fblocklists` |\n| Delete Blocklist | DELETE | `\u002Ftext\u002Fblocklists\u002F{blocklistName}` |\n| Add Blocklist Items | POST | `\u002Ftext\u002Fblocklists\u002F{blocklistName}:addOrUpdateBlocklistItems` |\n| List Blocklist Items | GET | `\u002Ftext\u002Fblocklists\u002F{blocklistName}\u002FblocklistItems` |\n| Remove Blocklist Items | POST | `\u002Ftext\u002Fblocklists\u002F{blocklistName}:removeBlocklistItems` |\n\n## Key Types\n\n```typescript\nimport ContentSafetyClient, {\n  isUnexpected,\n  AnalyzeTextParameters,\n  AnalyzeImageParameters,\n  TextCategoriesAnalysisOutput,\n  ImageCategoriesAnalysisOutput,\n  TextBlocklist,\n  TextBlocklistItem\n} from \"@azure-rest\u002Fai-content-safety\";\n```\n\n## Best Practices\n\n1. **Always use isUnexpected()** - Type guard for error handling\n2. **Set appropriate thresholds** - Different categories may need different severity thresholds\n3. **Use blocklists for domain-specific terms** - Supplement AI detection with custom rules\n4. **Log moderation decisions** - Keep audit trail for compliance\n5. **Handle edge cases** - Empty text, very long text, unsupported image formats\n","# Azure AI Content Safety REST SDK for TypeScript\n\nAnalyze text and images for harmful content with customizable blocklists.\n\n## Installation\n\n```bash\nnpm install @azure-rest\u002Fai-content-safety @azure\u002Fidentity @azure\u002Fcore-auth\n```\n\n## Environment Variables\n\n```bash\nCONTENT_SAFETY_ENDPOINT=https:\u002F\u002F\u003Cresource>.cognitiveservices.azure.com\nCONTENT_SAFETY_KEY=\u003Capi-key>\nAZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production\n```\n\n## Authentication\n\n**Important**: This is a REST client. `ContentSafetyClient` is a **function**, not a class.\n\n### API Key\n\n```typescript\nimport ContentSafetyClient from \"@azure-rest\u002Fai-content-safety\";\nimport { AzureKeyCredential } from \"@azure\u002Fcore-auth\";\n\nconst client = ContentSafetyClient(\n  process.env.CONTENT_SAFETY_ENDPOINT!,\n  new AzureKeyCredential(process.env.CONTENT_SAFETY_KEY!)\n);\n```\n\n### DefaultAzureCredential\n\n```typescript\nimport ContentSafetyClient from \"@azure-rest\u002Fai-content-safety\";\nimport { DefaultAzureCredential, ManagedIdentityCredential } from \"@azure\u002Fidentity\";\n\n\u002F\u002F Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\nconst credential = new DefaultAzureCredential({requiredEnvVars: [\"AZURE_TOKEN_CREDENTIALS\"]});\n\u002F\u002F Or use a specific credential directly in production:\n\u002F\u002F See https:\u002F\u002Flearn.microsoft.com\u002Fjavascript\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-node-latest#credential-classes\n\u002F\u002F const credential = new ManagedIdentityCredential();\n\nconst client = ContentSafetyClient(\n  process.env.CONTENT_SAFETY_ENDPOINT!,\n  credential\n);\n```\n\n## Analyze Text\n\n```typescript\nimport ContentSafetyClient, { isUnexpected } from \"@azure-rest\u002Fai-content-safety\";\n\nconst result = await client.path(\"\u002Ftext:analyze\").post({\n  body: {\n    text: \"Text content to analyze\",\n    categories: [\"Hate\", \"Sexual\", \"Violence\", \"SelfHarm\"],\n    outputType: \"FourSeverityLevels\"  \u002F\u002F or \"EightSeverityLevels\"\n  }\n});\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nfor (const analysis of result.body.categoriesAnalysis) {\n  console.log(`${analysis.category}: severity ${analysis.severity}`);\n}\n```\n\n## Analyze Image\n\n### Base64 Content\n\n```typescript\nimport { readFileSync } from \"node:fs\";\n\nconst imageBuffer = readFileSync(\".\u002Fimage.png\");\nconst base64Image = imageBuffer.toString(\"base64\");\n\nconst result = await client.path(\"\u002Fimage:analyze\").post({\n  body: {\n    image: { content: base64Image }\n  }\n});\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nfor (const analysis of result.body.categoriesAnalysis) {\n  console.log(`${analysis.category}: severity ${analysis.severity}`);\n}\n```\n\n### Blob URL\n\n```typescript\nconst result = await client.path(\"\u002Fimage:analyze\").post({\n  body: {\n    image: { blobUrl: \"https:\u002F\u002Fstorage.blob.core.windows.net\u002Fcontainer\u002Fimage.png\" }\n  }\n});\n```\n\n## Blocklist Management\n\n### Create Blocklist\n\n```typescript\nconst result = await client\n  .path(\"\u002Ftext\u002Fblocklists\u002F{blocklistName}\", \"my-blocklist\")\n  .patch({\n    contentType: \"application\u002Fmerge-patch+json\",\n    body: {\n      description: \"Custom blocklist for prohibited terms\"\n    }\n  });\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nconsole.log(`Created: ${result.body.blocklistName}`);\n```\n\n### Add Items to Blocklist\n\n```typescript\nconst result = await client\n  .path(\"\u002Ftext\u002Fblocklists\u002F{blocklistName}:addOrUpdateBlocklistItems\", \"my-blocklist\")\n  .post({\n    body: {\n      blocklistItems: [\n        { text: \"prohibited-term-1\", description: \"First blocked term\" },\n        { text: \"prohibited-term-2\", description: \"Second blocked term\" }\n      ]\n    }\n  });\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nfor (const item of result.body.blocklistItems ?? []) {\n  console.log(`Added: ${item.blocklistItemId}`);\n}\n```\n\n### Analyze with Blocklist\n\n```typescript\nconst result = await client.path(\"\u002Ftext:analyze\").post({\n  body: {\n    text: \"Text that might contain blocked terms\",\n    blocklistNames: [\"my-blocklist\"],\n    haltOnBlocklistHit: false\n  }\n});\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\n\u002F\u002F Check blocklist matches\nif (result.body.blocklistsMatch) {\n  for (const match of result.body.blocklistsMatch) {\n    console.log(`Blocked: \"${match.blocklistItemText}\" from ${match.blocklistName}`);\n  }\n}\n```\n\n### List Blocklists\n\n```typescript\nconst result = await client.path(\"\u002Ftext\u002Fblocklists\").get();\n\nif (isUnexpected(result)) {\n  throw result.body;\n}\n\nfor (const blocklist of result.body.value ?? []) {\n  console.log(`${blocklist.blocklistName}: ${blocklist.description}`);\n}\n```\n\n### Delete Blocklist\n\n```typescript\nawait client.path(\"\u002Ftext\u002Fblocklists\u002F{blocklistName}\", \"my-blocklist\").delete();\n```\n\n## Harm Categories\n\n| Category | API Term | Description |\n|----------|----------|-------------|\n| Hate and Fairness | `Hate` | Discriminatory language targeting identity groups |\n| Sexual | `Sexual` | Sexual content, nudity, pornography |\n| Violence | `Violence` | Physical harm, weapons, terrorism |\n| Self-Harm | `SelfHarm` | Self-injury, suicide, eating disorders |\n\n## Severity Levels\n\n| Level | Risk | Recommended Action |\n|-------|------|-------------------|\n| 0 | Safe | Allow |\n| 2 | Low | Review or allow with warning |\n| 4 | Medium | Block or require human review |\n| 6 | High | Block immediately |\n\n**Output Types**:\n- `FourSeverityLevels` (default): Returns 0, 2, 4, 6\n- `EightSeverityLevels`: Returns 0-7\n\n## Content Moderation Helper\n\n```typescript\nimport ContentSafetyClient, { \n  isUnexpected, \n  TextCategoriesAnalysisOutput \n} from \"@azure-rest\u002Fai-content-safety\";\n\ninterface ModerationResult {\n  isAllowed: boolean;\n  flaggedCategories: string[];\n  maxSeverity: number;\n  blocklistMatches: string[];\n}\n\nasync function moderateContent(\n  client: ReturnType\u003Ctypeof ContentSafetyClient>,\n  text: string,\n  maxAllowedSeverity = 2,\n  blocklistNames: string[] = []\n): Promise\u003CModerationResult> {\n  const result = await client.path(\"\u002Ftext:analyze\").post({\n    body: { text, blocklistNames, haltOnBlocklistHit: false }\n  });\n\n  if (isUnexpected(result)) {\n    throw result.body;\n  }\n\n  const flaggedCategories = result.body.categoriesAnalysis\n    .filter(c => (c.severity ?? 0) > maxAllowedSeverity)\n    .map(c => c.category!);\n\n  const maxSeverity = Math.max(\n    ...result.body.categoriesAnalysis.map(c => c.severity ?? 0)\n  );\n\n  const blocklistMatches = (result.body.blocklistsMatch ?? [])\n    .map(m => m.blocklistItemText!);\n\n  return {\n    isAllowed: flaggedCategories.length === 0 && blocklistMatches.length === 0,\n    flaggedCategories,\n    maxSeverity,\n    blocklistMatches\n  };\n}\n```\n\n## API Endpoints\n\n| Operation | Method | Path |\n|-----------|--------|------|\n| Analyze Text | POST | `\u002Ftext:analyze` |\n| Analyze Image | POST | `\u002Fimage:analyze` |\n| Create\u002FUpdate Blocklist | PATCH | `\u002Ftext\u002Fblocklists\u002F{blocklistName}` |\n| List Blocklists | GET | `\u002Ftext\u002Fblocklists` |\n| Delete Blocklist | DELETE | `\u002Ftext\u002Fblocklists\u002F{blocklistName}` |\n| Add Blocklist Items | POST | `\u002Ftext\u002Fblocklists\u002F{blocklistName}:addOrUpdateBlocklistItems` |\n| List Blocklist Items | GET | `\u002Ftext\u002Fblocklists\u002F{blocklistName}\u002FblocklistItems` |\n| Remove Blocklist Items | POST | `\u002Ftext\u002Fblocklists\u002F{blocklistName}:removeBlocklistItems` |\n\n## Key Types\n\n```typescript\nimport ContentSafetyClient, {\n  isUnexpected,\n  AnalyzeTextParameters,\n  AnalyzeImageParameters,\n  TextCategoriesAnalysisOutput,\n  ImageCategoriesAnalysisOutput,\n  TextBlocklist,\n  TextBlocklistItem\n} from \"@azure-rest\u002Fai-content-safety\";\n```\n\n## Best Practices\n\n1. **Always use isUnexpected()** - Type guard for error handling\n2. **Set appropriate thresholds** - Different categories may need different severity thresholds\n3. **Use blocklists for domain-specific terms** - Supplement AI detection with custom rules\n4. **Log moderation decisions** - Keep audit trail for compliance\n5. **Handle edge cases** - Empty text, very long text, unsupported image formats\n",{"name":5,"license":15,"metadata":48,"description":7},{"author":12,"package":49,"version":50},"@azure-rest\u002Fai-content-safety","1.0.0","main","3f5b461b2314e01c400564051e92469114c5b68f",".github\u002Fplugins\u002Fazure-sdk-typescript\u002Fskills\u002Fazure-ai-contentsafety-ts",368,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills","https:\u002F\u002Fmicrosoft.github.io\u002Fskills\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 06:48:25",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add microsoft\u002Fskills --skill azure-ai-contentsafety-ts",{"tool":67,"command":68},"bunx","bunx skills add microsoft\u002Fskills --skill azure-ai-contentsafety-ts",{"tool":70,"command":71},"pnpm","pnpm dlx skills add microsoft\u002Fskills --skill azure-ai-contentsafety-ts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-typescript\u002Fskills\u002Fazure-ai-contentsafety-ts\u002FSKILL.md",true,[],[76,84,110,147,174,195],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":83},"01M741JBE1VH8A2Y3FXX2P7386","azure-advisor-cost-optimization","Analyze Azure Advisor Cost\u002FIdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: \"find unused Azure resources\", \"what resources am I paying for but no longer using\", \"idle-resource savings\", \"historical idle-resource savings\", \"are these idle resources safe to delete\". Generic Cost, other subcategories, and cross-category requests use azure-advisor.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-advisor\u002Fskills\u002Fazure-advisor-cost-optimization\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":95,"publishedAt":43},"01M69B4JCRQV5SPXAFCKXQRV0H","skill-creator","Guide for creating effective skills for AI coding agents working with Azure SDKs and Microsoft Foundry services. Use when creating new skills or updating existing skills.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fskill-creator\u002FSKILL.md",[90],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[96,97,98,99,9,25,100,101,102,103,29,36,104,105,106,27,107,108,109],"skill creator","creator","ai coding agents","coding agents","foundry","microsoft foundry","coding","guide","Existing","services","new","sdks","with","ai coding",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":126,"publishedAt":43},"01M69B4FD57V1MYKRWAJJECTZ7","podcast-generation","Generate AI-powered podcast-style audio narratives using Azure OpenAI's GPT Realtime Mini model via WebSocket. Use when building text-to-speech features, audio narrative generation, podcast creation from content, or integrating with Azure OpenAI Realtime API for real audio output. Covers full-stack implementation from React frontend to Python FastAPI backend with WebSocket streaming.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpodcast-generation\u002FSKILL.md",[116,119,122,125],{"categoryNo":117,"categoryName":118,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":120,"categoryName":121,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":123,"categoryName":124,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},[127,128,129,130,25,131,132,133,134,135,136,137,138,139,140,27,141,142,38,143,144,145,146],"podcast generation","generation","podcast","frontend","azure openai","realtime","react","python","Audio","creation","model","fastapi backend","python fastapi","fastapi","api","streaming","narrative","stack","generate","features",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":154,"publishedAt":43},"01M69B4CYPM5SESY5ZWEFDXEQZ","microsoft-docs","Understand Microsoft technologies by querying official documentation. Use whenever the user asks how something works, wants tutorials, needs configuration options, limits, quotas, or best practices for any Microsoft technology (Azure, .NET, M365, Windows, Power Platform, etc.)—even if they don't mention \"docs.\" If the question is about understanding a concept rather than writing code, this is the right skill.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmicrosoft-docs\u002FSKILL.md",[153],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},[155,9,156,157,158,159,160,25,161,162,163,164,165,166,167,168,29,169,64,170,36,171,172,173],"microsoft docs","docs","documentation","windows","official","cli","MCP","writing","power platform","mcp server","back","concept","power","platform","technology","question","learn mcp","learn","best practices",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":181,"publishedAt":43},"01M69B49C3YPD1ZJ3NC0HPCY58","mcp-builder","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP), Node\u002FTypeScript (MCP SDK), or C#\u002F.NET (Microsoft MCP SDK).","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[180],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},[182,161,183,184,185,9,134,186,187,137,188,27,189,190,191,103,192,193,29,194,36,108],"mcp builder","builder","llms","sdk","typescript","model context protocol","building mcp servers","node","integrate","Tools","context","fastmcp","mcp sdk",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":209,"publishedAt":43},"01M69B467A7CDMFQ0T6Q0ZA12Q","kql","KQL language expertise for writing correct, efficient Kusto Query Language queries. Covers syntax gotchas, join patterns, dynamic types, datetime pitfalls, regex patterns, serialization, memory management, result-size discipline, and advanced functions (geo, vector, graph). USE THIS SKILL whenever writing, debugging, or reviewing KQL queries — even simple ones — because the gotchas section prevents the most common errors that waste tool calls and cause expensive retry cascades. Trigger on: KQL, Kusto, ADX, Azure Data Explorer, Fabric Real-Time Intelligence, EventHouse, Log Analytics, log analysis, data exploration, time series, anomaly detection, summarize, where clause, join, extend, project, let statement, parse operator, extract function, any mention of pipe-forward query syntax.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fkql\u002FSKILL.md",[201,204,205,208],{"categoryNo":202,"categoryName":203,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},{"categoryNo":206,"categoryName":207,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000033","数据分析师",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[197,25,162,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,29,226,227,228],"analytics","memory","summarize","exploration","parse","project","time","vector","join","log","pipe","datetime","discipline","time series","regex","anomaly","section","tool","geo"]