feat(feature-flags): add an end-to-end setup workflow - #294
Open
hacktivist123 wants to merge 7 commits into
Open
feat(feature-flags): add an end-to-end setup workflow#294hacktivist123 wants to merge 7 commits into
hacktivist123 wants to merge 7 commits into
Conversation
gewenyu99
reviewed
Jul 30, 2026
gewenyu99
left a comment
Collaborator
There was a problem hiding this comment.
General feedback here for you is, what do you think the ideal use case is for this skill and wizard command?
What is the goal someone running this will accomplish when you designed this?
I think Feature Flags are unique in that they reflect a need, a requirement for someone to safely introduce new code or run an experiment.
Where should this intent of the user come into play here?
Do you think this approach will be meaningful for a potential feature flags user?
edwinyjlim
reviewed
Jul 30, 2026
gewenyu99
reviewed
Jul 30, 2026
Turn the existing feature-flags guidance into an ordered assess, configure, implement, verify, and report workflow. Add runtime-specific JavaScript rules, current posthog-node flag evaluation guidance, and a generation contract test for the Next.js variant.
hacktivist123
force-pushed
the
feature-flags-skill
branch
from
July 30, 2026 15:35
ccfabbb to
aa61e45
Compare
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.
Turn the existing feature-flags skills into an ordered workflow that can assess an app, configure a safe flag, implement one use case, verify the result, and leave an evidence-based report.
What
evaluateFlags()API.Why
The previous skill provided documentation and general principles, but it did not define an executable workflow or completion criteria.
Testing the generated Next.js skill with a real Wizard agent exposed gaps around environment-file detection, production-build verification, report ownership, safe rollout behavior, and credential terminology. These instructions turn those findings into reusable context rather than fixture-specific fixes.
Verification
npm test- 19 test files and 139 tests passednpm run build- all 363 skills generatedRuntime coverage
The agent test covered the Next.js variant. Other feature-flags variants generated successfully but were not exercised through full runtime integrations.
Live evaluation and custom event ingestion were not run because the shared rollout was not changed solely for testing. The workflow requires these layers to remain visibly classified as
not runrather than treating source review or local state as ingestion evidence.