Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

aiconfig-projectsaiconfig 项目

Agent Skill

aiconfig-projects 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,389

周安装

311

GitHub Stars

7

下载量

2,588
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:aiconfig-projects(aiconfig 项目)
来源仓库:https://github.com/launchdarkly/agent-skills
仓库路径:skills/aiconfig-projects
安装命令:
npx skills add https://github.com/launchdarkly/agent-skills --skill aiconfig-projects
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/launchdarkly/agent-skills --skill aiconfig-projects

简介

aiconfig-projects 协助在代码库中搭建 LaunchDarkly 项目管理结构。

  • 适用于多团队协作下统一配置治理与权限隔离的实施场景。
  • 根据项目规模选择轻量级或全功能方案,支持自动化模板注入。
  • 需具备 projects:write 权限的 API token 并完成环境变量配置。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

LaunchDarkly Projects Setup

You're using a skill that will guide you through setting up LaunchDarkly project management in a codebase. Your job is to explore the codebase to understand the stack and patterns, assess what approach makes sense, choose the right implementation path from the references, execute the setup, and verify it works.

Prerequisites

Choose one:

  • LaunchDarkly API access token with projects:write permission
  • LaunchDarkly MCP server configured in your environment

Core Principles

  1. Understand First: Explore the codebase to understand the stack and patterns.
  2. Choose the Right Fit: Select an approach that matches your architecture.
  3. Follow Conventions: Respect existing code style and structure.
  4. Verify Integration: Confirm the setup works: the agent performs checks and reports results.

API Key Detection

Before prompting the user for an API key, try to detect it automatically:

  1. Check environment variables: Look for LAUNCHDARKLY_API_KEY, LAUNCHDARKLY_API_TOKEN, or LD_API_KEY
  2. Check MCP config: If using Claude, read ~/.claude/config.json for mcpServers.launchdarkly.env.LAUNCHDARKLY_API_KEY
  3. Prompt user: Only if detection fails, ask the user for their API key

See Quick Start for API usage patterns.

What Are Projects?

Projects are LaunchDarkly's top-level organizational containers that hold:

  • All your AI Configs
  • Feature flags and segments
  • Multiple environments (Production and Test created by default)

Think of projects as separate applications, services, or teams that need their own isolated set of configurations.

Project Setup Workflow

Step 1: Explore the Codebase

Before implementing anything, understand the existing architecture:

  1. Identify the tech stack:

- What language(s)? (Python, Node.js, Go, Java, etc.) - What framework(s)? (FastAPI, Express, Spring Boot, etc.) - Is there an existing LaunchDarkly integration?

  1. Check environment management:

- How are environment variables stored? (.env files, secrets manager, config files) - Where is configuration loaded? (startup scripts, config modules) - Are there existing LaunchDarkly SDK keys?

  1. Look for patterns:

- Are there existing API clients or service modules? - How is external API integration typically done? - Is there a CLI, scripts directory, or admin tooling?

  1. Understand the use case:

- Is this a new project being set up? - Adding to an existing LaunchDarkly integration? - Part of a multi-service architecture? - Need for project cloning across regions/teams?

Step 2: Assess the Situation

Based on your exploration, determine the right approach:

ScenarioRecommended Path
New project, no LaunchDarkly integrationQuick Setup - Create project and save SDK keys
Existing LaunchDarkly usageAdd to Existing - Create new project or use existing
Multiple services/microservicesMulti-Project - Create projects per service
Multi-region or multi-tenantProject Cloning - Clone template project
Infrastructure-as-Code (IaC) setupAutomated Setup - Script-based creation
Need project management toolingCLI/Admin Tools - Build project management utilities

Step 3: Choose Your Implementation Path

Select the reference guide that matches your stack and use case:

By Language/Stack:

By Use Case:

Step 4: Implement the Integration

Follow the chosen reference guide to implement project management. Key considerations:

  1. API Authentication:

- Store API token securely - Follow existing secrets management patterns - Never commit tokens to version control

  1. Project Naming:

- Use consistent, descriptive names - Follow existing naming conventions - Project keys: lowercase, hyphens, start with letter

  1. SDK Key Management:

- Extract and store SDK keys for each environment - Use the same pattern as other secrets in your codebase - Consider separate keys for test/staging/production

  1. Error Handling:

- Handle existing projects gracefully (409 conflict) - Provide clear error messages - Don't fail silently

Step 5: Verify the Setup

After creating the project, verify it works:

  1. Fetch to confirm it exists. Prefer the MCP get-project tool over raw curl — it returns a typed object you can inspect directly. If you must call the REST API: curl -X GET "https://app.launchdarkly.com/api/v2/projects/{projectKey}?expand=environments" \ -H "Authorization: {api_token}" Do not pipe the response straight into a .environments.items[]-style jq filter. The shape of environments varies by expand parameter — sometimes it's {items: [...]}, sometimes a bare array — and a hand-rolled filter will fail with Cannot index array with string "items". Run jq -e. first to inspect the actual shape, or use jq '.environments | if type == "object" then.items else. end' to handle both.
  2. Test SDK integration: Run a quick verification to ensure the SDK key works: import ldclient from ldclient.config import Config ldclient.set_config(Config("{sdk_key}")) # SDK initializes successfully # Always flush events before closing — trailing events are at risk of being # lost otherwise, in short-lived scripts and long-running services alike. ldclient.get().flush() ldclient.get().close()
  3. Report results:

- ✓ Project exists and has environments - ✓ SDK keys are present and valid - ✓ SDK can initialize (or flag any issues)

Project Key Best Practices

Project keys must follow these rules:

✓ Good examples:
  - "support-ai"
  - "chat-bot-v2"
  - "internal-tools"

✗ Bad examples:
  - "Support_AI"     # No uppercase or underscores
  - "123-project"    # Must start with letter
  - "my.project"     # No dots allowed

Naming Recommendations:

  • Keep keys short but descriptive
  • Use team/service/purpose as naming scheme
  • Be consistent across your organization

Common Organization Patterns

By Team

platform-ai       → Platform Team AI
customer-ai       → Customer Success Team AI
internal-ai       → Internal Tools Team AI

By Application/Service

mobile-ai         → Mobile App AI Configs
web-ai            → Web App AI Configs
api-ai            → API Service AI Configs

By Region/Deployment

ai-us             → US Region
ai-eu             → Europe Region
ai-apac           → Asia-Pacific Region

Edge Cases

SituationAction
Project already existsCheck if it's the right one; use it or create with different key
Need multiple projectsCreate separately for each service/region/team
Shared configs across servicesUse same project, separate by SDK context
Token lacks permissionsRequest projects:write or use MCP server
Project name conflictKeys must be unique, names can be similar

What NOT to Do

  • Don't create projects without understanding the use case first
  • Don't commit API tokens or SDK keys to version control
  • Don't use production SDK keys in test/development environments
  • Don't create duplicate projects unnecessarily
  • Don't skip the exploration phase

Next Steps

After setting up projects:

  1. Create AI Configs - Use the aiconfig-create skill
  2. Set up SDK Integration - Use the aiconfig-sdk skill
  3. Configure Targeting - Use the aiconfig-targeting skill

Related Skills

  • aiconfig-create - Create AI Configs in projects
  • aiconfig-sdk - Integrate SDK in your application
  • aiconfig-targeting - Configure AI Config targeting
  • aiconfig-variations - Manage config variations

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.6%
按下载量换算947

Claude

25.53%
按下载量换算661

Cursor

19.39%
按下载量换算502

Gemini CLI

8.51%
按下载量换算220

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills