Skip to content
Back to skills

Android 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 Android app (AgenticApp).

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

Works with

  • api

Security analysis

A100/100

Scanned November 18, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Android Feature Flags?

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

Security grade badge for Android Feature Flags
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/erumkatzwan-android-feature-flags/badge)](https://www.skillsdirectory.com/skills/erumkatzwan-android-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: android-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 Android app (AgenticApp).
---

# Android feature flags

## How it decides

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

## Adding a flag

1. Add an entry to `FeatureFlag` with the backend key, for example `ORDER_HISTORY("order_history", false)`. Use the same key as iOS and web.
2. Use a safe default (usually `false` for new work).
3. Gate the UI: `FeatureGate(FeatureFlag.ORDER_HISTORY) { … }`, or in logic: `LocalFeatureFlags.current.isEnabled(FeatureFlag.ORDER_HISTORY)`.
4. Add the key to `assets/fixtures/feature-flags.json` (and the iOS fixture).
5. Test both states: a unit test with `FeatureFlagService`, and a UI test launched with `launch("FF_order_history" to false)`.

## 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.