telemetry-standards
Skill by supabase
Telemetry Standards gives rules for PostHog event tracking in Supabase Studio. It is for developers adding useTrack() calls and for reviewers checking pull requests for telemetry compliance.
Install telemetry-standards
Built from the published package, never by AI.
git clone --depth 1 https://github.com/supabase/supabase /tmp/supabase && mkdir -p ~/.claude/skills && cp -r /tmp/supabase/.agents/skills/telemetry-standards ~/.claude/skills/telemetry-standardsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/supabase/supabase /tmp/supabase && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/supabase/.agents/skills/telemetry-standards ~/.gemini/antigravity-cli/skills/telemetry-standardsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install telemetry-standards in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Telemetry Standards is an agent skill that sets the rules for PostHog event tracking in Supabase Studio, the code under apps/studio/. It covers event naming in snake_case with an approved list of verbs, property naming and casing, and what must not be tracked, such as passive page views and component renders.
The skill also sets privacy rules. Event properties must not contain user-defined names, SQL text, search terms, row IDs or secrets, and URL state is treated as telemetry. It requires events to be sent with an explicit track() call from useTrack rather than data-attr attributes, because PostHog autocapture is off. It is written for developers adding tracking to new Studio features and for reviewers checking pull requests.
Written from the project's SKILL.md and checked against it.
What it can do
- Event namingChecks events use the [object]_[verb] snake_case format with approved verbs only.
- Property conventionsSets camelCase for new properties and flags generic or inconsistent property names.
- Privacy rulesExplains which names, IDs, SQL text, errors and secrets must never go into event properties.
- URL state and consentCovers URL data sent with events and consent rules before sending telemetry or storing data.
- Required patternShows how to call track() from useTrack and where calls belong, such as mutation outcomes.
- PR review checksLists common telemetry mistakes with corrections for reviewing pull requests.
What you need
- Access to the Supabase Studio repository (apps/studio/)
- PostHog for event tracking
Try asking
- Review this PR for telemetry compliance against the Studio event naming rules.
- Suggest a PostHog event name for a backup button click in Studio.
- Add useTrack tracking to this new submit handler following the standards.
Good to know
- Written for Supabase Studio under apps/studio/ and its shared packages.
- Telemetry is not sent when IS_PLATFORM is false, so self-hosted Studio sends none.
- Passive views and component renders should not be tracked.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/telemetry-standards/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md21 KB
Alternatives to telemetry-standards
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
telemetry-standards: common questions
Which verbs are approved for PostHog event names?
The approved verbs are opened, clicked, submitted, created, removed, updated, evaluated, added, enabled, disabled, copied, exposed, failed, closed, completed and applied. The skill says this list is the authority, even if older events use other verbs.
Can I track user-typed names or SQL text in event properties?
No. The skill says event properties must never contain user-defined names, SQL text, filters, search terms or row IDs. Use a count, enum, boolean or action category instead.
Should I use data-attr attributes to send PostHog events?
No. The skill requires an explicit track() call from useTrack. PostHog autocapture is off, so a data-attr attribute sends nothing.
How do I install telemetry-standards?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is telemetry-standards free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is telemetry-standards safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to telemetry-standards?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
