feature-flags

Generate feature flag infrastructure for iOS/macOS apps with SwiftUI integration.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill feature-flags-jtvaris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-flags
Source: https://github.com/jtvaris/sunday-night-dynasty/tree/main/.agents/skills/generators/feature-flags
Command: npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill feature-flags-jtvaris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a complete, maintainable feature flag infrastructure that coordinates local defaults, remote configuration, and UI integration to streamline feature rollouts.

Core Features & Use Cases

  • Typed flag definitions with local defaults and remote overrides
  • Protocol-based providers (local, remote, composite) and SwiftUI environment integration
  • Debug menu for runtime toggling (DEBUG builds) and environment exposure for views
  • End-to-end workflow from initialization to refresh and testing

Quick Start

Create a feature-flag system for an iOS app with local defaults, optional remote config, SwiftUI environment integration, and a debug menu.

Frequently Asked Questions about feature-flags

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

FAQPage Schema
How do I set up feature flags in a SwiftUI iOS app?

You can implement feature flags by defining typed local defaults, conforming to provider protocols for remote config, and injecting an @Observable manager into the SwiftUI environment.

What is the best way to manage remote config and local defaults for iOS feature flags?

The best way to manage remote config and local defaults is using a composite provider protocol that coordinates remote overrides with local fallbacks for typed flag values.

Can I add a debug menu to toggle feature flags at runtime in DEBUG builds?

Yes, you can add an optional debug menu to toggle feature flags at runtime in DEBUG builds, allowing developers to test variations and remote config behavior without redeploying.

Does this feature flag system require specific dependencies to work with macOS and iOS?

No, this feature flag system requires no external dependencies to work with macOS and iOS, relying entirely on native SwiftUI environment integration and protocol-based providers.

How do I test feature flags and remote config values in an iOS application?

You test feature flags by toggling values through the debug menu in DEBUG builds or by mocking the provider protocols to simulate remote config refreshes and local default overrides.