Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions llm-prompts/basic-integration/1.3-conclude.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ The wizard has completed a deep integration of your project. [Detailed summary o

[table of events/descriptions/files]

[description of changes to components, if any]

## Next steps

We've built some insights and a dashboard for you to keep an eye on user behavior, based on the events we just instrumented:
Expand Down
1 change: 1 addition & 0 deletions transformation-config/commandments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ commandments:
nextjs:
# Initialization
- For Next.js 15.3+, initialize PostHog in instrumentation-client.ts for the simplest setup
- PostHogProvider is no longer needed for Next.js 15.3+ - use the global posthog-js singleton instead by importing posthog from 'posthog-js'. Hooks that would normally require PostHogProvider will now work without it, simply by importing and using the hooks directly.

nextjs-feature-flags:
# Client-side feature flags
Expand Down
1 change: 1 addition & 0 deletions transformation-config/skills/integration/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The example project shows the target implementation pattern. Consult the documen
- **Environment variables**: Always use environment variables for PostHog keys. Never hardcode them.
- **Minimal changes**: Add PostHog code alongside existing integrations. Don't replace or restructure existing code.
- **Match the example**: Your implementation should follow the example project's patterns as closely as possible.
- **You must read files before editing**: Otherwise the edit tool will fail

## Framework guidelines

Expand Down
Loading