macos-release
БесплатноЗапускает вложенные скриптыНе проверенThis skill should be used when the user asks to "sign a Mac app", "notarize a DMG", "publish a macOS release", "fix a Mac download", or verify or rotate a…
от fcakyon★ 1 223 звезды на GitHubОб этом скилле
macOS release
Use the project's release script on its supported Mac runner. Direct downloads use Developer ID and the Apple notary service. App Store and TestFlight have their own release paths.
Before building
- Check the latest public release, the web download URL and the installed app's
SUFeedURLandSUPublicEDKey. Record the expected display name, DMG filename, version, build number and architectures. A new release needs a higher build number than the app it replaces. - Confirm the Mac runner works, Xcode tools are available, and the Developer ID Application identity and Apple notary credentials work in the same user and keychain context as the release. Use the configured CI secrets or Keychain profile. If a hosted runner cannot start, use the project's authorized Mac runner with an isolated checkout. If a profile is rejected, check the team and key or password used by that profile before building again.
- Keep the Apple signing identity, Apple notary credentials, publication token and Sparkle private key separate. Pass existing secrets through the release runner's secret store and temporary files with restricted access. Keep them out of chat, command logs and source. If a credential is missing, use the available secure input mechanism.
Sign, notarize and publish
- Sign nested code, then the app bundle, with Developer ID Application. Use a secure timestamp and Hardened Runtime on executable targets. Check required entitlements, the bundle ID, version and architecture on the built app.
- If the release needs a stapled ticket on the inner app, submit a ZIP made with
ditto -c -k --keepParent, wait until accepted, then staple the app before packaging. Sign the finished DMG, submit it and staple its own ticket. If the submission is still in progress, resume it by ID. If Apple rejects it, read its notary log before retrying. - Generate the Sparkle enclosure from the final stapled archive, since stapling changes the bytes. Use the exact published filename and versioned URL, byte length and EdDSA signature. Verify the signature against the key embedded in the app. Apply any signed-feed policy already used by installed releases.
- Publish the archive before making the feed or website point to it. Fetch the public artifact from the same link users click. Check the response filename, compare its SHA-256 with the verified artifact, and verify the public feed refers to those bytes. Test installation or relaunch on a suitable test Mac when the release changes installation behavior.
Verify the artifact
Run on macOS for a DMG with one app at its top level. Run the command from this skill directory or use the script’s full path. Pass the appcast when the project uses Sparkle.
bash scripts/verify-dmg.sh --bundle-name Product.app --executable-name Product Product.dmg appcast.xml
The script mounts the image read-only and checks the disk image signature, stapled ticket, Gatekeeper assessment and app signature. Use --bundle-name for the actual app filename Finder should show. The DMG filename and display metadata can pass while the mounted app still has an old name. With an appcast, the script also checks the enclosure's filename, version, build, size and EdDSA signature. Open the mounted image on a test Mac after a layout change and check that the next action is obvious.
Correct a public filename or rotate a key
For a product rename, use --executable-name when the process name is part of the release contract. Upgrade the previous signed build in its original folder and check the running bundle URL and executable after relaunch. Exercise the disk image and updater separately when they own different install paths. Preserve the signing identity, bundle identifier and existing grants for a branding change. Verify that an occupied destination survives and a failed relaunch leaves a usable installation.
- A filename-only change can reuse the signed and stapled bytes. Upload the correct filename, confirm the digest and
Content-Disposition, then update the download links, appcast enclosure and future packaging. Preserve existing versioned download links when bookmarks or cached feeds still use them. - If the Sparkle private key is unavailable, check the installed Sparkle version and configuration before choosing a migration. For supported Developer ID app updates, keep the trusted Apple signing identity while changing the Sparkle key. Pre-extraction verification requires a Developer ID-signed DMG for that fallback. Signed feeds have additional restrictions. Verify an upgrade from the actual previous public build in an isolated fixture before publishing a rotation. A signature that verifies with the new bundle's key alone does not prove old clients can upgrade.
Apple notarization guide · Sparkle publishing guide · [Sparkle key
Установить macos-release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл macos-release?
This skill should be used when the user asks to "sign a Mac app", "notarize a DMG", "publish a macOS release", "fix a Mac download", or verify or rotate a Sparkle update key.
Как установить скилл macos-release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл macos-release запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic