50 chapters · 232 min
Skills
Chapter 29 of 50
Resolve /flag style requests into the right LaunchDarkly flag lookup flow.
3 minutes · 699 words · 11 sections
You’re using a skill that standardizes quick /flag requests. Your job is to parse the user intent, resolve the requested flag with minimal friction, return an actionable summary, and route to deeper workflows when needed.
This skill is a read-only lookup entrypoint. It returns flag details and routes forward.
Hard constraints — you MUST NOT:
When the user asks about removal or staleness, your entire response for that part must be the flag summary table followed by this exact routing message (you may rephrase slightly but must keep the substance):
This quick lookup can only show you the flag’s current config. To assess whether it’s safe to remove, you need the flag discovery or flag cleanup skill — they scan code references, check status across all environments, and analyze downstream dependencies.
That’s it. No analysis. No bullet points. No verdict. The removal question is answered by the routing message, not by you.
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Required MCP tools:
list-flags — search and disambiguate flag candidatesget-flag — fetch detailed configuration for a resolved flagOptional MCP tools:
get-flag-status-across-envs — compare lifecycle status across environmentsget-flag-health — quick health snapshot for a single flagTreat these forms as equivalent intents:
/flag <query>flag <query>Use production as the default environment unless the user specifies another environment.
/flag.staging, production, etc.)Use list-flags first unless the user clearly provided an exact key and project.
list-flags using the query.For a resolved flag, call get-flag and return:
on/off)If the user asked about removal, staleness, or cleanup (e.g., “is this safe to remove?”, “can I clean this up?”, “is this stale?”):
Show ONLY the summary table above, then write:
This quick lookup can only show you the flag’s current config. To assess whether it’s safe to remove, you need the flag discovery or flag cleanup skill — they scan code references, check status across all environments, and analyze downstream dependencies.
Do not add a verdict, bullet-point analysis, removal steps, “before removing” checklist, or an offer to archive/delete. The removal question is fully answered by the routing message above. Proceed to Step 4.
After returning the summary, check whether the user’s request implies a deeper workflow. If it does, name the skill and stop — do not attempt the workflow yourself.
| User intent | Route to |
|---|---|
| Create or modify a flag | flag create skill |
| Change targeting or rollout | flag targeting skill |
| “Is this safe to remove?”, “Is this stale?”, cleanup | flag discovery / flag cleanup |
For removal/staleness questions specifically: follow the Scope Boundary instructions above — summary table only, then route. No verdict.
Keep /flag responses brief and operational:
/flag is a fast entrypoint, not a full lifecycle workflow.Install this repository
npx skills add launchdarkly/ai-tooling/plugin marketplace add launchdarkly/ai-toolingSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Resolve `/flag` style requests into the right LaunchDarkly flag lookup flow. Use when the user types `/flag`, asks to quickly find a flag by name/key, wants a direct flag detail summary, or needs fast disambiguation between similar flags.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
skills/feature-flags/launchdarkly-flag-command/SKILL.mdmain, last pushed 9 August 2026.SKILL.md, not by matching a directory convention. 8 distinct layouts observed: skills/agentcontrol/*/SKILL.md, skills/experiments/*/SKILL.md, skills/feature-flags/*/SKILL.md, skills/metrics/*/SKILL.md, skills/observability/*/SKILL.md, skills/onboarding/*/SKILL.md, skills/onboarding/sdk-install/*/SKILL.md, skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json/launchdarkly/ai-tooling.md, and each chapter at its own .md URL.2 files · 2 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of chapter 29.
Everything else published alongside the skill.