Dev & Engineering ✓ Microsoft · Official azure-ai-searchtypescriptvector-searchhybrid-searchsemantic-rankingnpmazure-sdk

Azure AI Search for TypeScript

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

FollowSkills review · FSRS-2.0
Not recommended
50/ 100 5-point scale 2.5 / 5
Trust14 / 25 · 2.8/5

The skill shows Entra ID, managed identity, and environment-variable authentication, and recommends document-level security filters. It does not clearly specify least-privilege RBAC, secret handling, data flows, user confirmation, external write effects, or rollback, so points are deducted.

Reliability8 / 20 · 2.0/5

It covers core TypeScript workflows for indexes, uploads, full-text, vector, hybrid, and semantic search. However, it has no skill-specific tests, input validation, or diagnosable failure handling, and the main document and references may differ on semantic-configuration field syntax; static scoring therefore stays at or below 10.

Adaptability10 / 15 · 3.3/5

The target SDK, TypeScript audience, and major invocation scenarios are reasonably clear. Non-fit boundaries, service-version prerequisites, input/output contracts, regional reachability, and Chinese-language considerations are not stated, so points are deducted.

Convention8 / 15 · 2.7/5

The documentation is readable and layered, with installation, authentication, core examples, best practices, MIT licensing, author, version 1.0.0, and two references. It lacks a changelog, explicit maintenance owner/update path, and sufficiently detailed limitations and troubleshooting.

Effectiveness6 / 15 · 2.0/5

The examples provide a useful starting point for search, indexing, and semantic retrieval and cover several common patterns. Embedding generation, existing-index state, service configuration, permissions, and production error handling remain for the user to complete, and some API details require verification, so only moderate static effectiveness is awarded.

Verifiability4 / 10 · 2.0/5

The references point to Azure SDK for JS and Microsoft Learn sources, and the repository shows general CI and test infrastructure. There are no skill-specific auditable tests or execution results, so evidence coverage is limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Examples include external writes such as index creation, document upload, and deletion, but provide no confirmation, permission scoping, or recovery steps; review RBAC, secret storage, filter security boundaries, and rollback before production use.
  • Semantic-configuration field naming appears potentially inconsistent across references, and SDK/API version prerequisites are not pinned; compile-check each example against the target package version and official documentation.
  • Core functionality depends on Azure AI Search, Entra ID, and potentially embedding/semantic services; mainland-China reachability and regional limitations are not documented.
See the full review method →

What it does & when to use it

This skill helps coding agents use the Azure AI Search SDK for JavaScript and TypeScript. It covers index creation and management, document indexing, full-text, vector, hybrid, and semantic search, plus filters, facets, autocomplete, suggestions, and batch operations. It also demonstrates DefaultAzureCredential and managed identity authentication. It is a focused SDK implementation guide rather than a complete application or infrastructure package.

It shows how to install @azure/search-documents and @azure/identity, configure Azure Search environment variables, create SearchClient and SearchIndexClient instances, define vector fields and HNSW profiles, upload and batch-process documents, run full-text, vector, hybrid, and semantic queries, apply filters and facets, and configure autocomplete and suggestions. The examples read endpoint, index-name, credential, and token-related environment variables and print search results, scores, facets, captions, or reranker scores. The embedding function remains application-provided.

  1. A TypeScript developer needs to create a product index with searchable text, filters, facets, and embeddings.
  2. A search application must combine keyword matching with vector similarity in one query.
  3. A natural-language search experience needs semantic ranking, extractive captions, or answers.
  4. A catalog application needs category or price filtering with facet counts.
  5. An agent application needs Azure AI Search patterns for knowledge-base or agentic retrieval scenarios.

Pros & cons

Pros
  • Covers the core Azure AI Search TypeScript workflow from index definition through querying.
  • Includes full-text, vector, hybrid, and semantic search examples.
  • Shows Entra ID-oriented authentication with DefaultAzureCredential and managed identity.
  • Includes filtering, facets, autocomplete, suggestions, and batch document operations.
  • Released under the MIT license in a Microsoft Agent Skills repository.
Limitations
  • The vector examples require an application-supplied getEmbedding function.
  • The material consists primarily of focused snippets and practices, not a complete runnable application.
  • It does not document Azure resource provisioning, deployment, or service pricing.
  • Semantic search requires a semantic configuration on the index first.

How to install

Install the SDK dependencies with: npm install @azure/search-documents @azure/identity. To install the complete skill collection, the README provides: npx skills add microsoft/skills, followed by selecting skills in the wizard. The source does not document a command for selecting only azure-search-documents-ts.

How to use

Place the skill where the coding agent can load it, then use a request such as: “Using @azure/search-documents, create a product vector index and implement full-text, vector, and hybrid search.” Configure AZURE_SEARCH_ENDPOINT and AZURE_SEARCH_INDEX_NAME. Add AZURE_SEARCH_ADMIN_KEY when using a key, or configure AZURE_TOKEN_CREDENTIALS=prod when using DefaultAzureCredential. Provide the embedding-generation function in the application.

FAQ

Does this skill require an Azure AI Search service?
Yes. Its examples require AZURE_SEARCH_ENDPOINT and operate through Azure AI Search clients and indexes.
Is an administrator key mandatory?
No. AZURE_SEARCH_ADMIN_KEY is marked optional, and the skill demonstrates DefaultAzureCredential and ManagedIdentityCredential.
Does the skill generate embeddings automatically?
No. The vector examples call an application-defined getEmbedding function.
Is this a complete search-product template?
No evidence supports that. It is an SDK implementation guide; the source does not provide a frontend, deployment workflow, or complete product template.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills