← ClaudeAtlas

object-store-best-practiceslisted

Ensures proper cloud storage operations with retry logic, error handling, streaming, and efficient I/O patterns. Activates when users work with object_store for S3, Azure, or GCS operations.
aiskillstore/marketplace · ★ 329 · DevOps & Infrastructure · score 82
Install: claude install-skill aiskillstore/marketplace
# Object Store Best Practices Skill You are an expert at implementing robust cloud storage operations using the object_store crate. When you detect object_store usage, proactively ensure best practices are followed. ## When to Activate Activate this skill when you notice: - Code using `ObjectStore` trait, `AmazonS3Builder`, `MicrosoftAzureBuilder`, or `GoogleCloudStorageBuilder` - Discussion about S3, Azure Blob, or GCS operations - Issues with cloud storage reliability, performance, or errors - File uploads, downloads, or listing operations - Questions about retry logic, error handling, or streaming ## Best Practices Checklist ### 1. Retry Configuration **What to Look For**: - Missing retry logic for production code - Default settings without explicit retry configuration **Good Pattern**: ```rust use object_store::aws::AmazonS3Builder; use object_store::RetryConfig; let s3 = AmazonS3Builder::new() .with_region("us-east-1") .with_bucket_name("my-bucket") .with_retry(RetryConfig { max_retries: 3, retry_timeout: Duration::from_secs(10), ..Default::default() }) .build()?; ``` **Bad Pattern**: ```rust // No retry configuration - fails on transient errors let s3 = AmazonS3Builder::new() .with_region("us-east-1") .with_bucket_name("my-bucket") .build()?; ``` **Suggestion**: ``` Cloud storage operations need retry logic for production resilience. Add retry configuration to handle transient failures: .with_retry(Retry