agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/telemetry-event-contract-review/SKILL.md

telemetry-event-contract-review

Skill3 starsChanged 3 months agoMITView on GitHub

Use when reviewing game analytics or telemetry event names, IDs, required properties, types, versions, privacy classes, producers, consumers, and backward compatibility before instrumentation changes.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat telemetry as a versioned producer-consumer contract so analytics changes remain compatible, privacy-aware, and testable.

    line 32
  2. Distinctive:

    Use for new events, renamed properties, type changes, required-field changes, client/server instrumentation, analytics migrations, and …

    line 35
  3. Distinctive:

    Do not use to transmit live events, query production player data, deploy collectors, or approve privacy-sensitive collection without the …

    line 38
  4. Very specific:

    Read-only contract review.

    line 44
  5. Distinctive:

    Do not collect identifiers merely because storage exists.

    line 68
  6. Very specific:

    Use the bundled scripts/telemetry_contract.py for deterministic schema compatibility checks.

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Telemetry Event Contract Review

Overview

Treat telemetry as a versioned producer-consumer contract so analytics changes remain compatible, privacy-aware, and testable.

When to use

Use for new events, renamed properties, type changes, required-field changes, client/server instrumentation, analytics migrations, and dashboard dependency reviews.

When NOT to use

Do not use to transmit live events, query production player data, deploy collectors, or approve privacy-sensitive collection without the responsible human reviewers.

Required inputs and context discovery

Collect baseline and proposed schemas, event IDs and names, property types and optionality, versions, producers, consumers, sampling, timestamps, identity fields, privacy classification, retention, consent rules, rollout, and deprecation window.

Safety and risk level

Read-only contract review. Unknown privacy classification, ambiguous identifiers, missing consent rules, or inaccessible consumer inventories are BLOCKED for approval.

Workflow

  1. Normalize event IDs, names, versions, properties, types, and optionality. Completion criterion: duplicate IDs and ambiguous aliases are explicit failures.
  2. Compare baseline and proposal for additive, breaking, and semantic changes. Completion criterion: every change has compatibility classification and affected versions.
  3. Trace producers, consumers, dashboards, experiments, and retention dependencies. Completion criterion: unknown consumers are BLOCKED rather than assumed safe.
  4. Review privacy classification, minimization, consent, sampling, and retention. Completion criterion: sensitive or unnecessary properties have an owner and disposition.
  5. Define rollout, dual-write or migration, validation, and deprecation evidence. Completion criterion: backward compatibility and rollback are testable before deployment.

Evidence and output contract

Produce telemetry-contract-review.json with normalized schemas, compatibility findings, producer-consumer impacts, privacy findings, rollout plan, validation cases, verdict, and limitations.

Handoff contract

Record schema owners, affected producers and consumers, breaking changes, privacy decisions, rollout order, dashboard updates, deprecation deadline, and unresolved gaps.

Pitfalls and anti-rationalization

  • Renaming a property is a breaking change for existing consumers.
  • Same type does not guarantee same semantics or units.
  • Optional client fields may become effectively required downstream.
  • Do not collect identifiers merely because storage exists.

Verification checklist

  • IDs and names are unique and versioned.
  • Types, units, and optionality are explicit.
  • Producers and consumers are traced.
  • Privacy and retention are reviewed.
  • Rollout and rollback are testable.

References and scripts

Use the bundled scripts/telemetry_contract.py for deterministic schema compatibility checks. Live collectors and production datasets remain outside this read-only skill.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.