feat(feature-flags): add the feature-flags step skill for the wizard - #405
Merged
Merged
Conversation
Adds integration-v2/feature-flags-step, the docs-only skill the wizard's feature-flags evaluate task loads. One variant per integration framework, each pointing at that SDK's flag docs plus the shared flag pages, and the step-skill parity test now covers it.
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Test against a wizard branch:
Add Results will be posted here when complete. |
The wizard's evaluate prompt owns the instructions. The skill supplies only the posthog.com flag docs for each framework.
johncwaters
marked this pull request as ready for review
September 23, 2026 22:24
Collaborator
|
on these bits:
I think we're good here, I'll be more keen to run the wizard program to observe how they work in the program |
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.
Problem
Feedback wanted: ready to merge. Approve or request changes.
The new
wizard feature-flagscommand needs framework-specific knowledge for its evaluate task: how each SDK evaluates a flag once, keeps the key in a constants module, and reports the evaluation back to PostHog. The integration skills teach SDK installation, not flag evaluation.Companion PRs: wizard (PostHog/wizard#1322) and wizard-workbench (PostHog/wizard-workbench#4136).
Changes
integration-v2/feature-flags-step, a docs-only step skill fetched by the wizard's evaluate task (cli.role: internal). Itsdescription.mdis a title plus{references}and carries no instructions: the wizard's evaluate prompt owns how to evaluate the flags, and this skill supplies the posthog.com docs it reads.integrationwithout a flag variant fails the build.Test plan
npm test: 211 tests pass.--e2eon the Next.js and Django feature-flags apps. Rerun on Next.js after trimmingdescription.mdto docs only: passed, with both flags created inactive at 0% and each evaluated once on its own side.LLM context
Written with Claude Code.