Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents how to add a private developer-experiment feature flag to Ghost, covering backend registration and the Labs settings toggle.
24% 100%+76 ptsof test cases passed
Passed 25 of 25 test cases with the skill, and 6 of 25 without it.
This test ran on v2. v4 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Adds a new private feature flag to Ghost. Private flags appear in Labs settings under the "Private features" tab, visible only when developer experiments are enabled.
Read and follow the canonical feature flag guide before adding a flag. The guide covers when a Labs flag is appropriate, safe gating across server and Admin, testing, and the cleanup lifecycle.
For Admin 7 milestone flags, also use the Admin 7 feature flags skill for naming and shared presentation guidance.
Add the flag to ghost/core/shared/labs.js
PRIVATE_FEATURES array.Add a UI toggle in clients/admin/src/settings/advanced/labs/private-features.tsx
features array with title, description, and flag (must match the string in labs.js).Run tests and update the config API snapshot
cd ghost && pnpm test:single test/unit/shared/labs.test.jscd ghost && pnpm test:single test/e2e-api/admin/config.test.js -u && pnpm test:single test/e2e-api/admin/settings.test.js -ulabs setting.labs.js, private-features.tsx, and the snapshots.welcomeEmailDesignCustomization).PUBLIC_BETA_FEATURES in labs.js instead and add the toggle to clients/admin/src/settings/advanced/labs/beta-features.tsx.Next to this one in the catalogue, plus more from the same author.