Skip to content
Back to skills

Ios Feature Flags

ASecurity

Use when a feature, screen or component must be switchable on or off from the backend or on the device in the iOS app (AgenticApp).

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 18, 2026
ai-agentsbackend

Security analysis

A100/100

Scanned November 18, 2026

npx -y skills add erumkatzwan/agentic-product-starter --skill ios-feature-flags --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ios Feature Flags?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ios Feature Flags
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/erumkatzwan-ios-feature-flags/badge)](https://www.skillsdirectory.com/skills/erumkatzwan-ios-feature-flags)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ios-feature-flags
description: Use when a feature, screen or component must be switchable on or off from the backend or on the device in the iOS app (AgenticApp).
---

# iOS feature flags

## How it decides

1. Launch argument or on-device override (`FF_<key>`) – used by tests and the Settings screen in Dev and SYST.
2. Backend value from `GET /feature-flags` – `{ "flags": { "<key>": true } }`.
3. `defaultValue` in `FeatureFlag` – used offline or before the backend answers.

## Adding a flag

1. Add a case to `FeatureFlag` with the backend key as raw value, for example `case orderHistory = "order_history"`.
2. Set a safe `defaultValue` (usually `false` for new work).
3. Gate the UI: `FeatureGate(.orderHistory) { … }`, or in logic: `featureFlags.isEnabled(.orderHistory)`.
4. Add the key to `Resources/Fixtures/feature-flags.json`.
5. Test both states: a unit test with `FeatureFlagService`, and a UI test launched with `-FF_order_history NO`.

## Rules

- Merge unfinished work behind a flag that defaults to `false`.
- Remove the flag and its dead branch once the feature is fully live.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.