All skills
launchdarkly avatar

/launchdarkly-flag-create

@3039201 official

Create and configure LaunchDarkly feature flags in a way that fits the existing codebase. Use when the user wants to create a new flag, wrap code in a flag, add a feature toggle, or set up an experiment. Guides exploration of existing patterns before creating.

Use this Skill: https://skilld.dev/gh/launchdarkly/agent-skills/launchdarkly-flag-create

This session only. Nothing lands on disk.

README.md

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

LaunchDarkly Flag Create Skill

An Agent Skill for introducing new feature flags into a codebase, matching existing patterns and conventions.

Overview

This skill teaches agents how to:

  • Explore a codebase to understand existing flag patterns and SDK usage
  • Choose the right flag type and configuration
  • Create the flag in LaunchDarkly
  • Add flag evaluation code that matches codebase conventions
  • Verify the flag is wired up correctly

Installation (Local)

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

Examples:

  • Generic: copy skills/feature-flags/launchdarkly-flag-create/ 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.

Usage

Once installed, the skill activates automatically when you ask about creating flags:

Create a feature flag for the new checkout flow
Wrap the dark mode feature in a LaunchDarkly flag
Add a feature toggle for the new pricing page

Structure

launchdarkly-flag-create/
├── SKILL.md
├── marketplace.json
├── README.md
└── references/
    ├── flag-types.md
    └── sdk-evaluation-patterns.md

Related

License

Apache-2.0

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides guidelines and instruction on creating and managing LaunchDarkly feature flags, relying entirely on the official LaunchDarkly MCP server tools and following standard developer practices.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    2/5 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

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

Last checked against GitHub 2 days ago.

Activeupdated 2 months ago
compatibility
Requires the remotely hosted LaunchDarkly MCP server
metadata
{
  "author": "launchdarkly",
  "version": "1.1.0-experimental"
}

README badge

README badge for launchdarkly/agent-skills/launchdarkly-flag-create

Creates and configures LaunchDarkly feature flags by first exploring the codebase for existing flag patterns, then applying those conventions to create the flag and add evaluation code. Works with the LaunchDarkly MCP server to handle flag creation and metadata updates.

Generated from the current SKILL.md.

Does this skill handle flag targeting and rollouts?
No. This skill creates and configures flags. To toggle flags on, set up rollout rules, or target specific users, use the flag targeting skill.
What happens if LaunchDarkly is unreachable when my code evaluates a flag?
The SDK falls back to the default value you specify in code. That's why the skill guides you to use the existing/safe behavior as the default—it ensures the feature stays off if LaunchDarkly is down.
Can I change a flag's key after creating it?
No. Flag keys are immutable once created, so the skill helps you choose the right key upfront by examining your codebase's naming conventions.
Do I need the LaunchDarkly MCP server to use this skill?
Yes. The skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment to create and verify flags.
Does this skill work with all LaunchDarkly SDKs?
The skill guides flag creation for any SDK and helps you match existing patterns in your codebase, whether you're using the Node, React, Python, Go, Java, or other LaunchDarkly SDK.

Generated from the current SKILL.md. These answers refresh after source changes.