Skip to main content

develop-extension

Author a new PostHog browser extension, or port a posthog-js v1 extension, against the @posthog/browser-common Client/Extension contract. Use when adding or porting an extension (autocapture, pageview, surveys, replay, exceptions, web-vitals, campaign-params, feature flags, …).

Jump to install

Source facts

Repository
PostHog/posthog-js
Last source activity
August 25, 2026 at 18:13
Detected SKILL.md language
English
Stars
595
Forks
324

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.