launchdarkly-flag-create

Create LaunchDarkly flags with safe defaults and matching codebase conventions.

25|8|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/launchdarkly/agent-skills --skill launchdarkly-flag-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: launchdarkly-flag-create
Source: https://github.com/launchdarkly/agent-skills/tree/main/skills/feature-flags/launchdarkly-flag-create
Command: npx skills add https://github.com/launchdarkly/agent-skills --skill launchdarkly-flag-create

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps developers and operators reliably create and configure LaunchDarkly feature flags that fit the project's conventions, reducing guesswork and integration risk.

Core Features & Use Cases

  • Explore how flags are used in the codebase to identify patterns, SDK usage, and conventions.
  • Determine the right flag type and configuration based on existing usage and goals.
  • Create the flag in LaunchDarkly using MCP, starting in OFF with a safe default, ready for targeting.
  • Add flag evaluation code that follows established patterns and code style to enable safe rollout.
  • Verify both the code changes and the LaunchDarkly flag, ensuring wiring and expected behavior.

Quick Start

Place this skill directory in your agent's skills path and ask to create a LaunchDarkly flag.

Frequently Asked Questions about launchdarkly-flag-create

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a LaunchDarkly feature flag that matches my existing codebase conventions?

To create a LaunchDarkly feature flag that fits your codebase, the skill analyzes your existing SDK usage and patterns, then generates a flag with safe defaults and wired evaluation code that follows your project's established code style.

How does feature flag evaluation wiring work when adding new flags to an existing project?

Feature flag evaluation wiring works by detecting your project's generic evaluation patterns and conventions, then applying MCP tools to generate matching evaluation code and verify the flag exists and is wired correctly in LaunchDarkly.

Can I automatically apply my team's naming conventions and tagging standards when creating LaunchDarkly flags?

Yes, you can apply team naming conventions and tagging standards automatically when creating LaunchDarkly flags. The skill ensures flag configuration and lifecycle practices align with your project's established standards before finalizing the setup.

What's the best way to ensure a new feature flag starts with a safe default configuration?

The best way to ensure a safe default is to create the LaunchDarkly flag starting in the OFF state with a safe default value, ready for future targeting rules, which the skill configures automatically using MCP tools during flag creation.

Why does my LaunchDarkly flag creation fail to match the codebase patterns in my project?

LaunchDarkly flag creation may fail to match codebase patterns if existing SDK usage or conventions are not clearly identifiable. The skill explores flag usage to determine the right flag type and configuration based on existing patterns.

Do I need LaunchDarkly MCP tools to wire feature flags into my codebase?

Yes, LaunchDarkly MCP tools are required to create the flag and wire generic evaluation code per your project's conventions. The skill uses MCP to verify the flag exists and ensure wiring is correct after code changes.