debug-menu
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.
npx skills add rshankras/claude-code-apple-skills --skill debug-menu --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- When This Skill Activates
- Pre-Generation Checks
- 1. Project Context Detection
- 2. Conflict Detection
- 3. Feature Flags Detection
- Configuration Questions
- Generation Process
- Step 1: Read Templates
- Step 2: Create Core Files
- Step 3: Create Section Files
- Step 4: Create Trigger Files
- Step 5: Create Action Files
- Step 6: Determine File Location
- Output Format
What does the debug-menu skill do?
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.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill debug-menu --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
