debug-menu

Featured

Generates a developer debug menu with feature flag toggles, environment switching, network log viewer, cache clearing, crash trigger, and diagnostic info export. Only included in DEBUG builds. Use when user wants a debug panel, dev tools menu, or shake-to-debug functionality.

Code & Development 565 stars 47 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
92
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Debug Menu Generator Generate a comprehensive developer debug menu accessible via shake gesture or hidden tap. Includes feature flag toggles, environment switching, network log viewer, cache clearing, crash trigger, and diagnostic info export. All code is wrapped in `#if DEBUG` so it never ships to production. ## When This Skill Activates Use this skill when the user: - Asks for a "debug menu" or "developer menu" - Wants "dev tools" or a "debug panel" - Mentions "shake to debug" or "diagnostic menu" - Wants to "toggle feature flags" from the app - Asks about "environment switching" (dev/staging/production) - Wants a "network log viewer" in the app ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check deployment target (iOS 17+ / macOS 14+ required for @Observable) - [ ] Check Swift version (requires Swift 5.9+) - [ ] Identify source file locations and project structure ### 2. Conflict Detection Search for existing debug/dev menu code: ``` Glob: **/*Debug*Menu*.swift, **/*DevMenu*.swift, **/*DevTools*.swift, **/*DebugPanel*.swift Grep: "DebugMenu" or "DevMenu" or "motionEnded" or "shake" in *.swift ``` If existing debug menu found: - Ask if user wants to replace or extend it - If extending, integrate new sections into existing structure ### 3. Feature Flags Detection Search for existing feature flag setup: ``` Glob: **/*FeatureFlag*.swift, **/*Feature*Toggle*.swift Grep: "FeatureFlag" or "featureFlag" or "isFeatureEnabled" ``` If found, integrate deb...

Details

Author
rshankras
Repository
rshankras/claude-code-apple-skills
Created
9 months ago
Last Updated
4 days ago
Language
Swift
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category