Skip to content
Back to skills

Feature Flag

ASecurity

Add or evaluate a LaunchDarkly feature flag. Use when implementing a new feature behind a flag or checking flag status.

  • 30 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 8, 2026
ai-agentstypescriptapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill feature-flag --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Feature Flag?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Feature Flag
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-feature-flag/badge)](https://www.skillsdirectory.com/skills/majiayu000-feature-flag)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: feature-flag
description: Add or evaluate a LaunchDarkly feature flag. Use when implementing a new feature behind a flag or checking flag status.
---

# Feature Flag

Manage LaunchDarkly feature flags.

## Adding a new flag

1. Define flag key: `SCREAMING_SNAKE_CASE` → `kebab-case` for LD
2. Add TypeScript constant to `shared/src/feature-flags.ts`
3. Wrap feature in `if (await ldClient.variation('flag-key', context, false))`
4. Document flag purpose and expected removal date

## Checking flag status

List all flags and whether they're enabled: use LD API or `/flags` admin endpoint.

Arguments: $ARGUMENTS — flag name or action (list/add/remove)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.