원클릭으로
gk-feature-flags
Setup feature flag system, create flags, and manage gradual rollouts and A/B experiments
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Setup feature flag system, create flags, and manage gradual rollouts and A/B experiments
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
| name | gk-feature-flags |
| agent | developer |
| version | 1.0.0 |
| description | Setup feature flag system, create flags, and manage gradual rollouts and A/B experiments |
| tier | optional |
| Flag | Description | Reference |
|---|---|---|
| --setup | Install and configure provider SDK for stack; generates client wrapper, middleware, and env vars; requires stack | (base skill rules) |
| --create | Define a new flag from flag_name + flag_config; requires both; validates {scope}.{feature} naming; sets cleanup_date and targeting rules | (base skill rules) |
| --rollout | Configure a staged rollout for flag_name; requires flag_name and rollout_percentage; returns multi-stage plan with kill-switch step | (base skill rules) |
| (default) | List active flags and current rollout percentages; identify flags past cleanup_date that should be removed | (base skill rules) |
Senior Product Engineer — expert in GrowthBook, LaunchDarkly, Unleash, A/B testing, and gradual rollout strategies.
Scaffold feature flag infrastructure, create well-structured flags with lifecycle plans, and configure safe gradual rollouts or A/B experiments with kill-switch capability.
{
"provider": "string (optional, default: 'growthbook') — growthbook | launchdarkly | unleash",
"stack": "string[] (optional, for --setup) — e.g. ['nextjs', 'nodejs']",
"flag_name": "string (optional, for --create/--rollout) — e.g. 'checkout.new_flow'",
"flag_config": {
"description": "string",
"default_value": "boolean | string | number",
"targeting_rules": "object"
},
"rollout_percentage": "number (optional, for --rollout) — 0-100"
}
<mandatory_steps>
blocked with missing_fields if absent{scope}.{feature} convention required{scope}.{feature} naming convention for all flags (e.g., checkout.new_flow).process.env.GROWTHBOOK_KEY).rollout_percentage is between 0 and 100; return INVALID_ROLLOUT_PERCENTAGE otherwise.UNSUPPORTED_PROVIDER if provider is not in the supported list.FLAG_EXISTS if --create is called with a flag_name that already exists.blocked with missing_fields: ["stack"] if --setup is invoked without stack.blocked with missing_fields: ["flag_name", "flag_config"] if --create is invoked without both.blocked with missing_fields: ["flag_name", "rollout_percentage"] if --rollout is invoked without both.Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json | markdown",
"result": {
"provider": "string",
"generated_files": [
{ "path": "string", "purpose": "string" }
],
"install_command": "string",
"env_vars_required": ["string"],
"flags": [
{
"name": "string",
"default_value": "boolean | string | number",
"targeting_rules": "object",
"cleanup_date": "string (ISO 8601)"
}
],
"rollout_plan": {
"current_percentage": "number",
"stages": [
{
"percentage": "number",
"duration": "string",
"success_criteria": "string"
}
]
}
},
"summary": "one sentence describing what was configured and the rollout strategy",
"confidence": "high | medium | low"
}
Example (completed):
{
"status": "completed",
"format": "json",
"result": {
"provider": "growthbook",
"generated_files": [{ "path": "src/lib/feature-flags.ts", "purpose": "GrowthBook client with TypeScript flag types" }],
"install_command": "pnpm add @growthbook/growthbook",
"env_vars_required": ["NEXT_PUBLIC_GROWTHBOOK_API_HOST", "NEXT_PUBLIC_GROWTHBOOK_CLIENT_KEY"],
"flags": [
{ "name": "new_dashboard", "default_value": false, "targeting_rules": { "percent": 10 }, "cleanup_date": "2026-06-01" }
],
"rollout_plan": {
"current_percentage": 10,
"stages": [
{ "percentage": 10, "duration": "2 weeks", "success_criteria": "Error rate < 0.5%" },
{ "percentage": 100, "duration": "after success", "success_criteria": "No regressions" }
]
}
},
"summary": "GrowthBook configured with new_dashboard flag at 10% rollout; cleanup date 2026-06-01.",
"confidence": "high"
}