feature-flags

Generate typed feature flag infrastructure for iOS and macOS apps.

114|8|Updated Mar 4, 2025
One-click install
npx skills add https://github.com/gustavscirulis/snapgrid --skill feature-flags-gustavscirulis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-flags
Source: https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/feature-flags
Command: npx skills add https://github.com/gustavscirulis/snapgrid --skill feature-flags-gustavscirulis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of a complete feature flag system for iOS/macOS apps, enabling dynamic control over features without app updates.

Core Features & Use Cases

  • Full Infrastructure Generation: Creates typed flag definitions, local/remote providers, SwiftUI integration, and a debug menu.
  • Use Case: When developing a new UI component or planning an A/B test, use this Skill to quickly set up the necessary code to enable/disable the feature remotely or via a debug toggle.

Quick Start

Use the feature-flags skill to add boolean feature flags for 'new_onboarding' and 'experimental_ui'.

Frequently Asked Questions about feature-flags

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

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

Feature flags in SwiftUI are implemented here by generating typed flag definitions, local and remote configuration providers, and SwiftUI environment integration to control UI components dynamically.

How do I set up remote config for A/B testing in macOS applications?

Remote config for A/B testing is established by generating multiple provider architectures that supply configurable value types, enabling gradual rollouts and dynamic feature control in macOS apps.

Can I generate a debug menu for toggling feature flags at runtime?

Yes, a runtime debug menu is generated alongside the feature flag infrastructure, allowing developers to manually toggle feature flags for testing during iOS and macOS development.

What is the best way to manage gradual rollouts for new iOS features?

Gradual rollouts are managed using generated remote configuration providers that support configurable value types, allowing dynamic feature activation without requiring app updates.

Do I need external dependencies to use remote config providers in Swift?

No external dependencies are required; the infrastructure generates local and remote configuration provider architectures natively, supporting typed flag definitions and A/B testing independently.

Why use typed flag definitions for feature flag management?

Typed flag definitions ensure type safety when reading feature flags, preventing runtime errors by strictly defining the configurable value types used for A/B testing and remote configuration.