configure-feature-flags
БесплатноБез исполняемых скриптовНе проверенFeature flags with OpenFeature and providers (GOFF, flagd, LaunchDarkly). Use when setting up the SDK, configuring a relay proxy, or adding flag test helpers.
от laurigates★ 61 звезда на GitHubОб этом скилле
/configure:feature-flags
Check and configure feature flag infrastructure using the OpenFeature standard with pluggable providers.
When to Use This Skill
| Use this skill when... | Use another approach when... |
|---|---|
| Adding feature flag infrastructure to a new project | Creating or editing individual flag definitions in YAML |
| Setting up OpenFeature SDK with a provider (GOFF, flagd, LaunchDarkly) | Debugging why a specific flag evaluation returns unexpected values |
| Auditing existing feature flag configuration for completeness | Writing application logic that consumes feature flags |
| Configuring relay proxy infrastructure (Docker, Kubernetes) | Managing LaunchDarkly or Split dashboard settings |
| Adding feature flag test helpers and in-memory providers | Configuring error tracking (/configure:sentry instead) |
Context
- Package JSON: !
find . -maxdepth 1 -name 'package.json' - Python project: !
find . -maxdepth 1 -name 'pyproject.toml' - Go project: !
find . -maxdepth 1 -name 'go.mod' - Cargo project: !
find . -maxdepth 1 -name 'Cargo.toml' - OpenFeature SDK: !
find . -maxdepth 1 \( -name package.json -o -name pyproject.toml -o -name Cargo.toml -o -name go.mod \) -exec grep -l 'openfeature' {} + - GOFF config: !
find . -maxdepth 2 -name 'flags.goff.yaml' -o -name 'flags.goff.yml' - Docker compose: !
find . -maxdepth 1 -name 'docker-compose*.yml' -o -name 'docker-compose*.yaml' - Project standards: !
find . -maxdepth 1 -name '.project-standards.yaml'
Parameters
Parse from $ARGUMENTS:
--check-only: Report compliance status without modifications--fix: Apply all fixes automatically without prompting--provider <provider>: Override provider detection (goff, flagd, launchdarkly, split)
Version Checking
CRITICAL: Before configuring feature flags, verify latest SDK and provider versions using WebSearch or WebFetch:
- OpenFeature JS SDK: Check npm
- OpenFeature Python SDK: Check PyPI
- GO Feature Flag: Check GitHub releases
- flagd: Check GitHub releases
Execution
Execute this feature flag configuration workflow:
Step 1: Detect project language and existing setup
Check for existing feature flag infrastructure:
| Indicator | Language | Detected Provider |
|---|---|---|
@openfeature/server-sdk in package.json |
Node.js | OpenFeature (check for provider) |
@openfeature/web-sdk in package.json |
Browser JS | OpenFeature Web |
@openfeature/react-sdk in package.json |
React | OpenFeature React |
openfeature-sdk in pyproject.toml |
Python | OpenFeature Python |
@openfeature/go-feature-flag-provider |
Node.js | GO Feature Flag |
go-feature-flag-relay-proxy in docker-compose |
Any | GO Feature Flag Relay |
flagd in docker-compose/k8s |
Any | flagd provider |
Step 2: Analyze current state
Check for complete feature flag setup:
- Verify OpenFeature SDK installed for project language
- Check provider package installed
- Verify provider initialized in application startup
- Check evaluation context configuration
- Check hooks configured (logging, telemetry)
- For GOFF: verify flag configuration file exists, relay proxy configured
- For flagd: verify container/service configured, gRPC/HTTP endpoints
Step 3: Generate compliance report
Print a formatted compliance report:
Feature Flag Compliance Report
==============================
Project: [name]
Language: [detected]
Provider: [detected or None]
OpenFeature SDK: [status per check]
Provider Config: [status per check]
Infrastructure: [status per check]
Overall: [X issues found]
Recommendations: [list specific fixes]
If --check-only, stop here.
Step 4: Install SDK and configure provider (if --fix or user confirms)
Based on detected language, install and configure the OpenFeature SDK with the selected provider. Use code templates from REFERENCE.md.
- Install OpenFeature SDK and provider packages
- Create feature flag client wrapper module
- Create evaluation context helper
- Create middleware for HTTP frameworks (Express, FastAPI, etc.)
Step 5: Create flag configuration
Create flags.goff.yaml with example flags covering common patterns:
- Simple boolean flag
- Percentage rollout
- Multi-variant flag (A/B test)
- Environment-specific flag
- User-specific override
- Scheduled rollout
Use flag templates from REFERENCE.md.
Step 6: Configure infrastructure
- Create docker-compose entry for relay proxy (local development)
- Optionally create Kubernetes manifests for production
Step 7: Create test configuration
Create test file using in-memory provider for feature flag unit t
Установить configure-feature-flags в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
GlobGrepReadWriteEditBash(find *)Bash(npm install *)Bash(uv add *)Bash(go get *)AskUserQuestionTodoWriteWebSearchWebFetchВложенные файлы
FAQ
Что делает скилл configure-feature-flags?
Feature flags with OpenFeature and providers (GOFF, flagd, LaunchDarkly). Use when setting up the SDK, configuring a relay proxy, or adding flag test helpers.
Как установить скилл configure-feature-flags?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл configure-feature-flags запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic