agentleFS
Ghost7802Ghost7802/awesome-api-skills/skills/azure-blob-storage/SKILL.md

azure-blob-storage

Skill13 starsChanged 28 days agoMITView on GitHub

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Block Blobs for standard files (images, documents).

    line 16
  2. Distinctive:

    Use Azurite, the official local emulator for Azure Storage, to run integration tests entirely locally without an Azure subscription.

    line 28
  3. Very specific:

    If CORS errors occur when using SAS URLs in the browser, ensure CORS rules are explicitly defined on the Storage Account setting …

    line 31
  4. Distinctive:

    Use this when your agent works with azure-blob-storage — structured patterns beat pasted docs and prevent common hallucinations.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Azure Blob Storage API Skill

Quick Start

Azure Blob Storage handles massive amounts of unstructured data. The @azure/storage-blob SDK provides powerful abstractions for Block, Append, and Page blobs.

npm install @azure/storage-blob

Common Workflows

SAS (Shared Access Signature) Tokens

Generate a User Delegation SAS Token to grant temporary, tightly-scoped access to a specific blob without exposing the account key.

Production Patterns

Block Blobs vs Append Blobs

Use Block Blobs for standard files (images, documents). Use Append Blobs explicitly for log files where data is continuously written to the end of the blob.

Error Recovery

The SDK automatically handles transient failures using built-in retry policies (exponential backoff). Catch RestError to handle fatal authorization or missing resource failures.

Security Notes

Prioritize Azure AD (Entra ID) authentication via DefaultAzureCredential over using connection strings containing the Account Key.

Performance Considerations

For high-throughput uploads, tune the maxSingleShotSize and blockSize parameters in the uploadFile method to parallelize chunk uploads efficiently across multiple threads.

Testing Guidance

Use Azurite, the official local emulator for Azure Storage, to run integration tests entirely locally without an Azure subscription.

Troubleshooting

If CORS errors occur when using SAS URLs in the browser, ensure CORS rules are explicitly defined on the Storage Account setting AllowedOrigins and AllowedMethods (PUT).

References

Related Skills

  • [AWS S3](/skills/aws s3)
  • [Google Cloud Storage](/skills/google cloud storage)

Why use this skill

Use this when your agent works with azure-blob-storage — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Using outdated SDK or API versions from training data
  • Inventing environment variable names
  • Omitting error handling and retry logic

Production checklist

  • Secrets in environment variables, not source code
  • Error handling and logging in place
  • Rate limits and timeouts configured

Related skills

  • [aws s3](../aws s3/SKILL.md) — related to
  • [google cloud storage](../google cloud storage/SKILL.md) — related to

Last Verified: 2026-07-02

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.