add-analytics-instrumentation

Generate analytics tracking plans from code changes in PRs, branches, or files.

28|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/amplitude/wizard --skill add-analytics-instrumentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-analytics-instrumentation
Source: https://github.com/amplitude/wizard/tree/main/skills/instrumentation/add-analytics-instrumentation
Command: npx skills add https://github.com/amplitude/wizard --skill add-analytics-instrumentation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end analytics instrumentation workflow for a PR, branch, file, directory, or feature. Reads the code, discovers what events should be tracked, and produces a concrete instrumentation plan — all in one shot. Use this skill whenever a user wants to add analytics to a PR, asks "instrument this PR", "add tracking to this branch", "what analytics does this file need", "instrument the checkout flow", "run the full instrumentation workflow", or any request that implies going from code changes to a tracking plan. Also trigger when the user gives you a PR link, branch name, file path, or feature description and mentions analytics, events, or instrumentation. This is the main entry point for the analytics workflow — prefer it over calling the individual steps (diff-intake, discover-event-surfaces, instrument-events) separately.

Core Features & Use Cases

  • End-to-end instrumentation workflow: reads code changes and outputs a concrete tracking plan.
  • Supports PR, branch, file, or feature inputs; triggers when user mentions analytics.
  • Orchestrates the instrumentation workflow across steps to produce actionable results.

Quick Start

Describe the code changes you want instrumented (a PR, a branch, or a file) and I will generate a full analytics instrumentation plan.

Frequently Asked Questions about add-analytics-instrumentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an analytics tracking plan from a pull request?

Analytics tracking plans are generated by reading source code changes from a pull request, discovering relevant events, and orchestrating the workflow to output a concrete tracking plan. You simply describe the PR or provide a link to automate the end-to-end instrumentation.

What is the best way to automate event instrumentation for a branch?

Automating event instrumentation for a branch involves reading the code changes, identifying relevant event surfaces, and producing a concrete tracking plan. You can trigger this workflow by requesting tracking for a specific branch name or feature description.

Can I instrument analytics for a single file instead of an entire branch?

Yes, you can instrument analytics for a single file. The workflow supports file-by-file instrumentation, reading the specified source code to discover what events should be tracked and generating a concrete tracking plan for that specific file.

Does this instrumentation workflow handle feature-level code changes?

Yes, the instrumentation workflow handles feature-level inputs. When you describe a feature or provide a file path alongside an analytics request, it reads the code changes and orchestrates the steps to deliver an actionable tracking plan.

When should I use an end-to-end instrumentation workflow instead of individual steps?

You should use an end-to-end instrumentation workflow whenever you need to go from code changes to a tracking plan in one shot. It orchestrates the diff-intake, event discovery, and instrumentation steps automatically, making it preferable over calling the individual steps separately.