Fix with AI prompts
For each issue, we provide a ready-to-use prompt you can paste into your favorite coding assistant to help debug and fix errors. The prompt is in Markdown and contains the issue's stack trace along with prepared instructions for the AI to follow.
You can find the prompt by clicking Fix with AI on the issue details page.


The Fix with AI prompt looks like this:
markdown
PostHog is an all-in-one developer platform for building successful products. We provide product analytics, web analytics, session replay, error tracking, feature flags, experimentation, surveys, LLM analytics, data warehouse, a CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.