Codex Build a macOS Menu Bar Minesweeper with SwiftUI
Use the included SwiftUI prototype for a menu bar game and verify reveal, flags, timer, and reset.
中文Install in Codex
Use Xcode on macOS and a SwiftUI target that supports MenuBarExtra.
- Copy the pinned `skills/minesweeper-menubar/` directory into `.agents/skills/minesweeper-menubar/` in the project.
- Read `prototype/README.md` in Codex and add the prototype files to a local macOS app target using its menu bar entry point.
Example task
Use a local practice target. Confirm the first reveal is safe, flag a square, then press Reset and inspect the timer and flag count.What to check
The game opens from the menu bar, the first reveal is safe, and reset starts a new board state.
Original SKILL.md on GitHub · Updated
Frequently asked question
Does it require a separate main window?
The prototype hosts the board and controls in `MenuBarExtra`. Verify the main game flow in the menu popover first.