帮助开发者为 Web 应用接入 Azure Application Insights 并配置遥测采集。
该技能材料显示其为开源的纯指导型提示/文档技能,不要求密钥、未声明远程端点,也不直接执行变更,整体风险较低。需注意其内容会建议读取工作区源码并参考脚本/CLI命令,但从已给材料看这属于文档指导而非工具自身自动执行。
材料明确标注无需密钥或环境变量;未见要求用户提供 API token、云凭证或其他敏感认证信息的说明,凭证暴露面低。
系统检查项与材料均显示无远程端点;该技能本身是参考指导内容,未描述会将用户数据发送到外部服务。文档中提到 Azure/Application Insights 仅属于被讲解对象,不构成该技能自身的已声明外发行为。
已被标记为 prompt-only,README也强调其提供 guidance/reference material,实际修改应由 azure-prepare 执行;虽引用 Azure CLI 与脚本示例,但未显示该技能自身会在本机启动进程或执行命令。
README明确建议“读取源代码以做出判断”,说明其预期使用场景可能涉及访问工作区代码内容;这属于技能/代理常规的数据读取能力,但从材料看未声明写文件、删除数据或访问超出工作区范围的资源。
正面因素是 GitHub 上可审计开源,且仓库归属 Microsoft,能显著降低供应链风险;但社区采用为 0 star、许可证未声明、维护状态未知,仍需保留一定审慎。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "appinsights-instrumentation" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/appinsights-instrumentation/SKILL.md 2. 保存为 ~/.claude/skills/appinsights-instrumentation/SKILL.md 3. 装好后重载技能,告诉我可以用了
请指导我在一个 React Web 应用中接入 Azure Application Insights,包括 SDK 安装、初始化代码、连接字符串配置,以及如何采集页面浏览和异常信息。
提供 React 接入步骤、示例代码和基础遥测配置说明。
我正在开发一个电商网站,请帮我设计 Application Insights 遥测埋点方案,覆盖页面访问、用户点击、接口耗时、错误日志和关键业务事件,并说明推荐命名方式。
输出一套结构化埋点方案,包含事件类型、字段建议与命名规范。
请检查我对 Azure Application Insights 的接入思路是否合理,并总结 Web 应用监控的最佳实践,包括采样、隐私数据处理、性能影响控制和环境区分配置建议。
给出配置审查意见及一份可执行的监控最佳实践清单。
This skill provides guidance and reference material for instrumenting webapps with Azure Application Insights.
⛔ ADDING COMPONENTS?
If the user wants to add App Insights to their app, invoke azure-prepare instead. This skill provides reference material—azure-prepare orchestrates the actual changes.
The app in the workspace must be one of these kinds
Find out the (programming language, application framework, hosting) tuple of the application the user is trying to add telemetry support in. This determines how the application can be instrumented. Read the source code to make an educated guess. Confirm with the user on anything you don't know. You must always ask the user where the application is hosted (e.g. on a personal computer, in an Azure App Service as code, in an Azure App Service as container, in an Azure Container App, etc.).
If the app is a C# ASP.NET Core app hosted in Azure App Service, use AUTO guide to help user auto-instrument the app.
Manually instrument the app by creating the AppInsights resource and update the app's code.
Use one of the following options that fits the environment.
No matter which option you choose, recommend the user to create the App Insights resource in a meaningful resource group that makes managing resources easier. A good candidate will be the same resource group that contains the resources for the hosted app in Azure.
指导完成 Microsoft Entra ID 应用注册、OAuth 配置与 MSAL 接入。
帮助排查并解决 Azure Event Hubs 与 Service Bus SDK 的连接、认证和消息处理问题。
帮助你跨订阅或资源组快速查询、盘点和定位 Azure 资源。
帮助你端到端部署、评估、微调并持续优化 Microsoft Foundry 智能体与模型。
执行已准备好的 Azure 应用部署,并自动处理常见发布错误恢复。
调用 Azure AI 完成搜索、语音转写、文本转语音与 OCR 识别
帮助你安全排查 Azure 生产故障,定位应用、容器与消息服务根因
帮助你为 Azure 应用生成部署准备文件与基础设施配置,加速创建、现代化与上线。
帮助开发者基于 Zoom Apps SDK 构建运行在 Zoom 客户端内的网页应用功能。
帮助用户安装、配置、编写并排查 APM 智能体包与 apm 命令问题
帮助你构建、评审与重构 ASP.NET Core Web 应用及架构方案
连接 AI 编码助手与 OpenTelemetry 生态,实时获取文档、示例与观测埋点建议。