Skip to main content
在 Manus 中运行任何 Skill
一键导入

azure-sdk-for-rust-bestpractices

星标3
分支5
更新时间2026年5月18日 15:24

Authoritative best practices for generating Rust code against the Azure SDK for Rust — covers official `azure_*` crate selection (and banned legacy crates), `azure_identity` token credentials, `Result`/`?` error handling with `ErrorKind` matching, `Pager<T>` pagination via `TryStreamExt`, `Poller<T>` long-running operations, and `#[tokio::main]` runtime setup. Use this skill whenever you generate or modify Rust code (`.rs`, `Cargo.toml`) that talks to any Azure service — even single-file snippets, quick examples, or prompts that only mention "Azure" plus Rust/cargo without naming a specific service. Apply it before writing the first line so crate names, auth, and pagination are correct on the first pass.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly