What problem does it solve? AI-generated macOS SwiftUI code frequently mishandles the menu bar: app actions are faked as in-window buttons, standard menus get duplicated by misnamed CommandMenu blocks, commands cannot reach the focused window's state, and hallucinated symbols like @FocusedDocument slip in. This Skill systematically detects and reports these defects in existing macOS SwiftUI projects. ## Core Features & Use Cases - Ten-rule defect index (menu-01 to menu-10): Detects missing .commands blocks, duplicated standard menus, broken @FocusedValue routing, missing .disabled guards, reserved-shortcut collisions, and ungated availability-floored command APIs. - Hybrid lint engine: Runs tier-1 ripgrep tells plus tier-2 ast-grep structural rules with a per-file parse probe, emitting unified JSON and SARIF output suitable for CI gating. - Corpus-grounded verification: Cross-checks uncertain findings against 1,857 shipping macOS apps via the swiftui-ctx CLI and Apple documentation fetched through Sosumi, reporting only 100%-certain findings. - Use Case: Point it at a macOS SwiftUI project whose menu bar was written by an AI assistant; it locates every command-routing and menu-structure defect, writes structured findings to swiftui-audits/menus-commands/, and shows the correct production pattern for each. ## Quick Start Audit my macOS SwiftUI project's menu bar, Commands, and keyboard shortcuts for correctness issues and write the findings to disk.