Start a fresh conversation. Replace the highlighted placeholders.
Use macos-menubar-tuist-app to review the Tuist-based SwiftUI menubar app at [project path] for [architecture or launch-workflow concern] and provide prioritized, concrete changes that preserve menubar-only behavior and keep networking and state outside views.
Required inputs
[project path]
[architecture or launch-workflow concern]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: macos-menubar-tuist-appdescription: Build, refactor, or review SwiftUI macOS menubar apps that use Tuist.risk: safesource: "Dimillian/Skills (MIT)"date_added: "2026-03-25"
macos-menubar-tuist-app
Build and maintain macOS menubar apps with a Tuist-first workflow and stable launch scripts. Preserve strict architecture boundaries so networking, state, and UI remain testable and predictable.
When to Use
When working on LSUIElement menubar utilities built with Tuist and SwiftUI.
When you need Tuist manifests, launch scripts, or architecture guidance for a menubar app.
Core Rules
Keep the app menubar-only unless explicitly told otherwise. Use LSUIElement = true by default.
Keep transport and decoding logic outside views. Do not call networking from SwiftUI view bodies.
Keep state transitions in a store layer (@Observable or equivalent), not in row/view presentation code.
Keep model decoding resilient to API drift: optional fields, safe fallbacks, and defensive parsing.
Treat Tuist manifests as the source of truth. Do not rely on hand-edited generated Xcode artifacts.
Prefer script-based launch for local iteration when tuist run is unreliable for macOS target/device resolution.
Prefer tuist xcodebuild build over raw xcodebuild in local run scripts when building generated projects.
Sources/*Menu*View*.swift: menu composition and top-level UI state
Sources/*Row*View*.swift: row rendering and lightweight interactions
run-menubar.sh: canonical local restart/build/launch path
stop-menubar.sh: explicit stop helper when needed
Workflow
Confirm Tuist ownership
Verify Tuist.swift and Project.swift (or workspace manifests) exist.
Read existing run scripts before changing launch behavior.
Probe backend behavior before coding assumptions
Use curl to verify endpoint shape, auth requirements, and pagination behavior.
If endpoint ignores limit/page, implement full-list handling with local trimming in the store.
Implement layers from bottom to top
Define/adjust models first.
Add or update client request/decoding logic.
Update store refresh, filtering, and cache policy.
Wire views last.
Keep app wiring minimal
Keep app entry focused on scene/menu wiring and dependency injection.
Avoid embedding business logic in App or menu scene declarations.
Standardize launch ergonomics
Ensure run script restarts an existing instance before relaunching.
Ensure run script does not open Xcode as a side effect.
Use tuist generate --no-open when generation is required.
When the run script builds the generated project, prefer TUIST_SKIP_UPDATE_CHECK=1 tuist xcodebuild build ... instead of invoking raw xcodebuild directly.