# Improve Rust Object Store Reliability

Cloud storage code often fails under transient errors, large files, and costly list operations. This skill reviews Rust object_store usage and suggests safer patterns for production.

## Install

```bash
npx skillstore add emillindfors/object-store-best-practices
```

## Metadata

- Status: approved
- Slug: emillindfors-object-store-best-practices
- Version: 1.0.0
- Author version: 1.0.0
- Skillstore revision: r1
- Version status: valid
- Tree hash: 90f0c4815a849a9d61812e88bde39474532b98b253e9706a11b159f83837aea1
- Author: EmilLindfors
- GitHub username: EmilLindfors
- License: MIT
- Repository: https://github.com/EmilLindfors/claude-marketplace/tree/main/plugins/rust-data-engineering/skills/object-store-best-practices
- Ref: a06681402992ceae98ba04d54cfd4ab004862696
- 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, filesystem
- Quality score: 79
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/emillindfors-object-store-best-practices
- Manifest: https://skillstore.pages.dev/api/skills/emillindfors-object-store-best-practices/manifest

## Capabilities

- Detects missing retry configuration in Rust object\_store builders.
- Suggests structured error handling for storage reads and writes.
- Recommends streaming and multipart upload patterns for large objects.
- Reviews listing, prefix, and filtering patterns for cost and scale.
- Guides environment-based cloud storage configuration without hardcoded credentials.

## Use Cases

- Harden data pipelines: Review object\_store reads, writes, and listings before production deployment.
- Reduce storage incidents: Find missing retries, timeouts, and client reuse issues in cloud storage code.
- Improve code reviews: Use a checklist for reliability, memory use, and credential handling in pull requests.

## Prompt Templates

### Review basic storage code

```
Review my Rust object_store code for retry logic, error handling, and unsafe unwrap usage. Suggest clear fixes for production readiness.
```

### Check large file handling

```
Check this object_store upload and download flow for large file risks. Recommend streaming, multipart upload, and timeout improvements.
```

### Audit pipeline storage patterns

```
Audit this Rust data pipeline for object_store reliability, list efficiency, connection reuse, and credential handling. Prioritize issues by production risk.
```

### Design production storage access

```
Design a production object_store access layer for my Rust service. Include retries, error taxonomy, streaming, multipart uploads, tests, and operational safeguards.
```

## Limitations

- Does not run benchmarks or measure real cloud performance.
- Does not validate live IAM, bucket policy, or provider configuration.
- Focuses on Rust object\_store usage, not every storage SDK.
- Requires the user or agent to inspect code and apply changes.

## Best Practices

- Configure retries, timeouts, and connection reuse before deploying cloud storage code.
- Stream large downloads and use multipart uploads for large writes.
- Use prefixes, environment credentials, and clear error types for maintainable operations.

## Anti Patterns

- Calling unwrap or expect on object storage operations.
- Listing an entire bucket when a prefix can narrow results.
- Hardcoding cloud credentials, regions, or bucket names in source code.

## Security Audit

- Audited at: 2026-07-06T15:10:22.281\+00:00
- Summary: AI review found that the static findings are false positives caused by Markdown code fences, inline Rust identifiers, and non-executable examples. The skill is documentation for Rust object\_store best practices and allows only Read and Grep. No prompt injection, data exfiltration intent, or malicious automation was found.

## Stats

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