Zum Inhalt springen
Kitbay
Skill

add-private-feature-flag

MITAktualisiert am 11. Nov. 202655.770GitHub-Sterne

A maintainer skill in the Ghost repository for adding a private feature flag to Ghost, one that shows only under the private features tab of the Labs settings when developer experiments are on.

Was der Skill vermittelt

A maintainer skill in the Ghost repository for adding a private feature flag to Ghost, one that shows only under the private features tab of the Labs settings when developer experiments are on. The agent first reads Ghost's feature flag practices guide, then adds the flag name to the private features list in the shared labs file, adds a matching toggle with a title and description to the settings screen, runs the labs unit test and regenerates two API test snapshots, checking that only the new flag changed. It notes that no database migration is needed because Labs flags live in one JSON setting, and says flags for all users go in the public beta list instead.

Funktionen

  • Register a private Labs flag in Ghost
  • Add the flag's toggle to Labs settings
  • Update the related test snapshots