add-analytics-instrumentation (Amplitude Instrumentation Solution)

The master instrumentation skill in Amplitude's official plugin repository: The agent locates relevant code based on a PR, branch, file directory, or feature description provided by the user, sequentially invokes the diff-intake, discover-event-surfaces, and instrument-events skills from the same repository, and produces a tracking plan detailing events, properties, code locations, and instrumentation code.

The master instrumentation skill in Amplitude's official plugin repository: The agent locates relevant code based on a PR, branch, file directory, or feature description provided by the user, sequentially invokes the diff-intake, discover-event-surfaces, and instrument-events skills from the same repository, and produces a tracking plan detailing events, properties, code locations, and instrumentation code.

Security Audit: Not audited

  • Not yet scanned

Rationale

  • First, automatically determine the input type: treat URLs or #numbers as PRs, branch-like strings as branches, existing disk paths as files, and everything else as feature descriptions; do not re-ask for information already provided in the conversation.
  • For feature descriptions, first use git log --all --grep to find relevant commits, then search code by keywords and paths; when files are provided directly, first scan for existing instrumentation calls such as track(, logEvent(, or amplitude.track( to avoid duplication.
  • Finally, provide a plan only for the highest-priority (priority 3) events, explaining individually what to track, why, which Amplitude project it sends to, which function it resides in, and which properties it includes, then ask the user whether to adjust or begin implementation.
  • If any step fails, report an error and stop; do not proceed with incomplete data; skills.sh 24 hour installation 995 (represents attention level only).

Usage

  • The installation command will be displayed after the audit passes; the README recommends installing the entire suite as a plugin (in Claude Code, use claude plugin install amplitude and follow the prompts to log in).
  • Triggered by phrases like "add instrumentation to this PR" or "instrument the onboarding flow"; multi-project routing reads .amplitude/instrumentation-agent.yaml in the repository.

Risks

  • Not audited in this cycle, fixed at Grade C, installation command not displayed; this is merely an orchestration layer, with actual analysis relying on the other three sub-skills, which were neither read nor scanned in this instance; the Snyk audit on skills.sh is marked as Warn.
  • The plan defaults to Amplitude's SDK and project structure; repositories using other analytics tools require separate adaptation; verify reported properties against your own privacy policy before implementing instrumentation.
  • The skills.sh page shows the repository has only 46 stars, and the daily installation count is disproportionate to the repository size.

Open · Repository

Best Skills 每日数据(LinklyAI / @BlueeonY,CC BY 4.0)

Explore the latest AI Radar updates