Promote feature flag to stable

From PrestaShop/PrestaShop · View interactive version

Promote feature flag to stable is an AI agent skill from the GitHub repository PrestaShop/PrestaShop. 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".

How to use this skill

Skill file

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

  1. Verify GA prerequisites: page is stable, no P1 regressions in the last release.
  2. Open install-dev/data/xml/feature_flag.xml
  3. Find the {domain} entry
  4. Change <stability>beta</stability> to <stability>stable</stability>
  5. Change <state>0</state> to <state>1</state>
  6. After merging: verify the flag is stable/state=1 in a fresh install

2. Migrate Playwright tests to default

In the same PR (or immediately after):

  1. For each Playwright campaign file:
  1. Run the full campaign suite without the flag enable — all must pass
  2. Remove the enableFeatureFlag call completely — do not leave it commented out

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.