config-feature-flags

Manage feature toggles via config files, profiles, and environment variables.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/cyberpunk042/devops-expert-local-ai --skill config-feature-flags
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: config-feature-flags
Source: https://github.com/cyberpunk042/devops-expert-local-ai/tree/main/.claude/skills/config-feature-flags
Command: npx skills add https://github.com/cyberpunk042/devops-expert-local-ai --skill config-feature-flags

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the absence of a dedicated feature-flag service by managing toggles through config keys in config/default.yaml, per-environment profile overlays, and environment variables for ad-hoc runs.

Core Features & Use Cases

  • Add a new feature toggle across environments or per-invocation and store it in the default config or via env vars.
  • Audit existing toggles by scanning config/default.yaml, profile overlays, and environment reads, and identify code-level toggles for migration.
  • Migrate ad-hoc booleans to the profile system with a behavioral-preserving process and documentation.

Quick Start

Add a new toggle like 'experimental_ui' in dev using config/default.yaml and test across profiles.

Frequently Asked Questions about config-feature-flags

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage feature toggles using config files and environment variables?

Feature toggles can be managed by applying config keys in default.yaml, per-environment profile overlays, and environment variables to control behavior across different environments. This approach replaces a dedicated feature-flag service.

How do I add a new feature toggle for a specific environment profile?

To add a new feature toggle, store the key in config/default.yaml or apply it via environment variables for ad-hoc runs, then test the toggle across your per-environment profile overlays. This ensures safe, predictable feature gating.

What is the best way to audit existing feature flags in a configuration?

Auditing existing feature flags involves scanning config/default.yaml, profile overlays, and environment reads to identify active toggles. This process also helps identify code-level toggles that are ready for migration to the profile system.

How do I migrate ad-hoc boolean flags to a per-environment profile system?

Migrating ad-hoc booleans to the profile system uses a behavior-preserving process with documentation to ensure safe transitions. It moves isolated environment variables into structured profile overlays for better lifecycle management.

Can I control feature toggles per-invocation without changing config files?

Yes, you can control feature toggles per-invocation by passing environment variables for ad-hoc runs. This allows temporary feature gating without modifying the default config or profile overlays.

Do I need a dedicated feature-flag service to manage configurations at rest?

No, you do not need a dedicated feature-flag service because toggles can be managed at rest through config keys and profile overlays. This provides lifecycle management and auditing without external service dependencies.