feature-flags

Generate typed feature-flag infrastructure with local defaults and remote overrides for iOS/macOS apps.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/ano4l/SiteRent --skill feature-flags-ano4l
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-flags
Source: https://github.com/ano4l/SiteRent/tree/main/skills/generators/feature-flags
Command: npx skills add https://github.com/ano4l/SiteRent --skill feature-flags-ano4l

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of a complete feature-flag system for iOS/macOS apps, enabling safe, remote-controlled feature rollout and experimentation.

Core Features & Use Cases

  • Typed flag definitions with local defaults, remote overrides, and composite provider support
  • SwiftUI integration via an @Observable manager and environment embedding
  • Debug menu for runtime flag overrides and remote refresh workflow
  • Disk caching and deterministic behavior for offline startup

Quick Start

Run the generator to scaffold a complete feature-flag system for your SwiftUI app.

Frequently Asked Questions about feature-flags

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

FAQPage Schema
How do I implement remote config and feature flags in a SwiftUI app?

It provides remote feature flag support through a remote provider with disk caching, ensuring deterministic behavior for offline startup. Local defaults act as fallbacks when the remote config is unavailable.

How do I add a debug menu for toggling feature flags during iOS QA workflows?

You can add a debug menu for runtime feature flag overrides and remote refresh workflows by scaffolding the feature-flag system with debug menu integration. This allows developers and QA to toggle flags during testing.

Can I use a hybrid feature flag strategy with both local and remote providers in iOS?

Yes, hybrid flag strategies are supported through a composite feature flag provider. It merges a local feature flag provider for defaults with a remote feature flag provider for dynamic overrides.

What is the best way to manage typed feature flags with Swift concurrency in macOS apps?

The best way to manage typed feature flags is using a modular architecture with a FeatureFlagManager that supports Swift concurrency. This ensures safe asynchronous access to typed flag definitions across your macOS app.

How do feature flags handle disk caching and offline startup for iOS apps?

Feature flags handle offline startup through disk caching and deterministic behavior provided by the generated infrastructure. This ensures the app loads the last known flag states without a network connection.