Community生产力与协作github.com

launchdarkly/launchdarkly-flag-创建

以适配现有代码库的方式创建和配置 LaunchDarkly 功能标记。当用户想要创建新标记、将代码包装在标记中、添加功能切换或设置实验时使用。在创建前引导探索现有模式。

launchdarkly-flag-创建 是什么?

此技能用于在 LaunchDarkly 中创建和配置功能标记,确保新标记与现有代码库的命名、架构和实现模式保持一致。它优先引导用户探索项目中已有的功能标记模式(如标记命名风格、变体使用方式及代码包装方法),然后基于这些发现执行创建操作。支持所有主流 AI 代理平台(如 Claude Code、Cursor、Codex),无需额外环境变量。通过动态分析代码库中的现有标记使用情况,它可以建议合适的标记键、默认变体、标记类型(如布尔型或多变体型)以及目标规则。此外,它还能帮助用户将代码包装在标记条件中,或为实验设置流量分配。此技能特别适合需要确保一致性并减少标记管理错误的团队,简化在已使用 LaunchDarkly 的项目中添加功能标记的流程。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/launchdarkly/agent-skills/tree/main/skills/launchdarkly-flag-create

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

launchdarkly-flag-创建 是做什么的?

以适配现有代码库的方式创建和配置 LaunchDarkly 功能标记。当用户想要创建新标记、将代码包装在标记中、添加功能切换或设置实验时使用。在创建前引导探索现有模式。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

launchdarkly/aiconfig-agent-graphs

DEPRECATED redirect — this skill was renamed to agent-graphs. Do not use this skill; invoke agent-graphs instead. Kept only so old references to aiconfig-agent-graphs still point users to the new name.

launchdarkly/aiconfig-ai-metrics

DEPRECATED redirect — this skill was renamed to built-in-metrics. Do not use this skill; invoke built-in-metrics instead. Kept only so old references to aiconfig-ai-metrics still point users to the new name.

launchdarkly/aiconfig-create

DEPRECATED redirect — this skill was renamed to configs-create. Do not use this skill; invoke configs-create instead. Kept only so old references to aiconfig-create still point users to the new name.

launchdarkly/aiconfig-custom-metrics

DEPRECATED redirect — this skill was renamed to custom-metrics. Do not use this skill; invoke custom-metrics instead. Kept only so old references to aiconfig-custom-metrics still point users to the new name.

launchdarkly/aiconfig-migrate

DEPRECATED redirect — this skill was renamed to migrate. Do not use this skill; invoke migrate instead. Kept only so old references to aiconfig-migrate still point users to the new name.

launchdarkly/aiconfig-online-evals

DEPRECATED redirect — this skill was renamed to online-evals. Do not use this skill; invoke online-evals instead. Kept only so old references to aiconfig-online-evals still point users to the new name.

launchdarkly/aiconfig-projects

DEPRECATED redirect — this skill was renamed to projects. Do not use this skill; invoke projects instead. Kept only so old references to aiconfig-projects still point users to the new name.

launchdarkly/aiconfig-snippets

DEPRECATED redirect — this skill was renamed to snippets. Do not use this skill; invoke snippets instead. Kept only so old references to aiconfig-snippets still point users to the new name.

launchdarkly/aiconfig-targeting

DEPRECATED redirect — this skill was renamed to configs-targeting. Do not use this skill; invoke configs-targeting instead. Kept only so old references to aiconfig-targeting still point users to the new name.

launchdarkly/aiconfig-tools

DEPRECATED redirect — this skill was renamed to tools. Do not use this skill; invoke tools instead. Kept only so old references to aiconfig-tools still point users to the new name.

launchdarkly/aiconfig-update

DEPRECATED redirect — this skill was renamed to configs-update. Do not use this skill; invoke configs-update instead. Kept only so old references to aiconfig-update still point users to the new name.

launchdarkly/aiconfig-variations

DEPRECATED redirect — this skill was renamed to configs-variations. Do not use this skill; invoke configs-variations instead. Kept only so old references to aiconfig-variations still point users to the new name.

launchdarkly/apply

Apply LaunchDarkly SDK onboarding: install dependency (or dual-SDK pair), configure env and secrets with consent, add init at entrypoint(s), verify compile. Nested under sdk-install; next is run.

launchdarkly/detect

Detect repository stack for LaunchDarkly SDK onboarding: languages, frameworks, package managers, monorepo targets, entrypoints, existing LD usage. Nested under sdk-install; next is plan.

launchdarkly/first-flag

Create a boolean first flag, add evaluation, toggle on/off for end-to-end proof. Parent onboarding Step 6; uses MCP, API, or ldcli; optional flag-create skill.

launchdarkly/launchdarkly-experiment-setup

Set up and run experiments in LaunchDarkly. Create experiments with metrics, treatments, and flag config, start iterations to collect data, swap design between iterations, and stop with a winner.

launchdarkly/launchdarkly-flag-cleanup

Safely remove a feature flag from code while preserving production behavior. Use when the user wants to remove a flag from code, delete flag references, or create a PR that hardcodes the winning variation after a rollout is complete.

launchdarkly/launchdarkly-flag-discovery

Audit your LaunchDarkly feature flags to understand the landscape, find stale or launched flags, and assess removal readiness. Use when the user asks about flag debt, stale flags, cleanup candidates, flag health, or wants to understand their flag inventory.

launchdarkly/launchdarkly-flag-targeting

Control LaunchDarkly feature flag targeting including toggling flags on/off, percentage rollouts, targeting rules, individual targets, and copying flag configurations between environments. Use when the user wants to change who sees a flag, roll out to a percentage, add targeting rules, or promote config between environments.

launchdarkly/launchdarkly-guarded-rollout

Configure guarded rollouts with progressive traffic increases, metric monitoring, and automatic rollback. Use when releasing features gradually with safety thresholds.

相关技能