Removal flow that strips the DebugBridge SPM package and all #if DEBUG wiring from an iOS app.

CCM score
61 of 100
skills.sh installs
294
GitHub stars
142.6K
last updated
Nov 25, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers five removals: the DebugBridge target in Package.swift, the #if DEBUG startup block, @Snapshotable markers, generated DebugBridge/ and DebugBridgeGenerated/ directories, and the device token
  • Reverts each item only after explicit confirmation, so it works as a reversible, guided cleanup rather than a blind delete
  • Leaves app business logic, view models, view code, and anything outside #if DEBUG blocks untouched
  • Designed for developers who copied DebugBridge files manually, want a clean exit from gstack, or need a pre-audit removal

Install

$ npx -y skills add garrytan/gstack --skill ios-clean -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Shared preamble (load first)

This skill follows gstack shared preamble bddb4b7ad57b (AskUserQuestion format, voice, writing, completeness and completion rules). A section or subsection here with a shared heading replaces the shared one. Unless the next line loaded that file: if your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read ~/.claude/skills/gstack/ios-clean/sections/preamble.md in full before the command below.

!~/.claude/skills/gstack/bin/gstack-skill-load preamble ~/.claude/skills/gstack/ios-clean/sections/preamble.md

Preamble (run first)

!~/.claude/skills/gstack/bin/gstack-skill-load start --skill "ios-clean" --model "claude"

If the line above is not the start output, run this once; otherwise it already ran:

~/.claude/skills/gstack/bin/gstack-skill-start --skill "ios-clean" --model "claude"

Details

Repository
github.com/garrytan/gstack
Categories
Mobile Apps, Business, Legal & HR
License
MIT
First seen
Nov 25, 2026

More from garrytan/gstack

All 63

Similar to Ios Clean

More Mobile Apps