원클릭으로
create-feature-toggle
Add a new feature toggle backed by Firebase Remote Config. Use when the user asks to create a new feature toggle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Add a new feature toggle backed by Firebase Remote Config. Use when the user asks to create a new feature toggle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | create-feature-toggle |
| description | Add a new feature toggle backed by Firebase Remote Config. Use when the user asks to create a new feature toggle. |
Ask the user for:
true or falseThe remote config key will be derived as enable_<snake_case_name> and the toggle spec name as is<PascalCaseName>Enabled.
src/modules/remote-config/remote-config.ts)Add the new key to the RemoteConfig type (keep alphabetical order among enable_* keys):
enable_<name>: boolean;
src/modules/remote-config/remote-config.ts)Add to defaultRemoteConfig (keep alphabetical order):
enable_<name>: <default_value>,
src/modules/remote-config/remote-config.ts)In the getConfig() function, add a variable that reads the value with fallback to default (keep alphabetical order among similar declarations):
const enable_<name> =
values['enable_<name>']?.asBoolean() ??
defaultRemoteConfig.enable_<name>;
Then add enable_<name> to the returned object in getConfig() (keep alphabetical order).
src/modules/feature-toggles/toggle-specifications.ts)Add a new entry to the toggleSpecifications array (keep alphabetical order):
{
name: 'is<PascalCaseName>Enabled',
remoteConfigKey: 'enable_<name>',
},
Run yarn tsc to check for type errors, then run yarn prettier --write on changed files followed by yarn prettier to verify formatting.