# Build Azure Data Lake Workflows in Python

Azure Data Lake SDK workflows require several related clients and operation patterns. This skill provides focused Python examples for files, directories, ACLs, and asynchronous access.

## Install

```bash
npx skillstore add sickn33/azure-storage-file-datalake-py
```

## Metadata

- Status: approved
- Slug: sickn33-azure-storage-file-datalake-py
- Skillstore revision: r2
- Version status: missing
- Tree hash: 2fa4babae86e17ca892d02c42ba356160f20f0e6ef20ec541cfa9de2af563a01
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-storage-file-datalake-py
- Ref: f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526
- 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
- Quality score: 70
- Public page: https://skillstore.pages.dev/skills/sickn33-azure-storage-file-datalake-py
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-azure-storage-file-datalake-py/manifest

## Capabilities

- Configures DataLakeServiceClient with DefaultAzureCredential and an Azure account endpoint.
- Shows how to create, retrieve, list, and delete file systems.
- Demonstrates directory creation, lookup, rename, and deletion.
- Covers file upload, chunked append, download, range download, and deletion.
- Lists paths and reads or updates file properties and metadata.
- Demonstrates ACL operations and asynchronous upload and download clients.

## Use Cases

- Prepare Analytics Storage: Create hierarchical directories and upload source files for an analytics pipeline.
- Implement Storage Features: Add Python operations for uploads, downloads, listings, metadata, and file movement.
- Manage Access Controls: Review directory ACL patterns and recursive access updates for governed storage.

## Prompt Templates

### Connect to a Data Lake

```
Show a Python connection pattern for Azure Data Lake Storage using DefaultAzureCredential and my account name.
```

### Upload and Download Files

```
Design a Python workflow that uploads a local file, verifies its properties, and downloads it to a specified path.
```

### Build a Directory Workflow

```
Create a Python approach for nested directories, recursive path listing, metadata updates, and a confirmed directory rename.
```

### Design an Async Ingestion Flow

```
Plan an asynchronous Python ingestion flow with chunked uploads, explicit offsets, validation, retries, and least-privilege ACL updates.
```

## Limitations

- Requires configured Azure credentials, an existing storage account, and sufficient permissions.
- Uses placeholders and does not execute or validate examples against an Azure environment.
- Destructive examples do not include confirmation, backup, or rollback procedures.
- Does not cover retries, logging, testing, encryption settings, or production monitoring.

## Best Practices

- Use DefaultAzureCredential and grant only the permissions required for each operation.
- Confirm resource names and preserve recoverable copies before delete, overwrite, rename, or ACL changes.
- Use ordered append offsets, flush the final length, and verify file properties after large uploads.

## Anti Patterns

- Do not embed account keys, connection strings, or user credentials in prompts or source files.
- Do not run delete, overwrite, rename, or recursive ACL operations without explicit confirmation.
- Do not assume placeholder account names, paths, permissions, or network settings match the target environment.

## Security Audit

- Audited at: 2026-07-23T20:50:11.469\+00:00
- Summary: All 36 static findings are false positives caused by Markdown syntax, Azure endpoint placeholders, API method names, and a fixed-path download example. No prompt injection or malicious exfiltration intent was found. The examples do include destructive and access-changing operations without explicit safety checks.

## Stats

- Views: 157
- Downloads: 9
- Favorites: 0
- Popularity score: 0
