
Launchdarkly Flag Create
This guides Claude through creating LaunchDarkly feature flags that actually match your codebase's existing patterns. It starts by searching for how you already use the SDK, checks naming conventions and wrapper patterns, then creates the flag and adds evaluation code that fits in. The workflow is thorough: explore before creating, pick the right flag type (boolean for toggles, multivariate for experiments), add the code following your team's style, and verify everything compiles. Flags always start disabled for safety. The real value is in Step 1, which prevents the common mistake of introducing flag patterns that clash with what your team already does. Requires the LaunchDarkly MCP server.
- skills.sh installs
- 2.5K
- GitHub stars
- 19
- last updated
- Jul 14, 2026
Install
$ npx -y skills add launchdarkly/agent-skills --skill launchdarkly-flag-create --agent claude-codeInstalls into .claude/skills of the current project.
Files
LaunchDarkly Flag Create & Configure
You're using a skill that will guide you through introducing a new feature flag into a codebase. Your job is to explore how flags are already used in this codebase, create the flag in LaunchDarkly in a way that fits, add the evaluation code matching existing patterns, and verify everything is wired up correctly.
Prerequisites
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Required MCP tools:
create-flag: create a new feature flag in a projectget-flags: verify the flag was created correctly
Optional MCP tools (enhance workflow):
get-flags: browse existing flags to understand naming conventions and tagsupdate-flag: update flag metadata (name, description, tags, temporary/permanent status)
Workflow
Step 1: Explore the Codebase
Before creating anything, understand how this codebase uses feature flags.
Sponsors
Details
- Repository
- github.com/launchdarkly/agent-skills
- Category
- AI & Agent Building
- First seen
- May 16, 2026
More from launchdarkly/agent-skills
All 41- Launchdarkly Flag Discovery2.5K
- Launchdarkly Flag Targeting2.5K
- Aiconfig Create2.3K
- Aiconfig Projects2.3K
- Aiconfig Tools2.3K
- Aiconfig Update2.3K
- Aiconfig Variations2.3K
- Launchdarkly Metric Choose2.3K
- Launchdarkly Metric Create2.3K
- Launchdarkly Metric Instrument2.3K
- Aiconfig Online Evals2.2K
- Aiconfig Targeting2.2K
- Aiconfig Ai Metrics2K
- Aiconfig Custom Metrics2K
- Aiconfig Migrate2K
- Apply2K
- Detect2K
- First Flag2K
- Launchdarkly Experiment Setup2K
- Launchdarkly Guarded Rollout2K
- Mcp Configure2K
- Plan2K
- Sdk Install2K
- Aiconfig Agent Graphs1.8K