# Build Azure File Share Workflows in TypeScript

Azure File Share SDK workflows require precise client, authentication, and transfer patterns. This skill provides focused TypeScript examples for common storage operations.

## Install

```bash
npx skillstore add sickn33/azure-storage-file-share-ts
```

## Metadata

- Status: approved
- Slug: sickn33-azure-storage-file-share-ts
- Skillstore revision: r3
- Version status: missing
- Tree hash: 5be5266564c899c4140aa8bdd9cc2e16441c607c1e3a32f4fa1ed4493719520c
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-storage-file-share-ts
- Ref: 5a26d1d61d694db29af9b138c661c1981076d9df
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem, env\_access
- Quality score: 77
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/sickn33-azure-storage-file-share-ts
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-azure-storage-file-share-ts/manifest

## Capabilities

- Explains connection strings, shared keys, managed identity, and SAS authentication.
- Shows how to create, list, inspect, configure, and delete shares.
- Covers directory creation, listing, existence checks, and deletion.
- Demonstrates file uploads, downloads, copies, metadata, headers, and range operations.
- Provides snapshot creation, access, deletion, and SAS generation patterns.
- Documents Node.js and browser capability differences.

## Use Cases

- Build File Transfer Services: Create reliable TypeScript upload and download flows for application files.
- Automate Share Administration: Implement repeatable share, directory, quota, snapshot, and cleanup operations.
- Secure Storage Integrations: Choose managed identity, shared key, connection string, or scoped SAS authentication.

## Prompt Templates

### Create a Share

```
Show a TypeScript example that authenticates with DefaultAzureCredential and creates an Azure file share named [share-name].
```

### Upload a Local File

```
Design a Node.js TypeScript workflow to upload [local-path] into [share-name]/[directory-name] with clear error handling.
```

### Stream Large Files

```
Recommend an Azure File Share streaming upload design for files around [size], including buffer size, concurrency, retries, and validation.
```

### Design a Secure Storage Service

```
Design a production TypeScript service for uploads, downloads, snapshots, and read-only SAS links. Use managed identity and least privilege.
```

## Limitations

- Provides guidance and examples, but does not execute Azure operations.
- Requires an existing Azure account, storage account, and appropriate permissions.
- Examples use placeholder names and paths that need environment-specific validation.
- Does not cover infrastructure provisioning, SMB mounting, monitoring, or cost analysis.

## Best Practices

- Prefer managed identity and least-privilege roles for production authentication.
- Use streams for large files and validate paths, sizes, and transfer results.
- Use short-lived, narrowly scoped SAS tokens and keep credential-bearing URLs out of logs.

## Anti Patterns

- Do not embed account keys, connection strings, or SAS tokens in source code.
- Do not accept unvalidated share names, file paths, or source URLs from users.
- Do not use broad SAS permissions or long expiration periods without documented need.

## Security Audit

- Audited at: 2026-08-14T09:21:28.894\+00:00
- Summary: All 116 static findings are false positives caused by Markdown fences, TypeScript template literals, or documented Azure SDK inputs. SKILL.md contains no executable scripts, prompt injection, secret exfiltration, or unrelated network destinations.

## Stats

- Views: 95
- Downloads: 7
- Favorites: 0
- Popularity score: 0
