diff --git a/context/commandments.yaml b/context/commandments.yaml index 971780d5..18b0ada4 100644 --- a/context/commandments.yaml +++ b/context/commandments.yaml @@ -24,7 +24,7 @@ commandments: nextjs: # Initialization - - For Next.js 15.3+, initialize PostHog in instrumentation-client.ts for the simplest setup + - 'Initialize client-side PostHog in exactly one place, based on the "next" version in package.json: on 15.3 and later, use instrumentation-client.ts; below 15.3, use a "use client" PostHogProvider in the root layout (or _app), because instrumentation-client.ts is ignored there' nextjs-feature-flags: # Client-side feature flags