Skip to content
Back to skills

Plugin Analytics Instrumentation

ASecurity

Instrument Backstage frontend plugins with meaningful Analytics API events and tests while avoiding duplicate BUI navigation events or UI noise. Use when adding or reviewing captureEvent, AnalyticsContext, event taxonomy, noTrack overrides, or analytics behavior.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 4, 2026
ai-agentsgitapifrontend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add paulasilvatech/awesome-harness-primitives --skill plugin-analytics-instrumentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plugin Analytics Instrumentation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plugin Analytics Instrumentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/paulasilvatech-plugin-analytics-instrumentation-awesome-harness-primitives/badge)](https://www.skillsdirectory.com/skills/paulasilvatech-plugin-analytics-instrumentation-awesome-harness-primitives)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: plugin-analytics-instrumentation
description: >-
  Instrument Backstage frontend plugins with meaningful Analytics API events and tests while
  avoiding duplicate BUI navigation events or UI noise. Use when adding or reviewing captureEvent,
  AnalyticsContext, event taxonomy, noTrack overrides, or analytics behavior.
license: Apache-2.0
metadata:
  source-repository: "https://github.com/backstage/backstage"
  source-commit: eeac444a9aba7c107525d2a726851e907418c181
---

<!-- Generated from harness/github-copilot/plugins/backstage-expert/skills/plugin-analytics-instrumentation/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->

# Backstage plugin analytics instrumentation

Capture semantic plugin-owned outcomes and user intent, not every interaction or component
lifecycle event.

## When to invoke

- "Add analytics events to this Backstage plugin."
- "Review captureEvent usage."
- "Test AnalyticsContext behavior."
- "Avoid duplicate events from Backstage UI components."

## Procedure

1. Confirm frontend mode, installed Analytics API and BUI versions, and the questions the events
   must answer.
2. Read [the pinned upstream procedure](references/upstream/SKILL.md).
3. Inventory existing analytics context, built-in BUI events, manual events, and tests.
4. Define stable action, subject, and context fields for semantic plugin-owned behavior.
5. Prefer BUI components' built-in navigation instrumentation.
6. Use `noTrack` only when replacing a built-in event with a more meaningful event.
7. Avoid lifecycle, hover, generic tab, duplicate click, and field-by-field form noise.
8. Add tests for event presence, payload, context, and non-duplication.
9. Validate that event values contain no secrets, tokens, or sensitive user data.

## Output template

```markdown
## Plugin analytics result

| User intent | Action | Subject | Context | Test |
| --- | --- | --- | --- | --- |

### Removed or avoided events
- <event and reason>
```

## Quality gate

- [ ] Every event answers a named product or operational question.
- [ ] BUI built-in events are reused rather than duplicated.
- [ ] Action, subject, and context remain independently queryable.
- [ ] Event payloads contain no secrets or sensitive user data.
- [ ] Tests cover event capture and non-capture cases.
- [ ] Lifecycle and low-value UI noise are not instrumented.

Files in this skill

  • SKILL.md2.3 KB
  • references/upstream/SKILL.md10.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…