[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AVWJ5JMK0RBSKBC5QEP1B":3,"skill-same:01M69AVWJ5JMK0RBSKBC5QEP1B":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M69AVWJ5JMK0RBSKBC5QEP1B","azure-identity-ts","Azure 服务身份认证配置","Authenticate to Azure services using Azure Identity library for JavaScript (@azure\u002Fidentity). Use when configuring authentication with DefaultAzureCredential, managed identity, service principals, or interactive browser login.","使用适用于 JavaScript 的 Azure Identity 库（@azure\u002Fidentity）对 Azure 服务进行身份认证。适用于配置 DefaultAzureCredential、托管标识、服务主体或交互式浏览器登录等认证方式。","microsoft\u002Fskills","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AJYYW4E1RMSYCQDJ4FJSH",3204,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-typescript\u002Fskills\u002Fazure-identity-ts\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTFDX7M21YT75733H52N36","身份与访问管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,10],"identity","azure","azure identity ts","services","when","managed","for","login","with","service","use","interactive","javascript","library","browser","authentication","2026-11-10 10:12:30",false,"---\nname: azure-identity-ts\ndescription: Authenticate to Azure services using Azure Identity library for JavaScript (@azure\u002Fidentity). Use when configuring authentication with DefaultAzureCredential, managed identity, service principals, or interactive browser login.\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"1.0.0\"\n  package: '@azure\u002Fidentity'\n---\n\n# Azure Identity library for TypeScript\n\nAuthentication library for Azure SDK clients using Microsoft Entra ID.\n\n## Installation\n\n```bash\nnpm install @azure\u002Fidentity\n\n# For Visual Studio Code credential support\nnpm install @azure\u002Fidentity-vscode\n```\n\n## Environment Variables\n\n### Service Principal (Secret)\n\n```bash\nAZURE_TENANT_ID=\u003Ctenant-id>\nAZURE_CLIENT_ID=\u003Cclient-id>\nAZURE_CLIENT_SECRET=\u003Cclient-secret>\nAZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production\n```\n\n### Service Principal (Certificate)\n\n```bash\nAZURE_TENANT_ID=\u003Ctenant-id>\nAZURE_CLIENT_ID=\u003Cclient-id>\nAZURE_CLIENT_CERTIFICATE_PATH=\u002Fpath\u002Fto\u002Fcert.pem\nAZURE_CLIENT_CERTIFICATE_PASSWORD=\u003Coptional-password>\n```\n\n### Workload Identity (Kubernetes)\n\n```bash\nAZURE_TENANT_ID=\u003Ctenant-id>\nAZURE_CLIENT_ID=\u003Cclient-id>\nAZURE_FEDERATED_TOKEN_FILE=\u002Fvar\u002Frun\u002Fsecrets\u002Ftokens\u002Fazure-identity\n```\n\n## DefaultAzureCredential (Recommended for Local Development)\n\n```typescript\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\n\u002F\u002F Use with any Azure SDK client\nimport { BlobServiceClient } from \"@azure\u002Fstorage-blob\";\nconst blobClient = new BlobServiceClient(\n  \"https:\u002F\u002F\u003Caccount>.blob.core.windows.net\",\n  credential\n);\n```\n\nSee [DefaultAzureCredential overview](https:\u002F\u002Faka.ms\u002Fazsdk\u002Fjs\u002Fidentity\u002Fcredential-chains#defaultazurecredential-overview) for the current credential chain order and defaults.\n\n## Managed Identity\n\n### System-Assigned\n\n```typescript\nimport { ManagedIdentityCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new ManagedIdentityCredential();\n```\n\n### User-Assigned (by Client ID)\n\n```typescript\nconst credential = new ManagedIdentityCredential({\n  clientId: \"\u003Cuser-assigned-client-id>\"\n});\n```\n\n### User-Assigned (by Resource ID)\n\n```typescript\nconst credential = new ManagedIdentityCredential({\n  resourceId: \"\u002Fsubscriptions\u002F\u003Csub>\u002FresourceGroups\u002F\u003Crg>\u002Fproviders\u002FMicrosoft.ManagedIdentity\u002FuserAssignedIdentities\u002F\u003Cname>\"\n});\n```\n\n### User-Assigned (by Object ID)\n\n```typescript\nconst credential = new ManagedIdentityCredential({\n  objectId: \"\u003Cuser-assigned-object-id>\"\n});\n```\n\n## Service Principal\n\n### Client Secret\n\n```typescript\nimport { ClientSecretCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new ClientSecretCredential(\n  \"\u003Ctenant-id>\",\n  \"\u003Cclient-id>\",\n  \"\u003Cclient-secret>\"\n);\n```\n\n### Client Certificate\n\n```typescript\nimport { ClientCertificateCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new ClientCertificateCredential(\n  \"\u003Ctenant-id>\",\n  \"\u003Cclient-id>\",\n  { certificatePath: \"\u002Fpath\u002Fto\u002Fcert.pem\" }\n);\n\n\u002F\u002F With password\nconst credentialWithPwd = new ClientCertificateCredential(\n  \"\u003Ctenant-id>\",\n  \"\u003Cclient-id>\",\n  { \n    certificatePath: \"\u002Fpath\u002Fto\u002Fcert.pem\",\n    certificatePassword: \"\u003Cpassword>\"\n  }\n);\n```\n\n## Interactive Authentication\n\n### Browser-Based Login\n\n```typescript\nimport { InteractiveBrowserCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new InteractiveBrowserCredential({\n  clientId: \"\u003Cclient-id>\",\n  tenantId: \"\u003Ctenant-id>\",\n  loginHint: \"user@example.com\"\n});\n```\n\n### Device Code Flow\n\n```typescript\nimport { DeviceCodeCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new DeviceCodeCredential({\n  clientId: \"\u003Cclient-id>\",\n  tenantId: \"\u003Ctenant-id>\",\n  userPromptCallback: (info) => {\n    console.log(info.message);\n    \u002F\u002F \"To sign in, use a web browser to open...\"\n  }\n});\n```\n\n## Custom Credential Chain\n\n```typescript\nimport { \n  ChainedTokenCredential,\n  ManagedIdentityCredential,\n  AzureCliCredential\n} from \"@azure\u002Fidentity\";\n\n\u002F\u002F Try managed identity first, fall back to CLI\nconst credential = new ChainedTokenCredential(\n  new ManagedIdentityCredential(),\n  new AzureCliCredential()\n);\n```\n\n## Developer Credentials\n\n### Visual Studio Code\n\n```typescript\nimport { useIdentityPlugin, VisualStudioCodeCredential } from \"@azure\u002Fidentity\";\nimport { vsCodePlugin } from \"@azure\u002Fidentity-vscode\";\n\nuseIdentityPlugin(vsCodePlugin);\n\nconst credential = new VisualStudioCodeCredential();\n```\n\n### Azure CLI\n\n```typescript\nimport { AzureCliCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new AzureCliCredential();\n\u002F\u002F Uses: az login\n```\n\n### Azure Developer CLI\n\n```typescript\nimport { AzureDeveloperCliCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new AzureDeveloperCliCredential();\n\u002F\u002F Uses: azd auth login\n```\n\n### Azure PowerShell\n\n```typescript\nimport { AzurePowerShellCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new AzurePowerShellCredential();\n\u002F\u002F Uses: Connect-AzAccount\n```\n\n## Sovereign Clouds\n\n```typescript\nimport { ClientSecretCredential, AzureAuthorityHosts } from \"@azure\u002Fidentity\";\n\n\u002F\u002F Azure Government\nconst credential = new ClientSecretCredential(\n  \"\u003Ctenant>\", \"\u003Cclient>\", \"\u003Csecret>\",\n  { authorityHost: AzureAuthorityHosts.AzureGovernment }\n);\n\n\u002F\u002F Azure China\nconst credentialChina = new ClientSecretCredential(\n  \"\u003Ctenant>\", \"\u003Cclient>\", \"\u003Csecret>\",\n  { authorityHost: AzureAuthorityHosts.AzureChina }\n);\n```\n\n## Bearer Token Provider\n\n```typescript\nimport { DefaultAzureCredential, getBearerTokenProvider } from \"@azure\u002Fidentity\";\n\nconst credential = new DefaultAzureCredential({requiredEnvVars: [\"AZURE_TOKEN_CREDENTIALS\"]});\n\n\u002F\u002F Create a function that returns tokens\nconst getAccessToken = getBearerTokenProvider(\n  credential,\n  \"https:\u002F\u002Fcognitiveservices.azure.com\u002F.default\"\n);\n\n\u002F\u002F Use with APIs that need bearer tokens\nconst token = await getAccessToken();\n```\n\n## Key Types\n\n```typescript\nimport type { \n  TokenCredential, \n  AccessToken, \n  GetTokenOptions \n} from \"@azure\u002Fcore-auth\";\n\nimport {\n  DefaultAzureCredential,\n  DefaultAzureCredentialOptions,\n  ManagedIdentityCredential,\n  ClientSecretCredential,\n  ClientCertificateCredential,\n  InteractiveBrowserCredential,\n  ChainedTokenCredential,\n  AzureCliCredential,\n  AzurePowerShellCredential,\n  AzureDeveloperCliCredential,\n  DeviceCodeCredential,\n  AzureAuthorityHosts\n} from \"@azure\u002Fidentity\";\n```\n\n## Custom Credential Implementation\n\n```typescript\nimport type { TokenCredential, AccessToken, GetTokenOptions } from \"@azure\u002Fcore-auth\";\n\nclass CustomCredential implements TokenCredential {\n  async getToken(\n    scopes: string | string[],\n    options?: GetTokenOptions\n  ): Promise\u003CAccessToken | null> {\n    \u002F\u002F Custom token acquisition logic\n    return {\n      token: \"\u003Caccess-token>\",\n      expiresOnTimestamp: Date.now() + 3600000\n    };\n  }\n}\n```\n\n## Debugging\n\n```typescript\nimport { setLogLevel, AzureLogger } from \"@azure\u002Flogger\";\n\nsetLogLevel(\"verbose\");\n\n\u002F\u002F Custom log handler\nAzureLogger.log = (...args) => {\n  console.log(\"[Azure]\", ...args);\n};\n```\n\n## Best Practices\n\n1. **Use `DefaultAzureCredential` for local development; use `ManagedIdentityCredential` or `WorkloadIdentityCredential` for production**\n2. **Never hardcode credentials** - Use environment variables or managed identity\n3. **Prefer managed identity** - No secrets to manage in production\n4. **Scope credentials appropriately** - Use user-assigned identity for multi-tenant scenarios\n5. **Handle token refresh** - Azure SDK handles this automatically\n6. **Use ChainedTokenCredential** - For custom fallback scenarios\n","# Azure Identity library for TypeScript\n\nAuthentication library for Azure SDK clients using Microsoft Entra ID.\n\n## Installation\n\n```bash\nnpm install @azure\u002Fidentity\n\n# For Visual Studio Code credential support\nnpm install @azure\u002Fidentity-vscode\n```\n\n## Environment Variables\n\n### Service Principal (Secret)\n\n```bash\nAZURE_TENANT_ID=\u003Ctenant-id>\nAZURE_CLIENT_ID=\u003Cclient-id>\nAZURE_CLIENT_SECRET=\u003Cclient-secret>\nAZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production\n```\n\n### Service Principal (Certificate)\n\n```bash\nAZURE_TENANT_ID=\u003Ctenant-id>\nAZURE_CLIENT_ID=\u003Cclient-id>\nAZURE_CLIENT_CERTIFICATE_PATH=\u002Fpath\u002Fto\u002Fcert.pem\nAZURE_CLIENT_CERTIFICATE_PASSWORD=\u003Coptional-password>\n```\n\n### Workload Identity (Kubernetes)\n\n```bash\nAZURE_TENANT_ID=\u003Ctenant-id>\nAZURE_CLIENT_ID=\u003Cclient-id>\nAZURE_FEDERATED_TOKEN_FILE=\u002Fvar\u002Frun\u002Fsecrets\u002Ftokens\u002Fazure-identity\n```\n\n## DefaultAzureCredential (Recommended for Local Development)\n\n```typescript\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\n\u002F\u002F Use with any Azure SDK client\nimport { BlobServiceClient } from \"@azure\u002Fstorage-blob\";\nconst blobClient = new BlobServiceClient(\n  \"https:\u002F\u002F\u003Caccount>.blob.core.windows.net\",\n  credential\n);\n```\n\nSee [DefaultAzureCredential overview](https:\u002F\u002Faka.ms\u002Fazsdk\u002Fjs\u002Fidentity\u002Fcredential-chains#defaultazurecredential-overview) for the current credential chain order and defaults.\n\n## Managed Identity\n\n### System-Assigned\n\n```typescript\nimport { ManagedIdentityCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new ManagedIdentityCredential();\n```\n\n### User-Assigned (by Client ID)\n\n```typescript\nconst credential = new ManagedIdentityCredential({\n  clientId: \"\u003Cuser-assigned-client-id>\"\n});\n```\n\n### User-Assigned (by Resource ID)\n\n```typescript\nconst credential = new ManagedIdentityCredential({\n  resourceId: \"\u002Fsubscriptions\u002F\u003Csub>\u002FresourceGroups\u002F\u003Crg>\u002Fproviders\u002FMicrosoft.ManagedIdentity\u002FuserAssignedIdentities\u002F\u003Cname>\"\n});\n```\n\n### User-Assigned (by Object ID)\n\n```typescript\nconst credential = new ManagedIdentityCredential({\n  objectId: \"\u003Cuser-assigned-object-id>\"\n});\n```\n\n## Service Principal\n\n### Client Secret\n\n```typescript\nimport { ClientSecretCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new ClientSecretCredential(\n  \"\u003Ctenant-id>\",\n  \"\u003Cclient-id>\",\n  \"\u003Cclient-secret>\"\n);\n```\n\n### Client Certificate\n\n```typescript\nimport { ClientCertificateCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new ClientCertificateCredential(\n  \"\u003Ctenant-id>\",\n  \"\u003Cclient-id>\",\n  { certificatePath: \"\u002Fpath\u002Fto\u002Fcert.pem\" }\n);\n\n\u002F\u002F With password\nconst credentialWithPwd = new ClientCertificateCredential(\n  \"\u003Ctenant-id>\",\n  \"\u003Cclient-id>\",\n  { \n    certificatePath: \"\u002Fpath\u002Fto\u002Fcert.pem\",\n    certificatePassword: \"\u003Cpassword>\"\n  }\n);\n```\n\n## Interactive Authentication\n\n### Browser-Based Login\n\n```typescript\nimport { InteractiveBrowserCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new InteractiveBrowserCredential({\n  clientId: \"\u003Cclient-id>\",\n  tenantId: \"\u003Ctenant-id>\",\n  loginHint: \"user@example.com\"\n});\n```\n\n### Device Code Flow\n\n```typescript\nimport { DeviceCodeCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new DeviceCodeCredential({\n  clientId: \"\u003Cclient-id>\",\n  tenantId: \"\u003Ctenant-id>\",\n  userPromptCallback: (info) => {\n    console.log(info.message);\n    \u002F\u002F \"To sign in, use a web browser to open...\"\n  }\n});\n```\n\n## Custom Credential Chain\n\n```typescript\nimport { \n  ChainedTokenCredential,\n  ManagedIdentityCredential,\n  AzureCliCredential\n} from \"@azure\u002Fidentity\";\n\n\u002F\u002F Try managed identity first, fall back to CLI\nconst credential = new ChainedTokenCredential(\n  new ManagedIdentityCredential(),\n  new AzureCliCredential()\n);\n```\n\n## Developer Credentials\n\n### Visual Studio Code\n\n```typescript\nimport { useIdentityPlugin, VisualStudioCodeCredential } from \"@azure\u002Fidentity\";\nimport { vsCodePlugin } from \"@azure\u002Fidentity-vscode\";\n\nuseIdentityPlugin(vsCodePlugin);\n\nconst credential = new VisualStudioCodeCredential();\n```\n\n### Azure CLI\n\n```typescript\nimport { AzureCliCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new AzureCliCredential();\n\u002F\u002F Uses: az login\n```\n\n### Azure Developer CLI\n\n```typescript\nimport { AzureDeveloperCliCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new AzureDeveloperCliCredential();\n\u002F\u002F Uses: azd auth login\n```\n\n### Azure PowerShell\n\n```typescript\nimport { AzurePowerShellCredential } from \"@azure\u002Fidentity\";\n\nconst credential = new AzurePowerShellCredential();\n\u002F\u002F Uses: Connect-AzAccount\n```\n\n## Sovereign Clouds\n\n```typescript\nimport { ClientSecretCredential, AzureAuthorityHosts } from \"@azure\u002Fidentity\";\n\n\u002F\u002F Azure Government\nconst credential = new ClientSecretCredential(\n  \"\u003Ctenant>\", \"\u003Cclient>\", \"\u003Csecret>\",\n  { authorityHost: AzureAuthorityHosts.AzureGovernment }\n);\n\n\u002F\u002F Azure China\nconst credentialChina = new ClientSecretCredential(\n  \"\u003Ctenant>\", \"\u003Cclient>\", \"\u003Csecret>\",\n  { authorityHost: AzureAuthorityHosts.AzureChina }\n);\n```\n\n## Bearer Token Provider\n\n```typescript\nimport { DefaultAzureCredential, getBearerTokenProvider } from \"@azure\u002Fidentity\";\n\nconst credential = new DefaultAzureCredential({requiredEnvVars: [\"AZURE_TOKEN_CREDENTIALS\"]});\n\n\u002F\u002F Create a function that returns tokens\nconst getAccessToken = getBearerTokenProvider(\n  credential,\n  \"https:\u002F\u002Fcognitiveservices.azure.com\u002F.default\"\n);\n\n\u002F\u002F Use with APIs that need bearer tokens\nconst token = await getAccessToken();\n```\n\n## Key Types\n\n```typescript\nimport type { \n  TokenCredential, \n  AccessToken, \n  GetTokenOptions \n} from \"@azure\u002Fcore-auth\";\n\nimport {\n  DefaultAzureCredential,\n  DefaultAzureCredentialOptions,\n  ManagedIdentityCredential,\n  ClientSecretCredential,\n  ClientCertificateCredential,\n  InteractiveBrowserCredential,\n  ChainedTokenCredential,\n  AzureCliCredential,\n  AzurePowerShellCredential,\n  AzureDeveloperCliCredential,\n  DeviceCodeCredential,\n  AzureAuthorityHosts\n} from \"@azure\u002Fidentity\";\n```\n\n## Custom Credential Implementation\n\n```typescript\nimport type { TokenCredential, AccessToken, GetTokenOptions } from \"@azure\u002Fcore-auth\";\n\nclass CustomCredential implements TokenCredential {\n  async getToken(\n    scopes: string | string[],\n    options?: GetTokenOptions\n  ): Promise\u003CAccessToken | null> {\n    \u002F\u002F Custom token acquisition logic\n    return {\n      token: \"\u003Caccess-token>\",\n      expiresOnTimestamp: Date.now() + 3600000\n    };\n  }\n}\n```\n\n## Debugging\n\n```typescript\nimport { setLogLevel, AzureLogger } from \"@azure\u002Flogger\";\n\nsetLogLevel(\"verbose\");\n\n\u002F\u002F Custom log handler\nAzureLogger.log = (...args) => {\n  console.log(\"[Azure]\", ...args);\n};\n```\n\n## Best Practices\n\n1. **Use `DefaultAzureCredential` for local development; use `ManagedIdentityCredential` or `WorkloadIdentityCredential` for production**\n2. **Never hardcode credentials** - Use environment variables or managed identity\n3. **Prefer managed identity** - No secrets to manage in production\n4. **Scope credentials appropriately** - Use user-assigned identity for multi-tenant scenarios\n5. **Handle token refresh** - Azure SDK handles this automatically\n6. **Use ChainedTokenCredential** - For custom fallback scenarios\n",{"name":5,"license":16,"metadata":52,"description":7},{"author":13,"package":53,"version":54},"@azure\u002Fidentity","1.0.0","main","3f5b461b2314e01c400564051e92469114c5b68f",".github\u002Fplugins\u002Fazure-sdk-typescript\u002Fskills\u002Fazure-identity-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":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add microsoft\u002Fskills --skill azure-identity-ts",{"tool":71,"command":72},"bunx","bunx skills add microsoft\u002Fskills --skill azure-identity-ts",{"tool":74,"command":75},"pnpm","pnpm dlx skills add microsoft\u002Fskills --skill azure-identity-ts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-typescript\u002Fskills\u002Fazure-identity-ts\u002FSKILL.md",true,[79,85,89],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"pack-manifest.md","REFERENCE","参考文档",4699,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fawesome-rayfin\u002Fblob\u002Fmain\u002Ftemplates\u002Funiversal-app\u002F.agents\u002Fskills\u002Fcapability-router\u002Fpack-manifest.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fbrowser-auth.md",10691,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-typescript\u002Fskills\u002Fazure-identity-ts\u002Freferences\u002Fbrowser-auth.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fcredential-types.md",10136,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fazure-sdk-typescript\u002Fskills\u002Fazure-identity-ts\u002Freferences\u002Fcredential-types.md",[94,102,129,165,197,223],{"skillNo":95,"name":96,"nameZh":17,"description":97,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"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":103,"name":104,"nameZh":105,"description":106,"descriptionZh":107,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":116,"publishedAt":47},"01M69B4JCRQV5SPXAFCKXQRV0H","skill-creator","Azure 技能创建与更新指南","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.","面向使用 Azure SDK 和 Microsoft Foundry 服务的 AI 编码智能体，指导其创建高效技能的指南。在创建新技能或更新现有技能时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fskill-creator\u002FSKILL.md",[110,113],{"categoryNo":111,"categoryName":112,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":114,"categoryName":115,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[117,118,119,120,10,32,121,122,123,124,37,41,125,34,126,35,127,39,128],"skill creator","creator","ai coding agents","coding agents","foundry","microsoft foundry","coding","guide","Existing","new","sdks","ai coding",{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":143,"publishedAt":47},"01M69B4FD57V1MYKRWAJJECTZ7","podcast-generation","AI 播客音频生成","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.","通过 WebSocket 使用 Azure OpenAI 的 GPT Realtime Mini 模型生成 AI 驱动的播客式音频叙述。当构建文本转语音功能、音频叙述生成、根据内容制作播客，或集成 Azure OpenAI Realtime API 以获得真实音频输出时使用。涵盖从 React 前端到 Python FastAPI 后端及 WebSocket 流式传输的全栈实现。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpodcast-generation\u002FSKILL.md",[137,140],{"categoryNo":138,"categoryName":139,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR5V816HPKFXP1YV56C07K","多媒体工程师",{"categoryNo":141,"categoryName":142,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR82CCRKG2HNYVFH5H6GZ0","音频与语音处理",[144,145,146,147,32,148,149,150,151,152,153,154,155,156,157,35,158,159,160,161,162,163,164],"podcast generation","generation","podcast","frontend","azure openai","realtime","react","python","Audio","creation","model","fastapi backend","python fastapi","fastapi","api","streaming","text","narrative","stack","generate","features",{"skillNo":166,"name":167,"nameZh":168,"description":169,"descriptionZh":170,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":171,"categories":172,"keywords":177,"publishedAt":47},"01M69B4CYPM5SESY5ZWEFDXEQZ","microsoft-docs","Microsoft 技术文档查询","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.","通过查询官方文档来理解 Microsoft 技术。当用户询问某项技术的工作原理、想要教程、需要任何 Microsoft 技术（Azure、.NET、M365、Windows、Power Platform 等）的配置选项、限制、配额或最佳实践时使用——即使他们没有提到\"文档\"。如果问题是为了理解概念而非编写代码，那么这就是合适的技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmicrosoft-docs\u002FSKILL.md",[173,176],{"categoryNo":174,"categoryName":175,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[178,10,179,180,181,182,183,32,184,185,186,187,188,189,190,191,37,192,68,193,41,194,195,196],"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":198,"name":199,"nameZh":200,"description":201,"descriptionZh":202,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":203,"categories":204,"keywords":209,"publishedAt":47},"01M69B49C3YPD1ZJ3NC0HPCY58","mcp-builder","MCP 服务器构建","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).","用于创建高质量 MCP（Model Context Protocol）服务器的指南，使大语言模型能够通过设计完善的工具与外部服务交互。当构建用于集成外部 API 或服务的 MCP 服务器时使用，无论采用 Python（FastMCP）、Node\u002FTypeScript（MCP SDK），还是 C#\u002F.NET（Microsoft MCP SDK）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[205,206],{"categoryNo":114,"categoryName":115,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":207,"categoryName":208,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[210,184,211,212,213,10,151,214,215,154,216,35,217,218,219,124,220,221,37,222,41,39],"mcp builder","builder","llms","sdk","typescript","model context protocol","building mcp servers","node","integrate","Tools","context","fastmcp","mcp sdk",{"skillNo":224,"name":225,"nameZh":226,"description":227,"descriptionZh":228,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":229,"categories":230,"keywords":237,"publishedAt":47},"01M69B467A7CDMFQ0T6Q0ZA12Q","kql","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.","KQL 语言专业能力，用于编写正确且高效的 Kusto Query Language 查询。涵盖语法陷阱、join 模式、dynamic 类型、datetime 陷阱、regex 模式、序列化、内存管理、结果集规模控制，以及高级函数（geo、vector、graph）。在编写、调试或审查 KQL 查询时均使用本技能——即使是简单查询——因为陷阱章节可防止最常见的错误，避免浪费工具调用并引发代价高昂的连锁重试。触发条件：KQL、Kusto、ADX、Azure Data Explorer、Fabric Real-Time Intelligence、EventHouse、Log Analytics、日志分析、数据探索、时间序列、异常检测、summarize、where 子句、join、extend、project、let 语句、parse 运算符、extract 函数，以及任何提及管道式查询语法的情形。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fkql\u002FSKILL.md",[231,234],{"categoryNo":232,"categoryName":233,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":235,"categoryName":236,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[225,32,185,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,37,254,255,256],"analytics","memory","summarize","exploration","parse","project","time","vector","join","log","pipe","datetime","discipline","time series","regex","anomaly","section","tool","geo"]