- Home
- Skills
- Testing & Debugging
- Repair Feature Flag Targeting Bugs
More screenshots
Works with the AI tools you already use
Repair Feature Flag Targeting Bugs
Repair feature-flag targeting bugs where percentage buckets reshuffle, rule precedence differs across SDKs, missing attributes change defaults, or stale configuration produces inconsistent rollout decisions.
$8.99
Repair Feature Flag Targeting Bugs
Example session with this skill installed
A 20% rollout uses email as the hash key in one service and user ID in another, so the same user sees different behavior. Reordering targeting rules also changes decisions unexpectedly. Repair without changing who the product team intended to target.
- Read your context and instructions
- Compiled the repair feature flag
Evaluation semantics are not canonical across services. The repair defines one normalized subject/attribute contract, one rule precedence order, and one stable bucket key/hash implementation, then adds cross-SDK golden fixtures for targeting, missing attributes, percentage edges, stale configs, and kill-switch behavior.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
Feature flag inconsistencies often lead to broken rollouts, non-deterministic targeting, or race conditions during flag evaluation. Debugging why a specific user bypassed a rule or why a percentage rollout is skewed across different SDKs is time-consuming and error-prone.
What it does
- Normalizes evaluation inputs to ensure stable subject and bucket keys across components.
- Fixes broken rule precedence and percentage hashing logic for deterministic rollouts.
- Ensures parity between multi-SDK implementations and offline cache behaviors.
- Establishes canonical contracts for identity, trust boundaries, and state ownership.
- Implements deterministic local fixtures and regression tests to verify targeting logic.
Why this beats prompting it yourself
General LLMs often suggest broad retries or weakening validation to "fix" targeting bugs, which can cause production outages. This skill strictly preserves rollout percentages and kill-switch policies while enforcing validation before state mutation, preventing the introduction of new security or consistency risks.
Use cases
- Fixing drifting percentage rollouts where users get different results on different devices.
- Repairing race conditions in concurrent flag evaluations or state transitions.
- Aligning rule precedence logic between a backend service and a frontend SDK.
- Adding redacted observability to flag evaluation paths for easier production debugging.
Known limitations
Cannot contact live production services or read actual customer secrets. It operates strictly on repository files and local test fixtures.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install