From magic-powers
Use when building real-time streaming pipelines in Microsoft Fabric with Eventstreams, connecting Event Hubs or IoT Hub sources, processing streams with windowed aggregations, or routing to Eventhouse/Lakehouse destinations. Covers DP-700 real-time intelligence domain.
npx claudepluginhub kienbui1995/magic-powers --plugin magic-powersThis skill uses the workspace's default tool permissions.
- Ingesting real-time event data into Microsoft Fabric from Event Hubs, IoT Hub, or Kafka
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
| Source | Description |
|---|---|
| Azure Event Hubs | Most common; connect existing event hub namespace |
| Azure IoT Hub | Device telemetry from IoT scenarios |
| Apache Kafka | Kafka-compatible endpoint; use consumer group |
| Sample data | Built-in sample streams (e.g., Bicycles, Taxis) for testing |
| Custom App | Use Fabric SDK or Event Hubs SDK to publish events |
| Azure SQL DB (CDC) | Change data capture stream from SQL Server |
| PostgreSQL (CDC) | Change data capture stream from PostgreSQL |
| Destination | Latency | Best for |
|---|---|---|
| Eventhouse (KQL Database) | Milliseconds | Real-time dashboards, KQL queries, alerts |
| Lakehouse (Delta table) | Seconds to minutes | Near-real-time; Delta streaming into medallion |
| Reflex | Near real-time | Event-driven alerts and automated actions |
| Derived stream | — | Fan-out to multiple downstream transformations |
Transformations applied in-flight before data reaches destination:
| Transformation | Description |
|---|---|
| Filter | Include/exclude events based on field conditions |
| Manage fields | Add, remove, rename, or change types of fields |
| Aggregate | Sum, Count, Min, Max, Avg over time window |
| Group by | Group aggregations by field values |
| Union | Merge multiple streams into one |
| Expand | Flatten nested JSON arrays |
// Count events per minute
Events
| where Timestamp > ago(1h)
| summarize count() by bin(Timestamp, 1m)
| render timechart
// Filter and project
Events
| where EventType == "click"
| project UserId, Timestamp, Page
| Aspect | Eventstreams | Azure Event Hubs |
|---|---|---|
| Scope | Fabric-native streaming pipeline | Standalone messaging service |
| Transformation | Built-in (no-code) | Requires Stream Analytics or Spark |
| Destinations | Fabric-native (Lakehouse, Eventhouse) | Any Azure service |
| Best for | Fabric-first analytics | Cross-service event distribution |
| where, | summarize, | project, | rendersummarize count() by bin(Timestamp, 1m) — standard pattern for 1-minute aggregation on time-series data