apollo-check
**Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project…
**Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project (`xcodebuild -list -json` for the scheme, `git`/`gh` for repo & owner, the branch name for the Jira key, a codebase
> /plugin marketplace add carloshpdoc/ios-workflow-claudeHow it fires
How this command gets triggered: by you, by Claude, or both.
/feature-flag-checkContext preview
What this command does when you run it.
**Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project (`xcodebuild -list -json` for the scheme, `git`/`gh` for repo & owner, the branch name for the Jira key, a codebase
> **Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project (`xcodebuild -list -json` for the scheme, `git`/`gh` for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config.
Investigate the feature flag **$ARGUMENTS** and produce a detailed investigation for removal.
**Output:** Creates an investigation file at `docs/feature-flags/issues/$ARGUMENTS.md` that serves as the "issue" for this cleanup. The `/feature-flag-remove` command will read this investigation before executing the removal.
Search for the flag in RemoteConfig files:
Grep: "$ARGUMENTS" in <flag-key-file> Grep: "$ARGUMENTS" in <flag-defaults-file>.swift
Document:
Search for all code using this flag:
Grep: "<flag-key-enum>.$ARGUMENTS" in *.swift Grep: ".$ARGUMENTS" in *.swift (for shorthand usage) Grep: the flag's string key in all files
For each usage, note:
For each flag usage, trace what code is affected:
**If flag guards a feature:**
**If flag guards a UI element:**
**If flag guards a string/config value:**
Ask user to verify in Firebase Console:
Based on the flag's permanent value, identify:
Search for tests that reference this flag:
Grep: "$ARGUMENTS" in <scheme>Tests/ Grep: MockRemoteConfig with flag setup
Note which tests need updating vs deletion.
Rate the cleanup complexity:
| Complexity | Criteria | |------------|----------| | **Low** | String config, simple bool, <5 usages, no UI | | **Medium** | Feature toggle, 5-15 usages, some UI, some tests | | **High** | Major feature, >15 usages, full module, many tests |
Create `docs/feature-flags/issues/$ARGUMENTS.md`:
# Investigation: $ARGUMENTS > Generated: <date> > Complexity: <Low/Medium/High> ## Flag Definition | Property | Value | |----------|-------| | <flag-key-enum> | `$ARGUMENTS` | | Type | <Bool/String/Int> | | Default Value | <value> | | Production Value | <value> (verify in Firebase) | ## Current Usages (<count>) | File | Line | Usage | |------|------|-------| | ... | ... | ... | ## Affected Code ### Files to Delete | File | Purpose | Lines | |------|---------|-------| | ... | ... | ... | ### Files to Modify | File | Change Required | |------|-----------------| | ... | ... | ### Tests to Update | Test File | Change | |-----------|--------| | ... | ... | ## Removal Plan 1. <step 1> 2. <step 2> ... ## Risks - <any risks or dependencies to watch> ## Recommendation <SAFE TO REMOVE / NEEDS DISCUSSION / BLOCKED BY X>
Add the flag to "In-Progress" section of `docs/feature-flags/status.md` if user wants to proceed.
Reusable Claude Code slash-commands, skills, and workflows extracted from real iOS / backend projects. Packaged as three installable plugins - register the marketplace and /plugin install what you need.
Repo: carloshpdoc/ios-workflow-claude
**Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project…
**Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project…
**Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project…
**Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project…
**Project context:** Values in angle brackets below (e.g. `<scheme>`, `<JIRA_KEY>`, `<flag-key-enum>`) are resolved at runtime — detect them from the project…
Bump the app version or build number across all targets in the current project.