ios-clean

Remove the DebugBridge SPM package and #if DEBUG wiring from iOS apps.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/AlejandroFigini/artist-portfolio --skill ios-clean-alejandrofigini
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-clean
Source: https://github.com/AlejandroFigini/artist-portfolio/tree/main/.agent/skills/ios-clean
Command: npx skills add https://github.com/AlejandroFigini/artist-portfolio --skill ios-clean-alejandrofigini

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove the iOS DebugBridge instrumentation and all #if DEBUG wiring from an app to prepare for production, reducing noise and potential performance impact.

Core Features & Use Cases

  • Remove the DebugBridge SPM package from the iOS project.
  • Strip all #if DEBUG blocks and related instrumentation across source files.
  • Ensure release builds are clean and CI checks pass when shipping to users.

Quick Start

Run this skill on your iOS project to purge DebugBridge and DEBUG-only code, then rebuild for a clean release.

Frequently Asked Questions about ios-clean

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove #if DEBUG blocks from an iOS project for a clean release?

To strip #if DEBUG blocks from an iOS project, this skill removes the DebugBridge SPM package and purges all related wiring across Swift and ObjC source files to produce a clean release build.

Why does DebugBridge instrumentation impact iOS release builds?

DebugBridge instrumentation impacts iOS release builds by introducing unnecessary noise and potential performance overhead into the production application through active debug wiring and #if DEBUG code blocks.

Do I need gstack tooling to strip iOS debug wiring from my Xcode project?

Yes, you need gstack tooling to strip iOS debug wiring from your Xcode project because this skill requires the gstack toolset to perform the DebugBridge SPM package removal and source file cleanup.

Can I use this cleanup skill on iOS projects using SwiftPM configuration?

Yes, you can use this cleanup skill on iOS projects using SwiftPM configuration because it specifically targets Xcode projects utilizing Swift and ObjC with SwiftPM package management setup.

What is the best way to remove the DebugBridge SPM package from an iOS app?

The best way to remove the DebugBridge SPM package from an iOS app is to run this skill, which purges the package dependency and automatically strips all related debug instrumentation across the source files.

When should I not use automated debug code stripping for iOS apps?

You should not use automated debug code stripping when you still need active DebugBridge instrumentation for ongoing development, because this skill permanently removes the SPM package and #if DEBUG wiring for production builds.