Learn Feature Flags with your agent
Learn with examples from your own product and data.
Start with a learning path for your product, or choose a topic below. Each prompt uses your code and data to teach one concept at a time, with small exercises you can try.
Start with your product
Your teaching prompt
Teach me PostHog Feature Flags using my own product and PostHog project.Inspect its existing PostHog instrumentation, then create a custom learning path based on its real flags, rollouts, payloads, and gaps. Teach one concept at a time and give me small, safe exercises.Use the PostHog Feature Flags docs at https://posthog.com/docs/feature-flags.md as the source of truth.Don’t change the project unless I explicitly ask. If you can’t access the project, tell me what context you need.
Flags in code
Your teaching prompt
Teach me PostHog feature flags using one feature in my product. Explain how a flag separates deploy from release, and how PostHog decides who gets it. Help me add a flag check, decide whether to evaluate it on the server or the client, and keep both sides agreeing on who the person is.Use my code and PostHog data. Teach one concept at a time with a small exercise, and review my answer before continuing. Use https://posthog.com/docs/feature-flags.md as the source of truth.Don’t change my project without asking. If context is missing, ask for it.
Rollouts and the off switch
Your teaching prompt
Teach me gradual rollouts in PostHog using a real change in my product. Explain release conditions, percentage rollouts, and how to turn a feature off without a rollback. Help me plan a rollout from my team to everyone, and decide what to watch at each step.Use my code and PostHog data. Teach one concept at a time with a small exercise, and review my answer before continuing. Use https://posthog.com/docs/feature-flags.md as the source of truth.Don’t change my project without asking. If context is missing, ask for it.
Experiments and cleanup
Your teaching prompt
Teach me how a PostHog feature flag becomes an experiment, and how to remove a flag afterward. Explain variants, exposure events, and primary metrics. Help me find a flag in my code that has reached 100% and plan its removal from my code and from PostHog.Use my code and PostHog data. Teach one concept at a time with a small exercise, and review my answer before continuing. Use https://posthog.com/docs/feature-flags.md as the source of truth.Don’t change my project without asking. If context is missing, ask for it.











