본문으로 건너뛰기
cccskills
무료GitHub에 공개

macos-menubar-tuist-app

Build, refactor, or review macOS menubar apps using Tuist and SwiftUI. Separate data models, networking, state management, and views, then align project definitions and launch scripts for consistent local builds and restarts.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Build, refactor, or review macOS menubar apps that use Tuist and SwiftUI. Use when creating or maintaining LSUIElement menubar utilities, defining Tuist targets/manifests, implementing model-client-store-view architecture, adding script-based launch flows, or validating reliable local build/run behavior without Xcode-first workflows.

설치 방법 보기

이럴 때 유용합니다

  • Creating a macOS menubar utility
  • Separating networking and state management from views
  • Organizing Tuist project definitions
  • Maintaining local build and restart scripts

포함된 파일(2)

  • SKILL.md4.2 KB
  • agents/openai.yaml299 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

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.

Expected File Shape

Use this placement by default:

  • Project.swift: app target, settings, resources, Info.plist keys
  • Sources/*Model*.swift: API/domain models and decoding
  • Sources/*Client*.swift: requests, response mapping, transport concerns
  • Sources/*Store*.swift: observable state, refresh policy, filtering, caching
  • 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

  1. Confirm Tuist ownership
  • Verify Tuist.swift and Project.swift (or workspace manifests) exist.
  • Read existing run scripts before changing launch behavior.
  1. 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.
  1. 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.
  1. 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.
  1. 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.

Validation Matrix

Run validations after edits:

TUIST_SKIP_UPDATE_CHECK=1 tuist xcodebuild build -scheme <TargetName> -configuration Debug

If launch workflow changed:

./run-menubar.sh

If shell scripts changed:

bash -n run-menubar.sh
bash -n stop-menubar.sh
./run-menubar.sh

Failure Patterns and Fix Direction

  • tuist run cannot resolve the macOS destination: Use run/stop scripts as canonical local run path.

  • Menu UI is laggy or inconsistent after refresh: Move derived state and filtering into the store; keep views render-only.

  • API payload changes break decode: Relax model decoding with optional fields and defaults, then surface missing data safely in UI.

  • Feature asks for quick UI patch: Trace root cause in model/client/store before changing row/menu presentation.

Completion Checklist

  • Preserve menubar-only behavior unless explicitly changed.
  • Keep network and state logic out of SwiftUI view bodies.
  • Keep Tuist manifests and run scripts aligned with actual build/run flow.
  • Run the validation matrix for touched areas.
  • Report concrete commands run and outcomes.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Turn git history since a release tag or specified reference into clear App Store release notes. Identify user-visible changes, remove duplicates and internal maintenance work, and draft concise bullets that explain what changed for users.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Draft App Store What’s New text
  • Summarize changes since the last release tag
  • Create release notes for a specified commit range
Dimillian/Skills4천2026년 3월 30일 업데이트

Investigate bugs, crashes, and intermittent failures without changing code. Multiple agents examine evidence from different angles, then produce ranked possible causes, confidence levels, and the smallest steps needed to confirm the diagnosis.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Investigating the cause of a crash
  • Tracing a bug introduced by recent changes
  • Examining failures that occur intermittently
Dimillian/Skills4천2026년 3월 30일 업데이트

github

무료

Use the gh command-line tool to manage GitHub issues and pull requests, check CI automated checks, and inspect workflow failures. Retrieve failed-step logs or query the GitHub API for specific information in structured output.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Creating pull requests
  • Listing repository issues
  • Investigating failed CI checks and logs
Dimillian/Skills4천2026년 3월 30일 업데이트

Build and run an iOS project on an already running simulator using XcodeBuildMCP. Inspect screens, tap controls, enter text, and capture screenshots and logs to investigate how the app behaves while running.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Building and running an app in an iOS simulator
  • Checking screens through taps, typing, and swipes
  • Capturing screenshots to inspect the display
Dimillian/Skills4천2026년 3월 30일 업데이트

Create and package macOS apps with SwiftPM, Swift’s package manager, without an Xcode project. Templates and scripts cover project setup, building, app bundles, launching, and optional signing, Apple notarization, and update feed generation.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Starting a macOS app with SwiftPM
  • Packaging an executable and resources into an .app bundle
  • Preparing a signed and notarized release
Dimillian/Skills4천2026년 3월 30일 업데이트

Coordinate large code refactors or rewrites across multiple agents. It organizes parallel analysis, assigns clear file ownership, schedules work around dependencies, and checks individual changes and their integration against agreed requirements.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Refactoring code across many files
  • Dividing implementation work among multiple agents
  • Planning changes across dependent modules
Dimillian/Skills4천2026년 3월 30일 업데이트

Dimillian의 스킬 모두 보기

이 스킬의 문제 신고