[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73EVJV9CFNM3CVG542P7TH1":3,"skill-same:01M73EVJV9CFNM3CVG542P7TH1":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M73EVJV9CFNM3CVG542P7TH1","azure-cosmos-rust",null,"Azure Cosmos DB library for Rust (NoSQL API). Document CRUD, containers, and globally distributed data.\nTriggers: \"cosmos db rust\", \"CosmosClient rust\", \"document crud rust\", \"NoSQL rust\", \"partition key rust\".","qhjqhj00\u002Fresearch-skills-pool","qhjqhj00","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F29684092?v=4","01M72AE0ZGXVM5C57N512DGQG8","Tommy Chien","01M72AE107ESJMHT7QC5SXX144",3,"MIT","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002Fmicrosoft--skills--.github__plugins__azure-sdk-rust__skills__azure-cosmos-rust\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: azure-cosmos-rust\ndescription: |\n  Azure Cosmos DB library for Rust (NoSQL API). Document CRUD, containers, and globally distributed data.\n  Triggers: \"cosmos db rust\", \"CosmosClient rust\", \"document crud rust\", \"NoSQL rust\", \"partition key rust\".\nlicense: MIT\nmetadata:\n  author: Microsoft\n  package: azure_data_cosmos\n---\n\n# Azure Cosmos DB library for Rust\n\nClient library for Azure Cosmos DB NoSQL API — document CRUD, containers, and globally distributed data.\n\nUse this skill when:\n\n- An app needs to store or query documents in Cosmos DB from Rust\n- You need CRUD operations on items with partition keys\n- You need multi-region routing with `RoutingStrategy`\n- You need key-based auth as an alternative to Entra ID\n\n> **IMPORTANT:** Only use the official `azure_data_cosmos` crate published by the [azure-sdk](https:\u002F\u002Fcrates.io\u002Fusers\u002Fazure-sdk) crates.io user. Do NOT use the unofficial `azure_cosmos` or `azure_sdk_for_rust` community crates. Official crates use underscores in names and none have version 0.21.0.\n\n## Installation\n\n```sh\ncargo add azure_data_cosmos azure_identity tokio\n```\n\n> **Do not** add `azure_core` directly to `Cargo.toml`. It is re-exported by `azure_data_cosmos`.\n\n## Environment Variables\n\n```bash\nCOSMOS_ENDPOINT=https:\u002F\u002F\u003Caccount>.documents.azure.com\u002F # Required for all operations\n```\n\n## Authentication\n\n```rust\nuse azure_identity::DeveloperToolsCredential;\nuse azure_data_cosmos::{\n    CosmosClient, CosmosAccountReference, CosmosAccountEndpoint, RoutingStrategy,\n};\n\n#[tokio::main]\nasync fn main() -> Result\u003C(), Box\u003Cdyn std::error::Error>> {\n    \u002F\u002F Local dev: DeveloperToolsCredential. Production: use ManagedIdentityCredential.\n    let credential: std::sync::Arc\u003Cdyn azure_core::credentials::TokenCredential> =\n        DeveloperToolsCredential::new(None)?;\n    let endpoint: CosmosAccountEndpoint = \"https:\u002F\u002F\u003Caccount>.documents.azure.com\u002F\"\n        .parse()?;\n    let account = CosmosAccountReference::with_credential(endpoint, credential);\n    let client = CosmosClient::builder()\n        .build(account, RoutingStrategy::ProximityTo(\"East US\".into()))\n        .await?;\n    Ok(())\n}\n```\n\n## Client Hierarchy\n\n| Client            | Purpose                   | Access                                  |\n| ----------------- | ------------------------- | --------------------------------------- |\n| `CosmosClient`    | Account-level operations  | `CosmosClient::builder().build()`       |\n| `DatabaseClient`  | Database operations       | `client.database_client(\"db\")`          |\n| `ContainerClient` | Container\u002Fitem operations | `database.container_client(\"c\").await?` |\n\n## Core Workflow\n\n```rust\nuse serde::{Serialize, Deserialize};\nuse azure_data_cosmos::CosmosClient;\n\n#[derive(Serialize, Deserialize)]\nstruct Item {\n    pub id: String,\n    pub partition_key: String,\n    pub value: String,\n}\n\nasync fn crud(client: CosmosClient) -> Result\u003C(), Box\u003Cdyn std::error::Error>> {\n    let container = client\n        .database_client(\"myDatabase\")\n        .container_client(\"myContainer\")\n        .await?;\n\n    let item = Item {\n        id: \"1\".into(),\n        partition_key: \"pk1\".into(),\n        value: \"hello\".into(),\n    };\n\n    \u002F\u002F Create\n    container.create_item(\"pk1\", item, None).await?;\n\n    \u002F\u002F Read\n    let resp = container.read_item(\"pk1\", \"1\", None).await?;\n    let mut item: Item = resp.into_model()?;\n\n    \u002F\u002F Update\n    item.value = \"updated\".into();\n    container.replace_item(\"pk1\", \"1\", item, None).await?;\n\n    \u002F\u002F Delete\n    container.delete_item(\"pk1\", \"1\", None).await?;\n    Ok(())\n}\n```\n\n## Key Auth (Optional)\n\nEnable account key authentication with the feature flag:\n\n```sh\ncargo add azure_data_cosmos --features key_auth\n```\n\n## RBAC Roles\n\nFor Entra ID auth, assign one of these built-in Cosmos DB roles:\n\n| Role                                  | Access     |\n| ------------------------------------- | ---------- |\n| `Cosmos DB Built-in Data Reader`      | Read-only  |\n| `Cosmos DB Built-in Data Contributor` | Read\u002Fwrite |\n\n## Best Practices\n\n1. **Use `DeveloperToolsCredential`** for local dev, **`ManagedIdentityCredential`** for production — the Rust SDK does not have `DefaultAzureCredential`\n2. **Never hardcode credentials** — use environment variables or managed identity\n3. **Reuse `CosmosClient`** — clients are thread-safe; create once, share across tasks\n4. **Use `RoutingStrategy::ProximityTo`** — route to the nearest region for lowest latency\n5. **Always specify partition key** for item operations — Cosmos DB requires it for all CRUD\n\n## Reference Links\n\n| Resource      | Link                                       |\n| ------------- | ------------------------------------------ |\n| API Reference | https:\u002F\u002Fdocs.rs\u002Fazure_data_cosmos          |\n| crates.io     | https:\u002F\u002Fcrates.io\u002Fcrates\u002Fazure_data_cosmos |\n","# Azure Cosmos DB library for Rust\n\nClient library for Azure Cosmos DB NoSQL API — document CRUD, containers, and globally distributed data.\n\nUse this skill when:\n\n- An app needs to store or query documents in Cosmos DB from Rust\n- You need CRUD operations on items with partition keys\n- You need multi-region routing with `RoutingStrategy`\n- You need key-based auth as an alternative to Entra ID\n\n> **IMPORTANT:** Only use the official `azure_data_cosmos` crate published by the [azure-sdk](https:\u002F\u002Fcrates.io\u002Fusers\u002Fazure-sdk) crates.io user. Do NOT use the unofficial `azure_cosmos` or `azure_sdk_for_rust` community crates. Official crates use underscores in names and none have version 0.21.0.\n\n## Installation\n\n```sh\ncargo add azure_data_cosmos azure_identity tokio\n```\n\n> **Do not** add `azure_core` directly to `Cargo.toml`. It is re-exported by `azure_data_cosmos`.\n\n## Environment Variables\n\n```bash\nCOSMOS_ENDPOINT=https:\u002F\u002F\u003Caccount>.documents.azure.com\u002F # Required for all operations\n```\n\n## Authentication\n\n```rust\nuse azure_identity::DeveloperToolsCredential;\nuse azure_data_cosmos::{\n    CosmosClient, CosmosAccountReference, CosmosAccountEndpoint, RoutingStrategy,\n};\n\n#[tokio::main]\nasync fn main() -> Result\u003C(), Box\u003Cdyn std::error::Error>> {\n    \u002F\u002F Local dev: DeveloperToolsCredential. Production: use ManagedIdentityCredential.\n    let credential: std::sync::Arc\u003Cdyn azure_core::credentials::TokenCredential> =\n        DeveloperToolsCredential::new(None)?;\n    let endpoint: CosmosAccountEndpoint = \"https:\u002F\u002F\u003Caccount>.documents.azure.com\u002F\"\n        .parse()?;\n    let account = CosmosAccountReference::with_credential(endpoint, credential);\n    let client = CosmosClient::builder()\n        .build(account, RoutingStrategy::ProximityTo(\"East US\".into()))\n        .await?;\n    Ok(())\n}\n```\n\n## Client Hierarchy\n\n| Client            | Purpose                   | Access                                  |\n| ----------------- | ------------------------- | --------------------------------------- |\n| `CosmosClient`    | Account-level operations  | `CosmosClient::builder().build()`       |\n| `DatabaseClient`  | Database operations       | `client.database_client(\"db\")`          |\n| `ContainerClient` | Container\u002Fitem operations | `database.container_client(\"c\").await?` |\n\n## Core Workflow\n\n```rust\nuse serde::{Serialize, Deserialize};\nuse azure_data_cosmos::CosmosClient;\n\n#[derive(Serialize, Deserialize)]\nstruct Item {\n    pub id: String,\n    pub partition_key: String,\n    pub value: String,\n}\n\nasync fn crud(client: CosmosClient) -> Result\u003C(), Box\u003Cdyn std::error::Error>> {\n    let container = client\n        .database_client(\"myDatabase\")\n        .container_client(\"myContainer\")\n        .await?;\n\n    let item = Item {\n        id: \"1\".into(),\n        partition_key: \"pk1\".into(),\n        value: \"hello\".into(),\n    };\n\n    \u002F\u002F Create\n    container.create_item(\"pk1\", item, None).await?;\n\n    \u002F\u002F Read\n    let resp = container.read_item(\"pk1\", \"1\", None).await?;\n    let mut item: Item = resp.into_model()?;\n\n    \u002F\u002F Update\n    item.value = \"updated\".into();\n    container.replace_item(\"pk1\", \"1\", item, None).await?;\n\n    \u002F\u002F Delete\n    container.delete_item(\"pk1\", \"1\", None).await?;\n    Ok(())\n}\n```\n\n## Key Auth (Optional)\n\nEnable account key authentication with the feature flag:\n\n```sh\ncargo add azure_data_cosmos --features key_auth\n```\n\n## RBAC Roles\n\nFor Entra ID auth, assign one of these built-in Cosmos DB roles:\n\n| Role                                  | Access     |\n| ------------------------------------- | ---------- |\n| `Cosmos DB Built-in Data Reader`      | Read-only  |\n| `Cosmos DB Built-in Data Contributor` | Read\u002Fwrite |\n\n## Best Practices\n\n1. **Use `DeveloperToolsCredential`** for local dev, **`ManagedIdentityCredential`** for production — the Rust SDK does not have `DefaultAzureCredential`\n2. **Never hardcode credentials** — use environment variables or managed identity\n3. **Reuse `CosmosClient`** — clients are thread-safe; create once, share across tasks\n4. **Use `RoutingStrategy::ProximityTo`** — route to the nearest region for lowest latency\n5. **Always specify partition key** for item operations — Cosmos DB requires it for all CRUD\n\n## Reference Links\n\n| Resource      | Link                                       |\n| ------------- | ------------------------------------------ |\n| API Reference | https:\u002F\u002Fdocs.rs\u002Fazure_data_cosmos          |\n| crates.io     | https:\u002F\u002Fcrates.io\u002Fcrates\u002Fazure_data_cosmos |\n",{"name":5,"license":15,"metadata":24,"description":27},{"author":25,"package":26},"Microsoft","azure_data_cosmos","Azure Cosmos DB library for Rust (NoSQL API). Document CRUD, containers, and globally distributed data.\nTriggers: \"cosmos db rust\", \"CosmosClient rust\", \"document crud rust\", \"NoSQL rust\", \"partition key rust\".\n","master","c247302c836de6438d746b45670990eb71691166","skills_collected\u002Fmicrosoft--skills--.github__plugins__azure-sdk-rust__skills__azure-cosmos-rust",1,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool","https:\u002F\u002Fgithub.com\u002Fqhjqhj00","chien.io","2026-05-11 15:07:59",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add qhjqhj00\u002Fresearch-skills-pool --skill azure-cosmos-rust",{"tool":42,"command":43},"bunx","bunx skills add qhjqhj00\u002Fresearch-skills-pool --skill azure-cosmos-rust",{"tool":45,"command":46},"pnpm","pnpm dlx skills add qhjqhj00\u002Fresearch-skills-pool --skill azure-cosmos-rust","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002Fmicrosoft--skills--.github__plugins__azure-sdk-rust__skills__azure-cosmos-rust\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M73JJB6EQPFPPVQK2Y9N67Q0","transformer-lens-interpretability","Provides guidance for mechanistic interpretability research using TransformerLens to inspect and manipulate transformer internals via HookPoints and activation caching. Use when reverse-engineering model algorithms, studying attention patterns, or performing activation patching experiments.","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F130-transformer-lens\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M73JHTANRRWEE9HP98TPEHAY","wiki-vitepress","Packages generated wiki Markdown into a VitePress static site with dark theme, dark-mode Mermaid diagrams with click-to-zoom, and production build output. Use when the user wants to create a browsable website from generated wiki pages.","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F126-wiki-vitepress\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M73JHJBMVFW46F1Y8K3SBF43","phoenix-observability","Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F124-phoenix\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M73JHFPA3A2806PMP42ZN86Q","frontend-ui-dark-ts","Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F123-frontend-ui-dark-ts\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M73JFVBVK57NRJS49TT2VDCT","tensorboard","Visualize training metrics, debug models with histograms, compare experiments, visualize model graphs, and profile performance with TensorBoard - Google's ML visualization toolkit","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F113-tensorboard\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":90,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M73JFF6PK6ZCN41C89J7HS2B","markdown-mermaid-writing","Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F110-markdown-mermaid-writing\u002FSKILL.md",[],[]]