Skip to content
Skills Library
Programming · Building & coding

mac-app

/mac-app

Mac apps that open at login in the menu bar only, one window, template icon, versioned installs. Use for any macOS app.

Repository
ccm-stack ↗
Licence
MIT
Last repository change
10.11.2026

Assessment and security

85/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content20 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Mac apps that open at login in the menu bar only, one window, template icon, versioned installs. Use for any macOS app.

Original author description

Mac apps that open at login in the menu bar only, one window, template icon, versioned installs. Use for any macOS app.

How it works

  1. Opened at login: menu bar only
  2. One window
  3. The menu bar icon
  4. Every build is a version
  5. Prove it
Original SKILL.md headings · 32 lines, 296 words
SKILL.md preview
---
name: mac-app
description: Mac apps that open at login in the menu bar only, one window, template icon, versioned installs. Use for any macOS app.
---

# Mac apps done right

The reference is open source: [Cleaner](https://github.com/ciro-maciel/cleaner), a Swift Mac app by Ciro Cesar Maciel that follows every rule below.

## Opened at login: menu bar only

When macOS opens the app at login, show only the menu bar icon: no window, no welcome screen, no permission prompt. When the person opens it from Finder or Spotlight, show the window.

Detect a login launch at the top of `applicationDidFinishLaunching`, and guard every window shown at launch:

- The launch Apple Event carries the login-item mark (`keyAELaunchedAsLogInItem`) when macOS opened the app at login.
- `SMAppService.mainApp` does not always set it, so also count as login a launch while the login item is enabled and the Mac has been up for less than ten minutes.

See [`LoginLaunch.swift`](https://github.com/ciro-maciel/cleaner/blob/main/Sources/Cleaner/UI/LoginLaunch.swift) in Cleaner.

## One window

Settings, history and the rest are items in the window's sidebar, grouped under labels, not separate windows. No "About" window: the app name, version and author are already in the sidebar footer. Dialogs open inside the window.

## The menu bar icon

An 18 x 18 pt template image (`isTemplate = true`), so macOS colors it for light, dark and highlighted menu bars. A solid square with the app's letter cut out reads at that size; a detailed logo does not.

## Every build is a version

Every installer you produce gets a new version number and replaces the app in `/Applications`, so what the person runs is always what you built. Never hand them a build with the same version as the last one.

## Prove it

Turn on "Open at Login", restart the Mac (or log out and in), and confirm that only the menu bar icon appears. Then open the app from Spotlight and confirm the window appears.

Versions

RepositoryScoreLicence
This page · ciro-maciel/ccm-stack85MIT
workflowsdiy/bama-light100MIT
onder007/mac-app-skill90MIT

Database snapshot: 13.11.2026 · package version 6350be6fc008 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100macos-capabilities
    Expert guidance on macOS platform capabilities. Covers sandboxing, app extensions, menu bar apps, and background execution. Use when implementing system integration features.
  • 90macos
    Use when building Mac apps — menu bar extras, window management, AppKit integration, or notarized distribution outside the App Store.
  • 100new-mac-app
    Create a native macOS SwiftUI app from a working template (Swift package, SwiftData, build script, icon script, snapshot mode, git), with no Xcode GUI. Use when the user wants to start a new Mac app or scaffold a macOS project.
  • 100new-mac-app
    Create a native macOS SwiftUI app from a working template (Swift package, SwiftData, build script, icon script, snapshot mode, git), with no Xcode GUI. Use when the user wants to start a new Mac app or scaffold a macOS project.
  • 100macos-menubar-swiftui
    Use when building, refactoring, or debugging a macOS menu bar app with SwiftUI, or when a MenuBarExtra misbehaves — the icon renders wrong or vanishes, the Settings window opens behind other apps, the popover cannot be closed, controls inside a .menu style do not render, the…
  • 95macos-native
    Native macOS development with AppKit, Catalyst, and macOS-specific APIs. Use when building Mac-native apps, menu bar apps, system extensions, or macOS-specific features.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.