Index of every page on this site: llms.txt
All skills
launchdarkly avatar

/launchdarkly-flag-drift

@f0ee110 official
Run it yourself

Detect and reconcile drift between a feature flag's in-code SDK fallback default and its LaunchDarkly default rule (fallthrough). Use when a flag's default rule changed, when the user asks to detect flag drift, check whether a hardcoded default still matches LaunchDarkly, sync an in-code default, or open a PR reconciling a fallback value, without removing the flag or its evaluation.

Use this Skill: https://skilld.dev/gh/launchdarkly/ai-tooling/launchdarkly-flag-drift

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈622 tokens on demand. Your agent reads this file only when SKILL.md points to it.

LaunchDarkly Flag Drift Skill

An Agent Skill for detecting and reconciling drift between a feature flag's in-code SDK fallback default and its LaunchDarkly default rule, keeping outage behavior consistent with production.

Overview

This skill teaches agents how to:

  • Resolve a flag's current default rule (fallthrough) value from LaunchDarkly in every critical environment the build serves
  • Detect cross-environment divergence (e.g. EU vs. Federal serving different defaults), where a single in-code default cannot match every environment
  • Locate the fallback default argument in every SDK evaluation and declaration in code
  • Compare the two and detect drift
  • Reconcile only the in-code default when it has drifted, without removing the flag or changing its evaluation
  • Open a well-scoped pull request that documents the change

Installation (Local)

For now, install by placing this skill directory where your agent client loads skills.

Examples:

  • Generic: copy skills/feature-flags/launchdarkly-flag-drift/ into your client's skills path

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment. The remote server provides higher-level, agent-optimized tools that orchestrate multiple API calls and return pruned, actionable responses.

Refer to your LaunchDarkly account settings for instructions on connecting to the remotely hosted MCP server.

Usage

Once installed, the skill activates automatically when you ask about flag default drift:

The default rule for `new-checkout-flow` changed in production. Check if the code default drifted
Does the hardcoded default for `dark-mode` still match LaunchDarkly?
Open a PR to sync the in-code default for `enable-new-billing` with its fallthrough

Structure

launchdarkly-flag-drift/
├── SKILL.md
├── marketplace.json
├── README.md
└── references/
    ├── sdk-default-patterns.md
    └── pr-template.md

Related

License

Apache-2.0

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts11d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    The skill is a legitimate tool provided by LaunchDarkly to help developers synchronize feature flag fallback defaults in their code with the corresponding default rules in the LaunchDarkly platform. It uses official vendor tools (MCP server) and follows standard software engineering practices such as running local tests and opening pull requests for human review.

  • Socket11d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

Signed by skilld at f0ee110. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
compatibility
Requires the remotely hosted LaunchDarkly MCP server
metadata
{
  "author": "launchdarkly",
  "version": "0.1.0"
}

README badge

README badge for launchdarkly/ai-tooling/launchdarkly-flag-drift