Promote feature flag to stable
Prestashop Developer Skills
npx -y skills add jeffsenso/prestashop-skills --skill promote-feature-flag-to-stableAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Promote the domain's feature flag from beta to stable (GA) and update Playwright tests to no longer require the flag. This is done in a dedicated GA PR with minimal changes. Trigger: "promote {Domain} to GA", "make {Domain} stable".
SKILL.md
1.8 KB, as published. Nobody here has run it
promote-feature-flag-to-stable
Prerequisite
The feature flag must already exist (registered earlier as beta). This skill only promotes it; it does not create it.
1. Promote the feature flag
- Verify GA prerequisites: page is stable, no P1 regressions in the last release.
- Open
install-dev/data/xml/feature_flag.xml - Find the
{domain}entry - Change
<stability>beta</stability>to<stability>stable</stability> - Change
<state>0</state>to<state>1</state> - After merging: verify the flag is
stable/state=1in a fresh install
2. Migrate Playwright tests to default
In the same PR (or immediately after):
- For each Playwright campaign file:
- Remove
enableFeatureFlag('{domain}')calls frombefore()/beforeAll - Replace any legacy
index.php?controller=Admin{Domain}sURLs with Symfony route paths - Update page object imports if HTML structure changed
- Remove
- Run the full campaign suite without the flag enable — all must pass
- Remove the
enableFeatureFlagcall completely — do not leave it commented out
Rules
- GA PR contains ONLY the flag promotion + test migration — zero feature changes
- Promote in a dedicated PR so it can be reverted instantly if a critical bug is found
stability=stable+state=1: stable = shown in admin panel, state=1 = enabled by default- Do not change any other flag entry in the file
- Playwright test suite must remain green after removing the flag enable