Skip to main content

making-scenes-tab-aware

Guides converting PostHog frontend scenes to be tab aware for internal scene tabs. Use when adding or refactoring a `SceneExport` scene, fixing state leaking between internal tabs, preserving scene state across tab switches, or moving scene-level URL state out of child logics. Triggers on files with `SceneExport`, `tabId`, `tabAwareScene`, `urlToAction`, `actionToUrl`, or `useAttachedLogic`.

Stars
34,779
Source
PostHog/posthog
Updated
2026-05-31
Slug
PostHog--posthog--making-scenes-tab-aware
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/PostHog/posthog/HEAD/.agents/skills/making-scenes-tab-aware/SKILL.md -o .claude/skills/making-scenes-tab-aware.md

Drops the SKILL.md into .claude/skills/making-scenes-tab-aware.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.