بنقرة واحدة
feature-flag-strategy
Design a feature-flag rollout strategy for a new feature.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Design a feature-flag rollout strategy for a new feature.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Review code changes and report issues by severity with actionable fixes.
Sharpen a fuzzy intention into one measurable objective string that drives the rest of the work.
Convert a Prompt Flow PRS pipeline submission to run a Microsoft Agent Framework workflow.
Build a Model Context Protocol (MCP) server that lets an LLM call into external tools and resources.
Summarize PDF documents into concise bullet-point digests.
Bump a dependency version across a pnpm workspace and update lockfile.
| slug | feature-flag-strategy |
| name | Feature Flag Strategy |
| version | 0.1.0 |
| description | Design a feature-flag rollout strategy for a new feature. |
| category | dev-tools |
| tags | ["feature-flags","release","testing","rollback"] |
| inputs | [{"name":"feature","type":"string","required":true,"description":"Feature to roll out"},{"name":"audiences","type":"string","required":false,"description":"Target audiences or segments"}] |
| output | {"format":"markdown","description":"Rollout plan with flag taxonomy, stages, and cleanup."} |
| author | badhope |
| license | MIT |
| created | "2026-06-21T00:00:00.000Z" |
| updated | "2026-06-21T00:00:00.000Z" |
Shipping a risky feature, doing a canary release, or enabling gradual rollout.
Describe the feature and target audiences.
A flag strategy with taxonomy, rollout stages, and cleanup checklist.
Design a feature-flag rollout strategy.
Output:
1. Flag taxonomy: release flag, experiment flag, ops flag, kill switch
2. Rollout stages: dev, internal, beta, percentage, general availability
3. Targeting rules: user segments, regions, subscription tiers
4. Metrics: success criteria and guardrail metrics
5. Rollback: kill-switch procedure and rollback criteria
6. Cleanup: when to remove the flag and associated dead code
7. Naming convention for the flag
Avoid vendor-specific SDK syntax unless necessary.
Input:
feature: new checkout page
audiences: 'internal employees, 5% beta users, all users'
Output:
## Flag Taxonomy
`checkout_v2` is a release flag; `checkout_v2_experiment` is an experiment flag.
## Stages
1. Dev: flag on for team only
2. Internal: employees for 1 week
3. Beta: 5% of users, watch conversion and error rate
4. GA: 100% rollout
## Cleanup
Remove flag and old checkout code 2 weeks after GA.
These are the bugs that bite every new user. Check them before shipping:
Flag never cleaned up: Feature flags accumulate and create technical debt.
Flag name collisions: Same flag name used in different services means they interfere with each other.
checkout_v2_enabledKill switch too slow: Rollback via flag takes too long under load.
Targeting rules too complex: Flag rules so complicated that it's unclear who has the feature.
Flag checked on hot path: Reading flag on every request without caching causes latency spikes.