Dev & Engineering ✓ Microsoft · Official azure-filesfile-sharetypescriptnodejssmbazure-storage

Azure File Share TypeScript Skill

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

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

The skill shows connection strings, account keys, SAS tokens, and token credentials, and includes delete, overwrite, copy, and local file I/O examples. It does not explain least privilege, user confirmation, sensitive-data non-logging, external data flows, failure recovery, or rollback, so points are deducted. No explicit red-line risk is evident.

Reliability7 / 20 · 1.8/5

It covers common share, directory, and file operations and includes partial HTTP-status error handling. However, it provides no skill-specific tests, edge-case coverage, retry/idempotency guidance, or abnormal-input feedback. Under static calibration the score stays at or below 10, so points are deducted.

Adaptability8 / 15 · 2.7/5

Trigger terms, the TypeScript/JavaScript scope, Node.js/browser differences, and major scenarios are reasonably clear. Non-fit cases, input/output contracts, compatibility boundaries, Chinese-language support, and mainland-China reachability are not specified, so points are deducted.

Convention8 / 15 · 2.7/5

The file has YAML metadata, MIT licensing, author and 1.0.0 version information, and a readable structure covering installation, authentication, hierarchy, operations, and best practices. It lacks a changelog, explicit maintenance owner/update path, FAQ, pinned dependency versions, and systematic limitation disclosure, so points are deducted.

Effectiveness7 / 15 · 2.3/5

The skill provides broadly useful snippets from authentication through shares, directories, files, ranges, snapshots, SAS, and error handling, making the core SDK reference task plausibly usable. There is no skill-specific executable validation, complete end-to-end sample, or comparative-benefit evidence, and some platform/API details require review; static calibration therefore caps this at 7.

Verifiability4 / 10 · 2.0/5

The skill contains concrete code, version, and platform claims. The repository materials include generic CI, evaluation workflows, and harness tests, but they do not demonstrate coverage of this selected skill's key paths, and no third-party execution results or independent reproduction record is supplied; therefore the score remains below the static 5-point ceiling.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Do not hard-code, commit, or log account keys, connection strings, or SAS tokens; prefer least-privilege managed identities and explicit confirmation for destructive operations.
  • Before adoption, verify the current @azure/storage-file-share API signatures, browser/Node.js limits, SAS generation pattern, and range-download call, and add end-to-end tests.
  • Mainland-China reachability is not documented; validate access to the required Azure services and documentation in the target environment.
See the full review method →

What it does & when to use it

This skill supports JavaScript and TypeScript development with the @azure/storage-file-share SDK for Azure Files SMB shares, directories, and files. It covers client construction, connection strings, shared keys, Microsoft Entra credentials, and SAS access. The examples include uploads, downloads, copying, metadata, headers, ranges, snapshots, SAS generation, and RestError handling. It is a good fit for projects that need an agent to generate Azure File Share code, but execution still requires an Azure storage account and credentials.

Guides the agent to install @azure/storage-file-share and @azure/identity; construct ShareServiceClient, ShareClient, ShareDirectoryClient, and ShareFileClient; call Azure File Share APIs to create, list, delete, and configure shares; create and manage directories; upload or download strings, buffers, streams, and local files; copy and delete files; read or set properties, metadata, and HTTP headers; perform range writes, downloads, and clears; create or delete snapshots; generate file or share SAS tokens; and handle RestError status codes.

  1. A Node.js or TypeScript developer building a service that creates shares, directories, and files.
  2. A backend team uploading Azure Files content from local files, buffers, or readable streams.
  3. An application developer implementing partial file updates, range downloads, metadata, or HTTP headers.
  4. A team connecting to Azure Storage with a connection string, shared key, Microsoft Entra credential, managed identity, or SAS.
  5. An engineer creating snapshots before major changes and using idempotent create-or-delete patterns.

Pros & cons

Pros
  • Covers shares, directories, files, ranges, snapshots, SAS, and error handling.
  • Provides examples for connection strings, shared keys, Microsoft Entra credentials, and SAS.
  • Clearly identifies Node.js and browser differences and states the Node.js requirement.
  • Includes practical streaming and idempotent IfExists patterns.
Limitations
  • Several capabilities are Node.js-only, including shared keys, uploadFile, uploadStream, downloadToFile, downloadToBuffer, SAS generation, and DefaultAzureCredential.
  • Examples require an Azure Storage account, network access, and valid credentials; no local emulator or offline mode is documented.
  • The source provides no independent test coverage or test results for this individual skill.
  • The source specifies the package as current 12.x but does not identify a more precise package version.

How to install

Install the collection with: npx skills add microsoft/skills. Select the required skill in the wizard; the collection is installed in the chosen agent directory, such as .github/skills/ for GitHub Copilot. Install the package dependencies in the project with: npm install @azure/storage-file-share @azure/identity.

How to use

In an Agent Skills-compatible coding agent, use a request containing phrases such as “file share,” “@azure/storage-file-share,” “ShareServiceClient,” “ShareClient,” “SMB,” or “Azure Files.” For example: “Create an Azure File Share, make a directory, and upload a file with @azure/storage-file-share and DefaultAzureCredential.” Configure the Azure Storage environment variables, then ask the agent to generate code following the client, authentication, and operation examples. The source does not define a platform-specific invocation command or prompt format.

FAQ

Does this skill access my Azure Storage account directly?
No. It provides coding patterns. Actual access requires a storage account, network connectivity, and a connection string, key, SAS, or Microsoft Entra credential.
Can every example run in a browser?
No. The source marks shared-key credentials, uploadFile, uploadStream, downloadToFile, downloadToBuffer, SAS generation, and DefaultAzureCredential as Node.js-only.
Is it suitable for large files?
It provides large-file patterns. The skill recommends uploadStream or downloadToFile for files over 256 MB and also supports range upload, range download, and clear-range operations.
How can I avoid errors from repeated create or delete operations?
Use deleteIfExists, directoryClient.deleteIfExists, or exists() checks for idempotent flows. Share creation can still return status 409, which the skill demonstrates handling.

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