Community程式設計與開發github.com

ComposioHQ/LaunchDarkly-Automation

自動化 LaunchDarkly 功能開關管理——透過 Composio MCP 整合列出專案與環境、建立與刪除觸發工作流程,以及追蹤程式碼參考。

LaunchDarkly-Automation 是什麼?

這項技能透過 Composio MCP 伺服器提供 LaunchDarkly 功能開關管理的完整自動化能力。開發人員可以列出所有專案與對應環境、建立由 Webhook 驅動的開關觸發器來響應外部事件(如 Datadog 警報),以及管理觸發器生命週期(建立與永久刪除)。它也支援查閱程式碼參考儲存庫,協助團隊稽核功能開關在程式碼庫中的使用情況,但此為企業版功能。支援的工具包括:LAUNCH_DARKLY_LIST_PROJECTS、LAUNCH_DARKLY_GET_ENVIRONMENTS、LAUNCH_DARKLY_CREATE_TRIGGER_WORKFLOW、LAUNCH_DARKLY_DELETE_TRIGGER_WORKFLOW 與 LAUNCH_DARKLY_LIST_CODE_REFERENCE_REPOSITORIES。已知陷阱包括環境金鑰格式為小寫縮寫、觸發器刪除不可回復,以及企業版功能需對應權限。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/launch-darkly-automation

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

LaunchDarkly 自動化

自動化您的 LaunchDarkly 功能開關工作流程——列舉專案與環境、建立由 Webhook 驅動的開關觸發器、管理觸發器生命週期,以及稽核跨儲存庫的程式碼參考。

工具組文件: composio.dev/toolkits/launch_darkly


設定

  1. 將 Composio MCP 伺服器新增至您的客戶端:https://rube.app/mcp
  2. 在提示時連接您的 LaunchDarkly 帳戶(API 金鑰驗證)
  3. 開始使用下方的工作流程

核心工作流程

1. 列出專案

使用 LAUNCH_DARKLY_LIST_PROJECTS 探索所有專案及其金鑰,以供後續操作使用。

工具:LAUNCH_DARKLY_LIST_PROJECTS
輸入:
  - filter:字串(例如 "query:myproject" 或 "keys:proj1,proj2" 或 "tags:mytag")
  - expand:字串(例如 "environments" 以包含每個專案的環境列表)
  - limit:整數(預設 20)
  - offset:整數(分頁起始索引)
  - sort:字串(例如 "name" 或 "-name" 表示降序)

2. 取得專案的環境

使用 LAUNCH_DARKLY_GET_ENVIRONMENTS 列出專案內的所有環境(生產、暫存、測試等)。

工具:LAUNCH_DARKLY_GET_ENVIRONMENTS
輸入:
  - project_key:字串(必填)——例如 "my-project"、"default"
  - filter:字串(例如 "query:production")
  - limit:整數(預設 20)
  - offset:整數(分頁)
  - sort:字串(例如 "name" 或 "-name")

3. 建立開關觸發工作流程

使用 LAUNCH_DARKLY_CREATE_TRIGGER_WORKFLOW 設定由外部事件(Webhook、Datadog 警報等)驅動的自動化開關切換。

工具:LAUNCH_DARKLY_CREATE_TRIGGER_WORKFLOW
輸入:
  - project_key:字串(必填)
  - feature_flag_key:字串(必填)——例如 "new-feature"、"enable-dark-mode"
  - environment_key:字串(必填)——例如 "production"、"staging"
  - integration_key:字串(預設 "generic-trigger")——或 "datadog"、"honeycomb"、"dynatrace"
  - instructions:物件陣列(選填):
      - kind:"flag_action"(固定值)
      - action:"turnFlagOn" | "turnFlagOff"
  - comment:字串(選填)——觸發目的的描述

觸發器會產生一個唯一的 Webhook URL,呼叫該 URL 即可執行設定的開關動作。

4. 刪除開關觸發工作流程

使用 LAUNCH_DARKLY_DELETE_TRIGGER_WORKFLOW 永久移除觸發器及其 URL。

工具:LAUNCH_DARKLY_DELETE_TRIGGER_WORKFLOW
輸入:
  - project_key:字串(必填)
  - feature_flag_key:字串(必填)
  - environment_key:字串(必填)
  - id:字串(必填)——建立時傳回的觸發器 ID

警告: 刪除是不可回復的。觸發器及其 URL 無法復原。

5. 列出程式碼參考儲存庫

使用 LAUNCH_DARKLY_LIST_CODE_REFERENCE_REPOSITORIES 追蹤功能開關在程式碼庫中的使用位置。

工具:LAUNCH_DARKLY_LIST_CODE_REFERENCE_REPOSITORIES
輸入:
  - projKey:字串(選填)——依專案金鑰篩選
  - flagKey:字串(選填)——依功能開關金鑰篩選
  - withBranches:字串(任何值以包含分支資料)
  - withReferencesForDefaultBranch:字串(任何值以包含預設分支的程式碼參考)

注意: 程式碼參考是企業版功能,需要 code-reference-repository 寫入權限。


已知陷阱

陷阱詳細說明
專案金鑰探索在呼叫其他工具前,務必先使用 LAUNCH_DARKLY_LIST_PROJECTS 找出有效的專案金鑰。
環境金鑰格式環境金鑰為小寫縮寫(例如 "production"、"test"),而非顯示名稱。
觸發器刪除為永久性一旦透過 LAUNCH_DARKLY_DELETE_TRIGGER_WORKFLOW 刪除,觸發器 URL 即無法復原。
企業版專屬的程式碼參考LAUNCH_DARKLY_LIST_CODE_REFERENCE_REPOSITORIES 需要企業版方案與寫入權限。
觸發器指令格式每個指令物件需要 kind: "flag_action"(固定常數)以及 action 為 turnFlagOn 或 turnFlagOff。

快速參考

工具別名說明
LAUNCH_DARKLY_LIST_PROJECTS列出所有專案,支援篩選與分頁
LAUNCH_DARKLY_GET_ENVIRONMENTS列出專案內的環境
LAUNCH_DARKLY_CREATE_TRIGGER_WORKFLOW建立 Webhook 驅動的開關觸發器
LAUNCH_DARKLY_DELETE_TRIGGER_WORKFLOW永久刪除開關觸發器
LAUNCH_DARKLY_LIST_CODE_REFERENCE_REPOSITORIES列出包含開關程式碼參考的儲存庫

由 Composio 提供

Individual skills in this repo

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

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

相關技能