LaunchDarkly Projects Setup
SkillProductivityThe projects skill is a guide for setting up LaunchDarkly projects in your codebase. It helps you assess your stack, choose the right approach, and integrate project management that makes sense for your architecture. It also lets your agent list the projects Claude Code knows about and show each one's instinct statistics.
Use LaunchDarkly Projects Setup in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add LaunchDarkly Projects Setup and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the LaunchDarkly Projects Setup skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Have a codebase with a stack you want to assess for LaunchDarkly project setup.
What your AI can do with it
- Assess your stack to choose the right LaunchDarkly project approach
- Integrate project management that fits your architecture
- List the projects Claude Code knows about
- Show each project's instinct statistics
Getting started
- Have a codebase with a stack you want to assess for LaunchDarkly project setup.
- Add the projects skill to your agent configuration.
- Ask your agent to assess your stack and recommend an approach.
- Ask your agent to list the projects Claude Code knows about and show their instinct statistics.
What this skill tells your AI
The instructions your AI receives, as published by launchdarkly/ai-tooling in skills/agentcontrol/projects/SKILL.md and read by Ahel’s review.
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:writepermission - LaunchDarkly MCP server configured in your environment
Core Principles
- Understand First: Explore the codebase to understand the stack and patterns.
- Choose the Right Fit: Select an approach that matches your architecture.
- Follow Conventions: Respect existing code style and structure.
- Verify Integration: Confirm the setup works: the agent performs checks and reports results.
API Access
Prefer the LaunchDarkly MCP server tools: they authenticate via OAuth and need no token. If a step has no MCP equivalent and you must call the REST API directly, ask the user to paste an API access token for this session and substitute it for {api_token} in the examples below. Do not search environment variables, .env files, or agent/MCP config files for credentials.
See Quick Start for API usage patterns.
What Are Projects?
Projects are LaunchDarkly's top-level organizational containers that hold:
- All your 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:
-
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?
-
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?
-
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?
-
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:
| Scenario | Recommended Path |
|---|---|
| New project, no LaunchDarkly integration | Quick Setup - Create project and save SDK keys |
| Existing LaunchDarkly usage | Add to Existing - Create new project or use existing |
| Multiple services/microservices | Multi-Project - Create projects per service |
| Multi-region or multi-tenant | Project Cloning - Clone template project |
| Infrastructure-as-Code (IaC) setup | Automated Setup - Script-based creation |
| Need project management tooling | CLI/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:
- Python Implementation - For Python applications (FastAPI, Django, Flask)
- Node.js/TypeScript Implementation - For Node.js/Express/NestJS applications
- Go Implementation - For Go services
- Multi-Language Setup - For polyglot architectures
By Use Case:
- Quick Start - Create first project and get SDK keys
- Environment Configuration - Save SDK keys to .env, secrets, or config
- Project Cloning - Clone projects for regions/teams
- IaC/Automation - Terraform, scripts, CI/CD integration
- Admin Tooling - Build CLI or admin utilities
Step 4: Implement the Integration
Follow the chosen reference guide to implement project management. Key considerations:
-
API Authentication:
- Store API token securely
- Follow existing secrets management patterns
- Never commit tokens to version control
-
Project Naming:
- Use consistent, descriptive names
- Follow existing naming conventions
- Project keys: lowercase, hyphens, start with letter
-
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
-
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:
-
Fetch to confirm it exists. Prefer the MCP
get-projecttool over rawcurl— 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[]-stylejqfilter. The shape ofenvironmentsvaries byexpandparameter — sometimes it's{items: [...]}, sometimes a bare array — and a hand-rolled filter will fail withCannot index array with string "items". Runjq -e .first to inspect the actual shape, or usejq '.environments | if type == "object" then .items else . end'to handle both. -
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() -
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 Agent
customer-ai → Customer Success Team Agent
internal-ai → Internal Tools Team Agent
By Application/Service
mobile-ai → Mobile App configs
web-ai → Web App configs
api-ai → API Service configs
By Region/Deployment
ai-us → US Region
ai-eu → Europe Region
ai-apac → Asia-Pacific Region
Edge Cases
| Situation | Action |
|---|---|
| Project already exists | Check if it's the right one; use it or create with different key |
| Need multiple projects | Create separately for each service/region/team |
| Shared configs across services | Use same project, separate by SDK context |
| Token lacks permissions | Request projects:write or use MCP server |
| Project name conflict | Keys 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:
- Create configs - Use the
configs-createskill - Set up SDK Integration - Use the
sdkskill - Configure Targeting - Use the
configs-targetingskill
Related Skills
configs-create- Create configs in projectssdk- Integrate SDK in your applicationconfigs-targeting- Configure config targetingconfigs-variations- Manage config variations
References
Signals
- GitHub stars
- 26
- Forks
- 12
- Last commit
- Oct 2026
- Hacker News mentions
- 19
Ahel review
K1binfo
installs-packages (in references/admin-tooling.md)K1binfo
installs-packages (in references/iac-automation.md)K1binfo
installs-packages (in references/nodejs-setup.md)K1binfo
installs-packages (in references/python-setup.md)
Automated review, not a security audit. Ruleset v1+k2.
Questions
- What does the projects skill do?
- It guides setting up LaunchDarkly projects in your codebase, helps assess your stack and choose an approach, and lets your agent list projects Claude Code knows about with their instinct statistics.
- How do I set up LaunchDarkly projects in my codebase?
- Use the skill to assess your stack, choose the right approach, and integrate project management that makes sense for your architecture.
- Can I see instinct statistics for my projects?
- Yes, the skill lets your agent show each project's instinct statistics.
- Which projects can the agent list?
- It lists the projects Claude Code knows about.
Advanced
- Item type
- skill
- Key
projects- Source
- github.com/launchdarkly/ai-tooling
github.com/launchdarkly/ai-tooling
More in Productivity
Skill · coreyhaines31
More in Productivitygws-calendar
Skill · googleworkspace
More in Productivitylark-minutes
Skill · larksuite
More in Productivitylark-workflow-standup-report
Skill · larksuite
More in Productivityenergy-procurement
Skill · affaan-m
More in Productivityhomelab-pihole-dns
Skill · affaan-m
More in Productivity