From magic-powers
Use when setting up Azure observability with Log Analytics, configuring metric and log alerts, integrating Application Insights for APM, routing diagnostic logs, or studying for AZ-400 or AZ-305.
npx claudepluginhub kienbui1995/magic-powers --plugin magic-powersThis skill uses the workspace's default tool permissions.
- Setting up centralized logging and monitoring for Azure resources
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.
| Data Type | Description | Retention | Tool |
|---|---|---|---|
| Metrics | Numeric time-series (CPU %, request count) | 93 days | Metrics Explorer |
| Logs | Structured records (events, traces, exceptions) | 30 days default (configurable to 2 years) | Log Analytics |
| Traces | Distributed tracing across services | Application Insights | Application Insights |
| Changes | Resource configuration changes | Azure Resource Graph | Change Analysis |
// Requests in last 1 hour, bucketed by 5 minutes
requests
| where timestamp > ago(1h)
| summarize count() by bin(timestamp, 5m)
| render timechart
// Errors grouped by operation
exceptions
| where timestamp > ago(24h)
| summarize count() by outerMessage
| order by count_ desc
| Alert Type | Based On | Good For |
|---|---|---|
| Metric alert | Metric threshold or dynamic baseline | CPU > 80%, response time spike |
| Log search alert | KQL query result count or value | Error count, specific log pattern |
| Activity Log alert | Azure resource operation | "VM deleted", "policy assignment changed" |
| Smart Detection | ML anomaly (App Insights) | Automatic failure rate anomaly |
| where, | summarize, | project, | render; same as Sentinel and Fabric| where TimeGenerated > ago(1h) | summarize count() by bin(TimeGenerated, 5m) — standard pattern for time-bucketed log analysisunion workspace("ws2").TableName