<< All versions
Skill v1.0.0
currentAutomated scan100/100bradwilson331/cmux-linux/cmux-debug-windows
──Details
PublishedNovember 5, 2026 at 05:30 AM
Content Hashsha256:c0ab96ff97df2bbe...
Git SHA17d508821b76
──Files
Files (1 file, 2.0 KB)
SKILL.md2.0 KBactive
SKILL.md · 54 lines · 2.0 KB
name: cmux-debug-windows description: Manage cmux debug windows and related debug menu wiring for Sidebar Debug, Background Debug, and Menu Bar Extra Debug. Use this when the user asks to open/tune these debug controls, add or adjust Debug menu entries, or capture/copy a combined debug config snapshot. metadata: version: "1.0.0"
cmux Debug Windows
Keep this workflow focused on existing debug windows and menu entries. Do not add a new utility/debug control window unless the user asks explicitly.
Workflow
- Verify debug menu wiring in
Sources/cmuxApp.swiftunderCommandMenu("Debug").
- Menu path in app:
Debug→Debug Windows→ window entry. - The
Debugmenu only exists in DEBUG builds (./scripts/reload.sh --tag ...). - Release builds (
reloadp.sh,reloads.sh) do not show this menu.
- Keep these actions available in
Menu("Debug Windows"):
Sidebar Debug…Background Debug…Menu Bar Extra Debug…Open All Debug Windows
- Reuse existing per-window copy buttons (
Copy Config) in each debug window before adding new UI. - For one combined payload, run:
bash
skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --copy
- After code edits, run build + tagged reload:
bash
xcodebuild -project GhosttyTabs.xcodeproj -scheme cmux -configuration Debug -destination 'platform=macOS' build./scripts/reload.sh --tag <tag>
Key Files
Sources/cmuxApp.swift: Debug menu entries and debug window controllers/views.Sources/AppDelegate.swift: Menu bar extra debug settings payload and defaults keys.
Script
scripts/debug_windows_snapshot.sh
Purpose:
- Reads current debug-related defaults values.
- Prints one combined snapshot for sidebar/background/menu bar extra.
- Optionally copies it to clipboard.
Examples:
bash
skills/cmux-debug-windows/scripts/debug_windows_snapshot.shskills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --copyskills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --domain <bundle-id> --copy