一键导入
azure-storage
Work with Azure Blob, Table, Queue, and File storage. Implement data persistence, message queuing, and file management solutions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Work with Azure Blob, Table, Queue, and File storage. Implement data persistence, message queuing, and file management solutions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interactive onboarding workflow that interviews users to understand their coding goals and generates PR-ready implementation plans. Use when starting a new development task to ensure clear requirements and structured execution.
Implement security best practices for Gamma integration. Use when securing API keys, implementing access controls, or auditing Gamma security configuration. Trigger with phrases like "gamma security", "gamma API key security", "gamma secure", "gamma credentials", "gamma access control".
Write effective technical documentation including READMEs, API docs, architecture decisions, and inline code documentation.
Build and manage CI/CD pipelines with Azure DevOps. Configure builds, releases, and automate software delivery workflows.
Develop, deploy, and manage Azure Functions for serverless computing. Supports HTTP triggers, timers, queues, and event-driven architectures.
Manage Azure resources effectively using CLI, Portal, Bicep, and ARM templates. Use for provisioning, organizing, and maintaining cloud infrastructure.
| name | azure-storage |
| description | Work with Azure Blob, Table, Queue, and File storage. Implement data persistence, message queuing, and file management solutions. |
| triggers | ["/azure storage","/blob storage"] |
This skill covers working with Azure Storage services including Blob, Table, Queue, and File storage for various data persistence scenarios.
Use this skill when you need to:
Naming
mycorpprodstorage)Performance Tiers
Access Tiers
Container Organization
mycontainer/
├── uploads/ # User uploaded files
├── processed/ # Post-processing results
├── archived/ # Old data (Archive tier)
└── temp/ # Temporary files (lifecycle policy to delete)
SDK Usage (Python example)
from azure.storage.blob import BlobServiceClient
blob_service = BlobServiceClient.from_connection_string(conn_str)
container = blob_service.get_container_client("mycontainer")
# Upload
with open("file.txt", "rb") as f:
container.upload_blob("path/file.txt", f, overwrite=True)
# Download
blob = container.get_blob_client("path/file.txt")
with open("downloaded.txt", "wb") as f:
f.write(blob.download_blob().readall())
Security
Entity Design
from azure.data.tables import TableClient
table = TableClient.from_connection_string(conn_str, "mytable")
entity = {
"PartitionKey": "User",
"RowKey": "user123",
"Name": "John Doe",
"Email": "john@example.com"
}
table.create_entity(entity)
Message Processing Pattern
from azure.storage.queue import QueueClient
queue = QueueClient.from_connection_string(conn_str, "myqueue")
# Send message
queue.send_message(json.dumps({"task": "process", "id": 123}))
# Receive and process
messages = queue.receive_messages(max_messages=32)
for msg in messages:
try:
data = json.loads(msg.content)
process_task(data)
queue.delete_message(msg)
except Exception:
# Message will become visible again after visibility timeout
pass
Performance
Cost Optimization
Data Protection
See the examples/ directory for:
blob-upload.py - File upload implementationtable-crud.py - Table storage operationsqueue-processor.py - Message queue consumerlifecycle-policy.json - Storage lifecycle rules