Back to skills
SKILL.md
Appkit Menu Bar Builder
ASecurityGenerate NSMenu and NSStatusItem configurations for macOS menu bar applications
- 1,760 stars
- 0 votes
- 0 copies
- 1 view
- Added September 2, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add a5c-ai/babysitter --skill appkit-menu-bar-builder --agent claude-codeAre you the author of Appkit Menu Bar Builder?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-appkit-menu-bar-builder-babysitter)---
name: appkit-menu-bar-builder
description: Generate NSMenu and NSStatusItem configurations for macOS menu bar applications
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [macos, appkit, menubar, statusitem, swift]
graph:
domains: [domain:software-engineering]
specializations: [specialization:desktop-development]
skillAreas: [skill-area:desktop-ui-frameworks, skill-area:desktop-system-integration]
roles: [role:desktop-developer, role:fullstack-engineer]
workflows: [workflow:feature-development, workflow:release-management]
---
# appkit-menu-bar-builder
Generate NSMenu and NSStatusItem configurations for macOS menu bar applications. This skill creates menu bar apps with proper status items, menus, and SwiftUI integration.
## Capabilities
- Create NSStatusItem menu bar apps
- Generate NSMenu configurations
- Integrate SwiftUI popovers with AppKit
- Handle menu item actions
- Configure keyboard shortcuts
- Support dynamic menu updates
- Handle light/dark mode icons
- Generate agent app configurations (LSUIElement)
## Input Schema
```json
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"appType": { "enum": ["menu-only", "popover", "window-and-menu"] },
"menuStructure": { "type": "array" },
"iconType": { "enum": ["system", "custom", "dynamic"] },
"useSwiftUI": { "type": "boolean", "default": true }
},
"required": ["projectPath"]
}
```
## Generated Code
```swift
import AppKit
import SwiftUI
class StatusBarController {
private var statusItem: NSStatusItem
private var popover: NSPopover
init() {
statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
popover = NSPopover()
popover.contentSize = NSSize(width: 300, height: 400)
popover.behavior = .transient
popover.contentViewController = NSHostingController(rootView: ContentView())
if let button = statusItem.button {
button.image = NSImage(systemSymbolName: "star.fill", accessibilityDescription: "App")
button.action = #selector(togglePopover)
button.target = self
}
}
@objc func togglePopover() {
if popover.isShown {
popover.performClose(nil)
} else if let button = statusItem.button {
popover.show(relativeTo: button.bounds, of: button, preferredEdge: .minY)
}
}
}
```
## Related Skills
- `swiftui-view-generator`
- `macos-entitlements-generator`
Files in this skill
- README.md
- SKILL.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.