debug-menu

Generate a self-contained in-app debug menu for native iOS and macOS Swift apps.

27|5|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/bocan/bocan-music --skill debug-menu-bocan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug-menu
Source: https://github.com/bocan/bocan-music/tree/main/.claude/skills/generators/debug-menu
Command: npx skills add https://github.com/bocan/bocan-music --skill debug-menu-bocan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers building native iOS and macOS apps need quick access to debug tools like feature flag toggles and network logs without leaving the app, but building these tools from scratch is time-consuming and risks shipping debug code to production if not properly isolated.

Core Features & Use Cases

  • Runtime Feature Flag Toggles: Enable or disable app features on the fly without rebuilding the app, ideal for testing new features in development.
  • API Environment Switching: Seamlessly switch between development, staging, and production API endpoints to test integrations in different environments.
  • Network Request Logging: View recent API requests, status codes, response headers, and body previews to troubleshoot connectivity or data issues.
  • Diagnostic Tools: Export full device and app diagnostic reports, trigger test crashes for crash reporting validation, and clear caches or UserDefaults with one tap.
  • Use Case: A developer testing a new onboarding flow can toggle the feature flag directly in the debug menu, switch to the staging API environment, and review network logs to verify all onboarding API calls are working correctly, all without rebuilding the app.

Quick Start

Use the debug-menu skill to generate a complete in-app debug menu with shake-to-activate support for your Swift iOS or macOS app.

Frequently Asked Questions about debug-menu

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

FAQPage Schema
How do I add an in-app debug menu to my iOS app without shipping debug code to production?

You can generate a self-contained in-app debug menu for native Swift apps with all code wrapped in #if DEBUG compilation conditions, ensuring debug functionality never ships to production builds.

How do I toggle feature flags at runtime in my Swift app without rebuilding?

Runtime feature flag toggles can be generated directly in the debug menu, allowing you to enable or disable app features on the fly during iOS and macOS development without recompiling.

Can I switch between staging and production API environments in my Swift app during development?

Yes, API environment switching is a core feature of the debug menu, allowing you to seamlessly switch between development, staging, and production API endpoints to test integrations.

How do I view network request logs inside my running iOS app to troubleshoot API calls?

Network request logging in the debug menu lets you view recent API requests, status codes, response headers, and body previews to troubleshoot connectivity or data issues natively.

What's the best way to generate diagnostic reports and trigger test crashes in a macOS app?

The debug menu provides diagnostic tools to export full device and app diagnostic reports, trigger test crashes for crash reporting validation, and clear caches or UserDefaults with one tap.

Does the debug menu work with both iOS and macOS Swift apps?

Yes, the debug menu is designed for native iOS and macOS Swift apps, applying to development workflows requiring runtime feature flag management and diagnostic data export across both platforms.