What problem does it solve?
This Skill removes leftover debug instrumentation from iOS apps that were tested using gstack's /ios-qa skill, including the DebugBridge SPM package, all #if DEBUG code, StateServer, DebugOverlay, and accessor codegen output. This cleanup is essential to reduce app bundle size, prevent debug features from being exposed to end users, and ensure compliance with App Store production application guidelines.
Core Features & Use Cases
- Complete Debug Code Removal: Automatically strips the DebugBridge SPM package and all associated debug-only code, hooks, and generated accessor code from your iOS project.
- Pre-Release Preparation: Use this Skill after completing debug testing with gstack tools to clean all debug instrumentation before building your production release version for App Store submission.
- Safety-First Design: Uses the structural Release-build guard (Package.swift conditional + CI swift build -c release check) as the safety-critical path to avoid accidentally removing production code.
Quick Start
Use the ios-clean skill to remove all DebugBridge debug instrumentation and #if DEBUG wiring from your iOS app to prepare it for a production release build.