Skip to main content
skill GitHub Copilot official · GitHub

appinsights-instrumentation — GitHub Copilot skill

This skill adds telemetry to a web app and sends it to Azure App Insights. Use it when an Azure-hosted app needs better visibility into its health.

Install into GitHub Copilot · Skills CLI (Vercel) All methods and platforms ↓
npx skills add github/awesome-copilot --skill appinsights-instrumentation
Open on GitHub

What appinsights-instrumentation does

The skill identifies the app's language, framework, and hosting setup, then selects an Azure App Insights integration path. It targets ASP.NET Core and Node.js apps hosted in Azure. The hosting environment must be confirmed before setup.

For the App Insights resource, the skill can extend an existing Bicep template or use the Azure CLI command from scripts/appinsights.ps1. It recommends placing the resource in the resource group used by the hosted app. Separate code instructions cover ASP.NET Core, Node.js, and Python.

Install it when your app runs in Azure and you need application telemetry. A local app without Azure is outside this skill's intended use.

What it helps with

  • add telemetry to a web app
  • create an Azure App Insights resource
  • connect App Insights to an ASP.NET Core app
  • configure data collection in a Node.js app
  • choose between Bicep and Azure CLI setup

Example prompts for the agent

  • Add telemetry to this ASP.NET Core app and confirm how it is hosted.
  • Set up Azure App Insights for this Node.js app using the suitable resource creation path.
  • Inspect the project and connect App Insights with `scripts/appinsights.ps1` if there is no Bicep template.

How to install appinsights-instrumentation

1Skills CLI (Vercel)

npx skills add github/awesome-copilot --skill appinsights-instrumentation

2GitHub CLI

gh skill install github/awesome-copilot appinsights-instrumentation

3Manually: put the files in place

.github/skills/appinsights-instrumentation/SKILL.md

From the same set554

The whole set →
git-commit official github This skill reviews Git changes, stages related files, and creates Conventional Commits. Use it when you want an agent to make one commit or split work into separate commits. GitHub Copilot 47,165installs excalidraw-diagram-generator official github Turn a plain-language description into an Excalidraw diagram. Useful for mapping processes, system structure, and relationships between entities. GitHub Copilot 31,639installs multi-stage-dockerfile official github This skill guides GitHub Copilot in writing multi-stage Dockerfiles for different languages and frameworks. Use it when the final runtime image should contain fewer build dependencies. GitHub Copilot 29,688installs documentation-writer official github Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing. GitHub Copilot 27,757installs prd official github Turns a feature idea into a structured PRD with user stories, technical requirements, and risks. Use it when planning a software feature or an AI-powered one. GitHub Copilot 24,035installs refactor official github This skill reshapes existing code without changing its external behavior. Use it for gradual cleanup of large functions, duplication, weak types, and code smells. GitHub Copilot 22,321installs java-springboot official github Gives GitHub Copilot Spring Boot development practices, from project layout to tests and security. Use it when writing or reviewing Java application code. GitHub Copilot 21,272installs create-readme official github This skill reviews a project and creates a structured README.md. Use it when the repository needs clear documentation based on its actual files and code. GitHub Copilot 19,081installs

Similar

figma-generate-design official openai Turns an app page or multi-section layout into a Figma screen built from your published design system, not hand-drawn boxes. Claude Code CX Codex Cursor +1 2,900installs figma-create-design-system-rules official openai Generates project-specific design system guidelines for AI coding agents handling Figma-to-code tasks. It inspects existing components and writes rules directly into your repository. Claude Code CX Codex Cursor +1 2,900installs math-olympiad official Anthropic Solves competition math problems from IMO, Putnam, and USAMO using adversarial verification and pure reasoning without computation tools. Claude Code 4,024installs shadcn-vue unovue Teaches coding agents shadcn-vue architecture, proper CLI runners, FieldGroup form composition, and strict Tailwind semantic token rules. Claude Code CX Codex Cursor +1 5,700installs find-skills vercel-labs Discovers and installs agent skills from skills.sh directly inside your coding assistant. Handy when you need domain-specific workflows for a project. Claude Code CX Codex Cursor +1 4,000,000installs frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. Claude Code Claude.ai 1,025,790installs grill-me Matt Pocock grill-me interviews you about a plan or design to expose gaps and sharpen decisions. Use it before implementation starts. Claude Code 1,424,476installs grill-with-docs Matt Pocock This skill interviews you about a plan or design and creates ADRs and a glossary along the way. Use it when decisions need sharper definition. Claude Code 1,219,756installs

Questions about appinsights-instrumentation

How do I install appinsights-instrumentation in GitHub Copilot?

Run npx skills add github/awesome-copilot --skill appinsights-instrumentation, then use .github/skills/appinsights-instrumentation/SKILL.md.

What does appinsights-instrumentation do?

The skill helps connect Azure App Insights to a web app, create the resource, and update application code to send telemetry.

What applications does appinsights-instrumentation support?

The workflow targets ASP.NET Core and Node.js apps hosted in Azure. The skill also includes a separate guide for Python code.

Source text

SKILL.md · MIT
---
name: appinsights-instrumentation
description: 'Instrument a webapp to send useful telemetry data to Azure App Insights'
---

# AppInsights instrumentation

This skill enables sending telemetry data of a webapp to Azure App Insights for better observability of the app's health.

## When to use this skill

Use this skill when the user wants to enable telemetry for their webapp.

## Prerequisites

The app in the workspace must be one of these kinds

- An ASP.NET Core app hosted in Azure
- A Node.js app hosted in Azure

## Guidelines

### Collect context information

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.). 

### Prefer auto-instrument if possible

If the app is a C# ASP.NET Core app hosted in Azure App Service, use [AUTO guide](references/AUTO.md) to help user auto-instrument the app.

### Manually instrument

Manually instrument the app by creating the AppInsights resource and update the app's code. 

#### Create AppInsights resource

Use one of the following options that fits the environment.

- Add AppInsights to existing Bicep template. See [examples/appinsights.bicep](examples/appinsights.bicep) for what to add. This is the best option if there are existing Bicep template files in the workspace.
- Use Azure CLI. See [scripts/appinsights.ps1](scripts/appinsights.ps1) for what Azure CLI command to execute to create the App Insights resource.

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.

#### Modify application code

- If the app is an ASP.NET Core app, see [ASPNETCORE guide](references/ASPNETCORE.md) for how to modify the C# code.
- If the app is a Node.js app, see [NODEJS guide](references/NODEJS.md) for how to modify the JavaScript/TypeScript code.
- If the app is a Python app, see [PYTHON guide](references/PYTHON.md) for how to modify the Python code.

© github · MIT · github/awesome-copilot

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor