其他

launchdarkly-metric-create

launchdarkly/ai-tooling

Create a LaunchDarkly metric that measures what matters for an experiment or rollout. Use when the user wants to create a metric, track an event, measure page views, button clicks, conversion, latency, error rate, or any custom numeric or binary outcome. Instruments the event first when needed (including SDK setup and .env), then creates and verifies the metric.

  • 3252 次安装
  • 28 星标
  • 收录于

安装命令

npx skills add https://github.com/launchdarkly/ai-tooling --skill launchdarkly-metric-create

SKILL.md

LaunchDarkly Metric Create

You're using a skill that will guide you through creating a LaunchDarkly metric. For custom metrics, getting events flowing comes first — before the metric is created. Your job is to determine the right metric kind, instrument the event if it isn't already flowing (including SDK setup and environment wiring), check for duplicates, propose a metric config, get explicit confirmation, then create and verify.

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.

Required MCP tools:

  • create-metric — create the metric
  • get-metric — verify it after creation
  • get-environment — fetch the client-side SDK key when instrumenting

Optional MCP tools (enhance workflow):

  • list-metrics — check for existing metrics with the same event key and understand naming conventions
  • list-metric-events — discover which event keys have recent activity before committing to one (custom metrics only)

Two Different "Projects" — Never Confuse Them