Agent skill · Code Review & Quality

feature-flags

Generate feature flag infrastructure with local defaults, remote configuration, SwiftUI integration, and debug menu. Use when adding feature flags or A/B testing to iOS/macOS apps.

rshankrasgithub.com/rshankrasGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill feature-flags --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Allowed tools: ReadWriteEditGlobGrepBashAskUserQuestion
Path: skills/generators/feature-flags/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Feature Flags Generator Generate a complete feature flag infrastructure with typed flag definitions, protocol-based providers (local, remote, composite), SwiftUI environment integration, an `@Observable` manager, and a debug menu for toggling flags at runtime. ## When This Skill Activates Use this skill when the user: - Asks to "add feature flags" or "add feature toggles" - Mentions A/B testing or gradual rollouts - Asks about Firebase Remote Config or similar remote configuration - Wants to disable features without shipping an app update - Mentions "kill switches" or "feature gates" - Wants to control features remotely for a subset of users - Asks for a debug menu to toggle features during development ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check for existing feature flag implementations - [ ] Check for Firebase Remote Config or third-party flag SDKs - [ ] Identify source file locations (Sources/, App/, or root) - [ ] Verify minimum deployment target (iOS 17+ / macOS 14+ for @Observable) ### 2. Conflict Detection Search for existing feature flag code: ``` Glob: **/*FeatureFlag*.swift, **/*FeatureToggle*.swift, **/*RemoteConfig*.swift Grep: "FeatureFlag" o

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Pre-Generation Checks
  3. 1. Project Context Detection
  4. 2. Conflict Detection
  5. 3. Required Capabilities
  6. Configuration Questions
  7. Generation Process
  8. Step 1: Determine File Locations
  9. Step 2: Create Core Files
  10. Step 3: Generate Code from Templates
  11. Output Format
  12. Files Created
  13. Integration Steps
  14. Testing Instructions
Ships with 1 file
  • templates.md
More from claude-code-apple-skills
All skills →
About this skill
What does the feature-flags skill do?

Generate feature flag infrastructure with local defaults, remote configuration, SwiftUI integration, and debug menu. Use when adding feature flags or A/B testing to iOS/macOS apps.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill feature-flags --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going