Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sets review rules for dev toolbar, PostHog client, and feature flag changes covering environment guards, override cookies, and SSE safety.
23% 77%+55 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 5 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Review checklist for PRs touching the dev toolbar (packages/dev-tools/) and its
integration points in packages/common/. The toolbar surfaces telemetry events and
allows feature flag overrides in local and staging environments only.
PRs modifying any of these paths need growth eng review:
packages/dev-tools/** (owned by @supabase/growth-eng in CODEOWNERS)packages/common/posthog-client.ts (owned by @supabase/growth-eng in CODEOWNERS; flag override reads, event subscription)packages/common/feature-flags.tsx (flag override merge logic)DevToolbarProvider/DevToolbar/DevToolbarTrigger in apps/studio/, apps/www/, apps/docs/Note: packages/common/feature-flags.tsx is NOT in CODEOWNERS for @supabase/growth-eng,
so PRs touching only that file won't auto-request review. Watch for these in the PR feed.
Files: packages/dev-tools/index.ts, DevToolbar.tsx, DevToolbarTrigger.tsx, DevToolbarContext.tsx
The toolbar uses two layers of protection:
index.ts: the bundler inlines process.env.NEXT_PUBLIC_ENVIRONMENT, so isToolbarEnabled = env === 'local' || env === 'staging' makes the export ternaries static. Outside those two environments every export is a stub (DevToolbar and DevToolbarTrigger render null, DevToolbarProvider passes children through, useDevToolbar returns a no-op context) and the implementation modules are eliminated from the bundle. The same literal process.env check is duplicated in DevToolbarContext.tsx, DevToolbar.tsx, DevToolbarTrigger.tsx, and feature-flags.tsx because the bundler must see it directly — keep them in sync.IS_LOCAL_DEV = env === 'local' gates the local-only pieces — the SSE event stream in DevToolbarContext.tsx and local-only UI in DevToolbar.tsx — so staging gets the toolbar without them.Check for:
local and staging; preview and production builds must keep getting the stubs.index.ts staying intact — these are the primary production safety mechanism.Files: packages/dev-tools/DevToolbar.tsx, packages/common/posthog-client.ts, packages/common/feature-flags.tsx
The toolbar writes two cookies that override feature flags locally:
Next to this one in the catalogue, plus more from the same author.