Install any skill in seconds. Free to start, no credit card required.
Get Started Free →tryghost/add-private-feature-flag
Use when adding a new private (developer experiments) feature flag to Ghost, including the backend registration and settings UI toggle.
Passed 25 of 25 test cases with the skill, and 6 of 25 without it.
and 26 more in the full report
19 fixed6 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
Which endpoint snapshot test file besides `config.test.js` must be updated when adding a feature flag to Ghost, and what is the exact command?
| Checked | Without skill | With skill |
|---|---|---|
| Specifies pnpm test:single test/e2e-api/admin/settings.test.js -u | Missed | Passed |
The instructions your model reads when the skill loads.
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 apps/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 apps/admin/src/settings/advanced/labs/beta-features.tsx.test cases passed, vs 6 / 25 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.