ios-clean

Remove DebugBridge SPM packages and conditional debug instrumentation from iOS project files.

Updated Jul 26, 2026
One-click install
npx skills add https://github.com/yocxy2/gstack3 --skill ios-clean-yocxy2
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ios-clean
Source: https://github.com/yocxy2/gstack3/tree/main/ios-clean
Command: npx skills add https://github.com/yocxy2/gstack3 --skill ios-clean-yocxy2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the removal of development-only instrumentation, such as the DebugBridge SPM package and conditional debug wiring, ensuring a clean production-ready state for your iOS application.

Core Features & Use Cases

  • Automated Cleanup: Removes DebugBridge SPM dependencies and associated #if DEBUG code blocks.
  • Safety-Critical Guard: Complements structural Release-build guards to ensure no debug code leaks into production builds.
  • Use Case: Use this when you are ready to prepare your codebase for a final release build and need to ensure all QA-specific hooks and debug overlays are completely purged from the project.

Quick Start

Invoke the ios-clean skill to remove all debug bridge instrumentation and clean up the project configuration.

Frequently Asked Questions about ios-clean

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

FAQPage Schema
How do I remove debug instrumentation from my iOS project before a release build?▼

To remove debug instrumentation from an iOS project, you can automate the deletion of DebugBridge SPM dependencies and associated conditional #if DEBUG code blocks, ensuring a clean production-ready state.

What is the best way to strip DebugBridge SPM packages from iOS project files?▼

Stripping DebugBridge SPM packages involves removing the development-specific package dependencies and cleaning up associated build-time configuration artifacts to ensure no debug code leaks into production.

Do I need shell access to clean up iOS debug code blocks and SPM dependencies?▼

Yes, you need standard shell access to modify project files and remove build-time dependencies when cleaning up iOS debug code blocks and SPM dependencies.

When should I purge conditional debug wiring from my iOS codebase?▼

You should purge conditional debug wiring when you are ready to prepare your codebase for a final release build and need to ensure all QA-specific hooks and debug overlays are completely removed.

Does removing iOS debug instrumentation affect existing release build guards?▼

Removing iOS debug instrumentation complements structural release-build guards by targeting development-specific code hooks, ensuring no debug code leaks into the production environment.

Why does my iOS production build still include DebugBridge artifacts?▼

Your iOS production build may include DebugBridge artifacts because development-specific code hooks and configuration artifacts were not purged from the project files before building.