eliyce/paqad-ai/analytics-instrumentation

Claude Code and agent skill by eliyce/paqad-ai

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Wires a feature's analytics the tracking-plan-as-code way: the model names the event in the project's one convention and writes the doc body, and the bundled instrument.mjs writes the per-event doc and module index and prints the provider snippet. A new event goes through the analytics.new_event Decision Pause first. Use when analytics_instrumentation is on and the classify-time gate resolved to instrument.

Install

npx vskill@latest install eliyce/paqad-ai/analytics-instrumentation

SKILL.md

The same SKILL.md was published earlier as eliyce/paqad-ai/analytics-instrumentation.

Analytics instrumentation

What It Does

Turns "add tracking for this feature" into the governed, documented, drift-resistant flow paqad promises: it names and documents each event as a reviewed per-event doc, governs every new event through a Decision Pause, and emits the provider tracking-call to paste into the source.

Use This When

Analytics is enabled (analytics_instrumentation on) and the classify-time gate wrote .paqad/planning/analytics-decision.json with status: instrument: i.e. a user-facing change in a project with a detected provider. Skip entirely when analytics is off or the change is not user-facing.

Inputs

  • project_root: resolves the docs tree and the analytics decision sidecar.
  • module, feature: the module and feature slugs the event belongs to (from the module map).
  • event: the exact event name, in the project's ONE consistent convention.
  • provider: one or more analytics provider ids the event fires to.

Procedure

  1. Name the event in the project's one consistent convention. Read

docs/instructions/stack/analytics.md and the module's analytics/index.md first, and reuse an existing event before coining a new one. Object-action + past tense is a common default, not a rule; consistency is the rule, and no variable data goes in the name.

  1. Govern a new event. If the event does not already exist, open a Decision Pause packet in

the analytics.new_event category (who proposed it, why, with the name/casing/taxonomy/PII surfaced) via the decision skill and wait for the answer. Never add a new event silently.

  1. Instrument + document. Run the bundled script to write the per-event doc and get the

provider call snippet: node scripts/instrument.mjs <project-root> --module <m> --feature <f> --event <name> --provider <p> [--provider <p> ...]. Paste the printed snippet at the call site, then fill in the doc body: what the event means, its properties, and the PII/consent section.

Output Contract

The script prints JSON { docPath, written, snippet } on stdout: docPath is the module-owned per-event doc, written lists the files created or refreshed (the doc + the per-module analytics/index.md), and snippet is the provider tracking call(s) to paste. The doc's existence is what the off | warn | strict completeness gate checks at Done.

Escalate / Stop Conditions

  • A brand-new event, or any name/casing/taxonomy/PII concern: STOP and open the

analytics.new_event (or the matching analytics.*) Decision Pause; do not instrument until it resolves.

  • Analytics off or a non-instrument sidecar: do nothing (INV-1 keeps a non-analytics run

silent).

Resources

  • scripts/instrument.mjs: writes the per-event doc + index and prints the provider snippet.
  • references/analytics-tracking-plan-contract.md: the tracking-plan-as-code contract this

skill implements.

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/eliyce/paqad-ai/analytics-instrumentation/badge)](https://verified-skill.com/skills/eliyce/paqad-ai/analytics-instrumentation)

Something wrong with this skill or its page? Tell us.