Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Captures PostHog analytics events in web frontend, following Langfuse's typed event registry, privacy-safe props and session replay limits.
39% 91%+52 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 9 of 23 without it.
3 of 3 safety checks passed
Not used yet
One idea: every event exists to answer a question ("how do people filter?", "v3 vs v4?"), and it captures shape/metadata — NEVER raw values. If you cannot name the question an event answers, do not add it. If a property could contain user content, that is a bug.
When adding a meaningful user action to web/**, decide explicitly whether it
should emit an event — do not skip the question silently.
usePostHogClientCapture() → capture(eventName, props?)
(usePostHogClientCapture.ts).
The component calls the hook's capture — it never imports or touches
posthog directly. The only client-side exceptions are app-shell
infrastructure in _app.tsx ($pageview, identify, register).resource:action, snake_case action. Enforced by the typed
registry — the events object + EventName type in that file. New events
MUST be added to the registry or they will not typecheck (e.g.
saved_views:view_selected, table:filter_builder_open). Names are static
strings only — never interpolate (a page_view_${name} explodes into
un-analyzable definitions). Event names cannot be renamed after they exist —
version instead (…_v2).objectAdjective (filterType,
valueCount), is/has prefix for booleans (isV4, hasFreeText),
Date/Timestamp suffix for times.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.