axiom-macos — скилл для Claude Code: разработка macOS-приложений
Скилл для macOS-разработки: окна, меню, песочница, распространение, мосты в AppKit и различия SwiftUI на Mac.
npx skills add CharlesWiltgen/Axiom --skill axiom-macos -a claude-codeЧто делает axiom-macos
Скилл подключается, когда агент пишет или правит код macOS-приложения. Он разводит темы по отдельным справочникам: skills/windows.md для окон и сцен, skills/menus-and-commands.md для меню и горячих клавиш, skills/swiftui-differences.md для Table, Inspector и фокуса, skills/sandbox-and-file-access.md для App Sandbox и security-scoped bookmarks, skills/direct-distribution.md для Developer ID, нотаризации и автообновлений через Sparkle. Отдельные файлы есть под мосты в AppKit (skills/appkit-interop.md), модернизацию AppKit (skills/appkit-modernization.md), ScreenCaptureKit и перенос iOS-приложения на Mac через Catalyst.
Внутри есть дерево решений: агент сначала определяет область задачи, потом идёт в нужный файл. Часть тем вынесена в соседние скиллы — навигация и анимации в axiom-swiftui, SwiftData и CloudKit в axiom-data, конкурентность в axiom-concurrency, Keychain и шифрование в axiom-security. Если задача про песочницу или подпись, берите этот скилл; если про Keychain — соседний.
Границы важны: ScreenCaptureKit работает только на macOS, для записи экрана на iOS нужен ReplayKit из axiom-media. Ставьте, если проект собирается под Mac и вы не хотите каждый раз объяснять агенту, чем NSViewRepresentable отличается от UIViewRepresentable.
Какие задачи решает
- собрать окно с MenuBarExtra и горячими клавишами
- настроить App Sandbox и доступ к файлам через security-scoped bookmarks
- подписать приложение Developer ID и провести нотаризацию
- встроить SwiftUI-вью в существующий AppKit-код
- перенести iOS-приложение на Mac через Catalyst
Примеры запросов агенту
- добавь MenuBarExtra с таймером и командой в меню
- почему доступ к контейнеру другой команды не спрашивает разрешения
- сделай нотаризацию и автообновление через Sparkle
Как установить axiom-macos
1Через Skills CLI (Vercel)
npx skills add CharlesWiltgen/Axiom --skill axiom-macos -a claude-code2Вручную: положить файлы
~/.claude/skills/axiom-macos/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/axiom-macos/
1Через Skills CLI (Vercel)
npx skills add CharlesWiltgen/Axiom --skill axiom-macos -a codex2Вручную: положить файлы
.agents/skills/axiom-macos/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add CharlesWiltgen/Axiom --skill axiom-macos -a cursor2Вручную: положить файлы
.cursor/skills/axiom-macos/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install CharlesWiltgen/Axiom axiom-macos2Вручную: положить файлы
.github/skills/axiom-macos/SKILL.md1Через Skills CLI (Vercel)
npx skills add CharlesWiltgen/Axiom --skill axiom-macos -a gemini-cli2Командой платформы
gemini skills install https://github.com/CharlesWiltgen/Axiom --path axiom-codex/skills/axiom-macosВручную: положить файлы
.devin/skills/axiom-macos/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add CharlesWiltgen/Axiom --skill axiom-macos -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о axiom-macos
Как установить axiom-macos в Claude?
Выполните npx skills add CharlesWiltgen/Axiom --skill axiom-macos -a claude-code. Скилл окажется в ~/.claude/skills/axiom-macos/SKILL.md.
Что делает axiom-macos?
Даёт агенту справочники по macOS-разработке: окна и сцены, меню и команды, песочница и доступ к файлам, распространение и нотаризация, мосты в AppKit, ScreenCaptureKit, перенос iOS-приложения на Mac.
Чем axiom-macos отличается от axiom-swiftui?
Первый закрывает только macOS-специфику: окна, меню, песочницу, распространение, Table, Inspector, мосты в AppKit. Второй — кросс-платформенный SwiftUI: навигация, раскладка, состояние, анимации. В проекте с NavigationSplitView и Table нужны оба.
Исходный текст
SKILL.md · MIT
---
name: axiom-macos
description: Use when building ANY macOS app — windows, menus, sandboxing, distribution, AppKit bridging or modernization (control events, state restoration, concentric corners), or macOS-specific SwiftUI patterns.
license: MIT
---
# macOS Development
**You MUST use this skill for ANY macOS-specific development including windows, menus, sandboxing, distribution, AppKit bridging, and macOS SwiftUI differences.**
## Quick Reference
| Symptom / Task | Reference |
|----------------|-----------|
| Window management (WindowGroup, Window, MenuBarExtra, DocumentGroup) | See `skills/windows.md` |
| Menu bar, commands, keyboard shortcuts | See `skills/menus-and-commands.md` |
| Table, Inspector, NavigationSplitView, focus | See `skills/swiftui-differences.md` |
| App Sandbox, file access, security-scoped bookmarks | See `skills/sandbox-and-file-access.md` |
| Another team's app or app group container access denied without a prompt (`OS27`) | See `skills/sandbox-and-file-access.md` |
| Developer ID, notarization, Sparkle auto-updates | See `skills/direct-distribution.md` |
| NSViewRepresentable, NSHostingController, AppKit bridging, @Observable in AppKit, NSHostingMenu, SwiftUI scenes from AppKit | See `skills/appkit-interop.md` |
| Modernizing AppKit: mouseDown replacement, control events, status-item sessions, state restoration, concentric corners, touch (`OS27`) | See `skills/appkit-modernization.md` |
| Screen recording, sharing, or capture (ScreenCaptureKit) | See `skills/screencapturekit.md` |
| SCStream / SCContentFilter / screenshots / file recording API, clip buffering, recording editor (`OS27`) | See `skills/screencapturekit-ref.md` |
| Bring an iOS app to Mac: Catalyst adoption, Designed for iPad, Mac availability opt-out | See `skills/ios-apps-on-mac.md` |
| Apple Pay on Mac / Catalyst | See `axiom-payments/skills/apple-pay.md` (Catalyst section) |
## Cross-Suite Routes
These topics overlap with macOS development but live in separate suites:
#### SwiftUI (shared iOS/macOS)
- View state, data flow, @Observable → See axiom-swiftui
- Navigation (NavigationStack basics) → See axiom-swiftui (skills/nav.md)
- Layout (ViewThatFits, AnyLayout) → See axiom-swiftui (skills/layout.md)
- Animations → See axiom-swiftui (skills/animation-ref.md)
#### Data & persistence
- SwiftData, Core Data, GRDB → See axiom-data
- CloudKit sync → See axiom-data
#### Concurrency
- Swift 6 concurrency, actors, Sendable → See axiom-concurrency
#### Other
- Accessibility (VoiceOver, Dynamic Type) → See axiom-accessibility
- Networking (URLSession, Network.framework) → See axiom-networking
- Security (Keychain, passkeys, encryption) → See axiom-security
## Conflict Resolution
**axiom-macos vs axiom-swiftui**: When working on a macOS SwiftUI app:
1. **Use axiom-macos** for macOS-only concerns: windows, menus, commands, sandboxing, distribution, Table, Inspector, AppKit bridging
2. **Use axiom-swiftui** for cross-platform SwiftUI: navigation, layout, state management, animations
3. **Both may apply**: A macOS app using NavigationSplitView with Table needs axiom-macos for Table specifics and axiom-swiftui for NavigationSplitView basics
**axiom-macos vs axiom-security**: For sandbox and code signing:
1. **Use axiom-macos** for macOS App Sandbox, security-scoped bookmarks, file access entitlements, Developer ID signing
2. **Use axiom-security** for Keychain storage, encryption, passkeys, certificate management
## Decision Tree
```dot
digraph macos {
start [label="macOS development task" shape=ellipse];
what [label="What area?" shape=diamond];
start -> what;
what -> "skills/windows.md" [label="windows/scenes"];
what -> "skills/menus-and-commands.md" [label="menus/commands/shortcuts"];
what -> "skills/swiftui-differences.md" [label="Table/Inspector/focus/macOS SwiftUI"];
what -> "skills/sandbox-and-file-access.md" [label="sandbox/file access"];
what -> "skills/direct-distribution.md" [label="distribution/notarization/updates"];
what -> "skills/appkit-interop.md" [label="AppKit bridging"];
what -> "skills/appkit-modernization.md" [label="modernize AppKit\n(input/restoration/27 look)"];
what -> "skills/ios-apps-on-mac.md" [label="iOS app to Mac\n(Catalyst / Designed for iPad)"];
what -> "skills/screencapturekit.md" [label="screen capture/\nrecording/sharing"];
what -> "axiom-swiftui" [label="cross-platform SwiftUI"];
what -> "axiom-security" [label="Keychain/encryption"];
}
```
> **iOS screen capture?** ScreenCaptureKit is macOS-only. For iOS screen recording, use ReplayKit — see axiom-media.
## Resources
**WWDC**: 2021-10062, 2022-10061, 2022-10075, 2023-10148, 2024-10149, 2026-272, 2026-289
**Docs**: /security/app-sandbox, /swiftui/windowgroup, /swiftui/table
**Skills**: axiom-swiftui, axiom-security, axiom-concurrency, axiom-uikit
© CharlesWiltgen · MIT · CharlesWiltgen/Axiom