MC

microsoft/code-optimizations-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

5 stars 质量 53 趋势 17MIT

GitHub Copilot CLI skill plugin for code optimizations based on Profiler and Telemtries.

概览

***imize · Diagnos***ics · F*** — a GitHub Copilot CLI plugin for Azure Application Insights monitoring and performance optimization. Production issues are hard to debug — scattered telemetry, unfamiliar tools, and context switching between portals. Optix brings Azure Application Insights directly into your terminal, so you can go from symptom to root cause to fix without leaving your workflow. - — surface slow requests, errors, and anomalies from Application Insights telemetry - — drill into profiler hot paths, snapshot call stacks, and distributed traces at the method level - — get actionable code-level recommendations, not just dashboards Skills are organized into three categories that form a natural workflow: → → . These skills help ensure Azure monitoring tools are enabled and configured. They are recommended but not strictly required — other skills will guide you to enable them when needed.

README

以下为原文 README 节选,完整内容请查看原文。

Optix

Optimize · Diagnostics · Fix — a GitHub Copilot CLI plugin for Azure Application Insights monitoring and performance optimization.

▶ Watch the demo video

Why Optix?

Production issues are hard to debug — scattered telemetry, unfamiliar tools, and context switching between portals. Optix brings Azure Application Insights directly into your terminal, so you can go from symptom to root cause to fix without leaving your workflow.

  • Find what’s broken — surface slow requests, errors, and anomalies from Application Insights telemetry
  • Understand why — drill into profiler hot paths, snapshot call stacks, and distributed traces at the method level
  • Fix it faster — get actionable code-level recommendations, not just dashboards

Case Studies

Real bugs found and fixed using Optix:

Case Study What happened Impact
Redis Instrumentation Blind Spot Redis operations were completely invisible — no dependency telemetry, no profiler frames. A connection pool exhaustion event caused 500 errors with 60s+ request durations. Added Redis dependency tracking; enabled data-driven timeout tuning
Kusto Cancellation Exception 36+ Error-level exceptions per day from benign client disconnects, triggering unnecessary Snapshot Debugger captures. Downgraded to Warning; eliminated telemetry noise
Geneva Audit Missing Description Audit records silently dropped 176 times/day across 13 production regions due to a missing parameter. One-line fix restored audit compliance
CDS Request Failed Exception Transient CDS failures cached for 15 minutes, amplifying brief outages into prolonged service degradation. Added cache eviction for transient errors; differentiated 5xx from permanent failures

What’s Included

Skills

Skills are organized into three categories that form a natural workflow: Setup → Explore → Investigate.

🔧 Setup — “Am I ready?” (recommended)

These skills help ensure Azure monitoring tools are enabled and configured. They are recommended but not strictly required — other skills will guide you to enable them when needed.

Skill Description
enable-profiler Guides users through enabling the Application Insights Profiler for .NET on their platform when profiler data is missing
enable-snapshot-debugger Guides users through enabling the Application Insights Snapshot Debugger for .NET on their platform when snapshot data is missing
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add microsoft/code-optimizations-skills
新手?先看 mcpskill.org 教程 →