Skip to content
Resources / Playbooks

Review your current event taxonomy

Start here if dashboards cite events nobody can confirm still fire. A Skene OSS run writes a journey document your team can inspect alongside the tracking code.

Job-to-be-done: Map the tracking calls found in your repository and review gaps in their meaning. · Updated 2026-05-22

Problem context

You have analytics events firing across the codebase but no canonical list of what they are.

Different teams disagree about what specific events mean or where they fire.

Dashboards reference event names nobody is sure exist in the current code.

What breaks if this is not solved

  • New PRs silently change events because nobody knows which events the PR touches.
  • Onboarding new engineers takes too long because the instrumentation is implicit.
  • Decisions get made against dashboards that are partly drawn from events that no longer fire.

When this playbook applies

  • Your codebase has more than a few analytics calls and you cannot list them from memory.
  • You write events into Supabase from your code (client inserts, server inserts, or RPC).
  • Nobody has reviewed the full list of events in the last six months.

System approach

Treat the output of the CLI run as data, not a document. The manifest should be machine-readable so future PRs can diff against it.

Audit once locally before turning anything on in CI. The first run will surface real questions about which events are obsolete.

Resolve ambiguity at audit time, not later: every event in the manifest should have an owner and a use.

Execution steps

  1. Run through uvx, which downloads and runs the CLI. Use pip install skene if you want it on the PATH permanently.
  2. Run uvx skene analyse-journey . at the repo root. It writes skene-context/journey.yaml, the customer journey it finds in your code and schema.
  3. Open the manifest. Group events by file or by library to see the shape of what exists.
  4. For each event, mark: still in use, deprecated, or unclear. Resolve the unclear ones with whoever wrote them.
  5. Drop the obsolete calls in a single PR. Commit the cleaned manifest.
  6. Decide whether to keep reviewing locally or enable the GitHub App’s pull-request reviews. The deterministic API check is a separate plan-versus-scan mechanism.

Metrics to watch

  • Events in the manifest

    Whatever the first CLI run returns: this is your baseline.

    A useful baseline. Not a target. Repeat the CLI run quarterly to check that the event count grows only where you meant it to.

  • Deprecated events

    Trend down to zero after the cleanup PR.

    If deprecated events keep coming back, somebody is reintroducing them by copy-paste.

Failure modes

  • Treating the manifest as a write-once document. It needs to live in code and update on every merge.
  • Cleaning up obsolete events without checking the dashboards that depend on them.
  • Auditing once, never again, and waiting six months for the surface to drift again.