[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74PYZHAF8DSAX2C92G3T7R5":3,"skill-same:01M74PYZHAF8DSAX2C92G3T7R5":48},{"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":5,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M74PYZHAF8DSAX2C92G3T7R5","azure-eventhub-rust",null,"Azure Event Hubs library for Rust. Send and receive events for streaming data ingestion and batch processing.\nTriggers: \"event hubs rust\", \"ProducerClient rust\", \"ConsumerClient rust\", \"send event rust\", \"streaming rust\", \"eventhub rust\".","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fazure-eventhub-rust\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: azure-eventhub-rust\ndescription: |\n  Azure Event Hubs library for Rust. Send and receive events for streaming data ingestion and batch processing.\n  Triggers: \"event hubs rust\", \"ProducerClient rust\", \"ConsumerClient rust\", \"send event rust\", \"streaming rust\", \"eventhub rust\".\nlicense: MIT\nmetadata:\n  author: Microsoft\n  package: azure_messaging_eventhubs\n---\n\n# Azure Event Hubs library for Rust\n\nClient library for Azure Event Hubs — send and receive events for streaming data ingestion.\n\nUse this skill when:\n\n- An app needs to send events to Azure Event Hubs from Rust\n- You need to receive and process events from partitions\n- You need batch sending for throughput optimization\n- You need to control consumer start position\n\n> **IMPORTANT:** Only use the official `azure_messaging_eventhubs` crate published by the [azure-sdk](https:\u002F\u002Fcrates.io\u002Fusers\u002Fazure-sdk) crates.io user. Do NOT use unofficial or community crates. Official crates use underscores in names and none have version 0.21.0.\n\n## Installation\n\n```sh\ncargo add azure_messaging_eventhubs azure_identity tokio futures\n```\n\n> **Do not** add `azure_core` directly to `Cargo.toml`. It is re-exported by `azure_messaging_eventhubs`.\n\n## Environment Variables\n\n```bash\nEVENTHUBS_HOST=\u003Cnamespace>.servicebus.windows.net # Required — fully qualified namespace\nEVENTHUB_NAME=\u003Ceventhub-name>                     # Required — name of the Event Hub\n```\n\n## Key Concepts\n\n| Concept       | Description                                          |\n| ------------- | ---------------------------------------------------- |\n| **Namespace** | Container for one or more Event Hubs                 |\n| **Event Hub** | Stream of events, partitioned for parallel reads     |\n| **Partition** | Ordered, append-only sequence of events              |\n| **Producer**  | Sends events via `ProducerClient`                    |\n| **Consumer**  | Receives events from partitions via `ConsumerClient` |\n\n## Authentication\n\n```rust\nuse azure_identity::DeveloperToolsCredential;\nuse azure_messaging_eventhubs::ProducerClient;\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 = DeveloperToolsCredential::new(None)?;\n\n    let producer = ProducerClient::builder()\n        .open(\"\u003Cnamespace>.servicebus.windows.net\", \"\u003Ceventhub-name>\", credential.clone())\n        .await?;\n    Ok(())\n}\n```\n\n## Core Workflow\n\n### Send Events\n\n```rust\n\u002F\u002F Send a single event\nproducer.send_event(vec![1, 2, 3, 4], None).await?;\n```\n\n### Send Batch\n\n```rust\nlet batch = producer.create_batch(None).await?;\nbatch.try_add_event_data(vec![1, 2, 3, 4], None)?;\n\nproducer.send_batch(batch, None).await?;\n```\n\n### Receive Events\n\n```rust\nuse azure_identity::DeveloperToolsCredential;\nuse azure_messaging_eventhubs::ConsumerClient;\n\n\u002F\u002F Local dev: DeveloperToolsCredential. Production: use ManagedIdentityCredential.\nlet credential = DeveloperToolsCredential::new(None)?;\nlet consumer = ConsumerClient::builder()\n    .open(\"\u003Cnamespace>.servicebus.windows.net\", \"\u003Ceventhub-name>\", credential.clone())\n    .await?;\n```\n\n### Receive from Partition\n\n```rust\nuse futures::stream::StreamExt;\nuse azure_messaging_eventhubs::{\n    ConsumerClient, OpenReceiverOptions, StartLocation, StartPosition,\n};\n\nlet receiver = consumer\n    .open_receiver_on_partition(\n        \"0\".to_string(),\n        Some(OpenReceiverOptions {\n            start_position: Some(StartPosition {\n                location: StartLocation::Earliest,\n                ..Default::default()\n            }),\n            ..Default::default()\n        }),\n    )\n    .await?;\n\nlet mut stream = receiver.stream_events();\nwhile let Some(event_result) = stream.next().await {\n    match event_result {\n        Ok(event) => println!(\"Received: {:?}\", event),\n        Err(err) => eprintln!(\"Error: {:?}\", err),\n    }\n}\n```\n\n## RBAC Roles\n\nFor Entra ID auth, assign one of these roles:\n\n| Role                             | Access         |\n| -------------------------------- | -------------- |\n| `Azure Event Hubs Data Sender`   | Send events    |\n| `Azure Event Hubs Data Receiver` | Receive events |\n| `Azure Event Hubs Data Owner`    | Full access    |\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. **Use batching** — `create_batch` + `send_batch` for throughput optimization\n4. **Handle errors per event** — match on `Ok`\u002F`Err` in the event stream\n5. **Specify start position** — use `StartLocation::Earliest` or `StartLocation::Latest` to control where consumption begins\n\n## Reference Links\n\n| Resource      | Link                                               |\n| ------------- | -------------------------------------------------- |\n| API Reference | https:\u002F\u002Fdocs.rs\u002Fazure_messaging_eventhubs          |\n| crates.io     | https:\u002F\u002Fcrates.io\u002Fcrates\u002Fazure_messaging_eventhubs |\n","# Azure Event Hubs library for Rust\n\nClient library for Azure Event Hubs — send and receive events for streaming data ingestion.\n\nUse this skill when:\n\n- An app needs to send events to Azure Event Hubs from Rust\n- You need to receive and process events from partitions\n- You need batch sending for throughput optimization\n- You need to control consumer start position\n\n> **IMPORTANT:** Only use the official `azure_messaging_eventhubs` crate published by the [azure-sdk](https:\u002F\u002Fcrates.io\u002Fusers\u002Fazure-sdk) crates.io user. Do NOT use unofficial or community crates. Official crates use underscores in names and none have version 0.21.0.\n\n## Installation\n\n```sh\ncargo add azure_messaging_eventhubs azure_identity tokio futures\n```\n\n> **Do not** add `azure_core` directly to `Cargo.toml`. It is re-exported by `azure_messaging_eventhubs`.\n\n## Environment Variables\n\n```bash\nEVENTHUBS_HOST=\u003Cnamespace>.servicebus.windows.net # Required — fully qualified namespace\nEVENTHUB_NAME=\u003Ceventhub-name>                     # Required — name of the Event Hub\n```\n\n## Key Concepts\n\n| Concept       | Description                                          |\n| ------------- | ---------------------------------------------------- |\n| **Namespace** | Container for one or more Event Hubs                 |\n| **Event Hub** | Stream of events, partitioned for parallel reads     |\n| **Partition** | Ordered, append-only sequence of events              |\n| **Producer**  | Sends events via `ProducerClient`                    |\n| **Consumer**  | Receives events from partitions via `ConsumerClient` |\n\n## Authentication\n\n```rust\nuse azure_identity::DeveloperToolsCredential;\nuse azure_messaging_eventhubs::ProducerClient;\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 = DeveloperToolsCredential::new(None)?;\n\n    let producer = ProducerClient::builder()\n        .open(\"\u003Cnamespace>.servicebus.windows.net\", \"\u003Ceventhub-name>\", credential.clone())\n        .await?;\n    Ok(())\n}\n```\n\n## Core Workflow\n\n### Send Events\n\n```rust\n\u002F\u002F Send a single event\nproducer.send_event(vec![1, 2, 3, 4], None).await?;\n```\n\n### Send Batch\n\n```rust\nlet batch = producer.create_batch(None).await?;\nbatch.try_add_event_data(vec![1, 2, 3, 4], None)?;\n\nproducer.send_batch(batch, None).await?;\n```\n\n### Receive Events\n\n```rust\nuse azure_identity::DeveloperToolsCredential;\nuse azure_messaging_eventhubs::ConsumerClient;\n\n\u002F\u002F Local dev: DeveloperToolsCredential. Production: use ManagedIdentityCredential.\nlet credential = DeveloperToolsCredential::new(None)?;\nlet consumer = ConsumerClient::builder()\n    .open(\"\u003Cnamespace>.servicebus.windows.net\", \"\u003Ceventhub-name>\", credential.clone())\n    .await?;\n```\n\n### Receive from Partition\n\n```rust\nuse futures::stream::StreamExt;\nuse azure_messaging_eventhubs::{\n    ConsumerClient, OpenReceiverOptions, StartLocation, StartPosition,\n};\n\nlet receiver = consumer\n    .open_receiver_on_partition(\n        \"0\".to_string(),\n        Some(OpenReceiverOptions {\n            start_position: Some(StartPosition {\n                location: StartLocation::Earliest,\n                ..Default::default()\n            }),\n            ..Default::default()\n        }),\n    )\n    .await?;\n\nlet mut stream = receiver.stream_events();\nwhile let Some(event_result) = stream.next().await {\n    match event_result {\n        Ok(event) => println!(\"Received: {:?}\", event),\n        Err(err) => eprintln!(\"Error: {:?}\", err),\n    }\n}\n```\n\n## RBAC Roles\n\nFor Entra ID auth, assign one of these roles:\n\n| Role                             | Access         |\n| -------------------------------- | -------------- |\n| `Azure Event Hubs Data Sender`   | Send events    |\n| `Azure Event Hubs Data Receiver` | Receive events |\n| `Azure Event Hubs Data Owner`    | Full access    |\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. **Use batching** — `create_batch` + `send_batch` for throughput optimization\n4. **Handle errors per event** — match on `Ok`\u002F`Err` in the event stream\n5. **Specify start position** — use `StartLocation::Earliest` or `StartLocation::Latest` to control where consumption begins\n\n## Reference Links\n\n| Resource      | Link                                               |\n| ------------- | -------------------------------------------------- |\n| API Reference | https:\u002F\u002Fdocs.rs\u002Fazure_messaging_eventhubs          |\n| crates.io     | https:\u002F\u002Fcrates.io\u002Fcrates\u002Fazure_messaging_eventhubs |\n",{"name":5,"license":15,"metadata":24,"description":27},{"author":25,"package":26},"Microsoft","azure_messaging_eventhubs","Azure Event Hubs library for Rust. Send and receive events for streaming data ingestion and batch processing.\nTriggers: \"event hubs rust\", \"ProducerClient rust\", \"ConsumerClient rust\", \"send event rust\", \"streaming rust\", \"eventhub rust\".\n","main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill azure-eventhub-rust",{"tool":40,"command":41},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill azure-eventhub-rust",{"tool":43,"command":44},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill azure-eventhub-rust","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fazure-eventhub-rust\u002FSKILL.md",true,[],[49,57,64,71,78,86],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":56},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":56},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":56},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":56},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\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":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":56},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]