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.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionlaunchdarkly-flag-createExecute the skills CLI command in your project's root directory to begin installation:
Fetches launchdarkly-flag-create from launchdarkly/agent-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate launchdarkly-flag-create. Access via /launchdarkly-flag-create in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
5
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
5
stars
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.
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-flag — verify the flag was created correctlyOptional MCP tools (enhance workflow):
list-flags — browse existing flags to understand naming conventions and tagsupdate-flag-settings — update flag metadata (name, description, tags, temporary/permanent status)Before creating anything, understand how this codebase uses feature flags.
Find the SDK. Search for LaunchDarkly SDK imports or initialization:
launchdarkly, ldclient, ld-client, LDClient in importspackage.json, requirements.txt, go.mod, Gemfile, or equivalent for the SDK dependencyFind existing flag evaluations. Search for variation calls to understand the patterns this codebase uses:
variation(), boolVariation(), useFlags(), etc.Understand conventions. Look at existing flags to learn:
kebab-case, snake_case, camelCase?Check LaunchDarkly project conventions. Optionally use list-flags to see existing flags:
Based on what the user needs, choose the appropriate flag configuration. See Flag Types and Patterns for the full guide.
Quick decision:
| User intent | Flag kind | Variations |
|---|---|---|
| "Toggle a feature on/off" | boolean |
true / false |
| "Gradually roll out a feature" | boolean |
true / false |
| "A/B test between options" | multivariate (string) |
User-defined values |
| "Configure a numeric threshold" | multivariate (number) |
User-defined values |
| "Serve different config objects" | multivariate (JSON) |
User-defined values |
Defaults to apply:
temporary: true unless the user explicitly says this is a permanent/long-lived flag. Most flags are release flags that should eventually be cleaned up.key from the name if not provided (e.g., "New Checkout Flow" → new-checkout-flow), but match the codebase's naming convention if one exists.Use create-flag with the configuration determined in Step 2.
After creation:
offVariation to everyone until targeting is turned on.Now add the code to evaluate the flag, matching the patterns you found in Step 1.
See SDK Evaluation Patterns for implementation examples by language and framework.
Confirm the flag is properly set up:
get-flag to confirm it was created with the right configuration.If the user wants to change flag metadata (not targeting), use update-flag-settings. Supported changes:
| Change | Instruction |
|---|---|
| Rename | {kind: "updateName", value: "New Name"} |
| Update description | {kind: "updateDescription", value: "New description"} |
| Add tags | {kind: "addTags", values: ["tag1", "tag2"]} |
| Remove tags | {kind: "removeTags", values: ["old-tag"]} |
| Mark as temporary | {kind: "markTemporary"} |
| Mark as permanent | {kind: "markPermanent"} |
Multiple instructions can be batched in a single call. These changes are project-wide, not environment-specific.
Important: Metadata updates (above) are separate from targeting changes (toggle, rollout, rules). If the user wants to change who sees what, direct them to the flag targeting skill.
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
mattpocock/skills
I recommend launchdarkly-flag-create for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
launchdarkly-flag-create reduced setup friction for our internal harness; good balance of opinion and flexibility.
launchdarkly-flag-create reduced setup friction for our internal harness; good balance of opinion and flexibility.
launchdarkly-flag-create is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
launchdarkly-flag-create fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Registry listing for launchdarkly-flag-create matched our evaluation — installs cleanly and behaves as described in the markdown.
Registry listing for launchdarkly-flag-create matched our evaluation — installs cleanly and behaves as described in the markdown.
Keeps context tight: launchdarkly-flag-create is the kind of skill you can hand to a new teammate without a long onboarding doc.
launchdarkly-flag-create has been reliable in day-to-day use. Documentation quality is above average for community skills.
Registry listing for launchdarkly-flag-create matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 69