docs: add AI wizard page for wizard feature-flags - #19911
Draft
fristovic wants to merge 1 commit into
Draft
Conversation
Feature Flags installation advertised the default wizard (product analytics). Add an Installation child at /docs/feature-flags/installation/ai-wizard for the specialist command, and point the existing CTAs at it. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Executive summary
The Feature Flags installation page ran the default wizard (
npx @posthog/wizard). That command installs product analytics. It does not add the cheap flags path.This PR adds
/docs/feature-flags/installation/ai-wizardfornpx @posthog/wizard feature-flags. The URL slot matches Product Analytics and Web Analytics (/docs/<product>/installation/ai-wizard). The page is not their thin default-wizard wrapper. It documents the specialist command the way MCP Analytics documentscommand="mcp-analytics".Paired with wizard #1192 and context-mill #378. The command is not on npm
@latestuntil those merge. The page says that.cc @team-wizard-and-docs
What changed
contents/docs/feature-flags/installation/ai-wizard.mdx<WizardCommand command="feature-flags" />plus a pointer at the new pagewizard feature-flagsrowDo not add this URL to mill
shared_docsuntilhttps://posthog.com/docs/feature-flags/installation/ai-wizard.mdreturns 200. A 404 fails mill CI.No tour: content PR (
contents/plus nav).Checklist
deploy-preview.yml. Reviewhttp://localhost:8001or the screenshots belowvercel.jsonredirectReviewer's guide
Testing done
prettier,eslint,markdownlint-cli2 --fix);scripts/fix-mdx.json the new MDXpnpm start(Node 22.12.0,GATSBY_MINIMAL=true) athttp://localhost:8001/docs/feature-flags/installation/ai-wizard,/docs/feature-flags/installation,/docs/feature-flags/start-herereturn 200 and renderpageerror/console.erroron live posthog.com (before) vs localhost (after)validateDOMNesting: <ul> cannot appear as a descendant of <p>(MDX list wrapping). SVGwidth="auto"and WizardCommand-in-<p>were already on the live installation pageNot tested: production build (
pnpm build) — memory. Cloudflare preview — fork skip.gh pr-assetsupload toPostHog/pr-assets— this fork has noCreateCommitOnBranchthere. Screenshots are on fristovic/pr-assets at SHAe07ed7bcfaca3ba15e55df82612834ccec5069b1.Screenshots
Before = live
posthog.com. After =localhost:8001on this branch.Installation (wrong-command fix + nav child in the platform grid)
Start here (new first QuestLog item)
New page
/docs/feature-flags/installation/ai-wizardLive URL is 404 today. After only:
What to look at
WizardCommandnow usescommand="feature-flags". Same pattern as AI Observability. Other stacks still have the platform grid.import WizardInstall. Product Analyticsai-wizard.mdxonly wraps the default wizard. Flags needs the specialist command and a pasteable URL.