Macos Release
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install claude-codex-settings-macos-releaseWhat this does: 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.
Manual setup by platform
Claude Code
~/.claude/skills/claude-codex-settings-macos-release/SKILL.md
Instructions
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 Product.dmg appcast.xml
The script checks the disk image signature, stapled ticket and Gatekeeper assessment. It mounts the image read-only, verifies the app signature and prints its version and architecture. With an appcast, it checks the matching full enclosure's filename, version, build, byte length and EdDSA signature against the bundled public key. Inspect the result and unmount before moving on. For packages or images with a different layout, adapt the project's existing verifier.
Correct a public filename or rotate a key
- 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 rotation
Security
Reviews (0)
Related skills
Browse all →More from claude-codex-settings
View source →More Build skills
Browse category →Frequently asked questions about macos-release
What does the macos-release skill do?
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. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the macos-release skill?
Run `npx @skills-hub-ai/cli install claude-codex-settings-macos-release` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claude-codex-settings-macos-release/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does macos-release work with?
macos-release runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the macos-release skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use macos-release after installing it?
In Claude Code, type `/claude-codex-settings-macos-release` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the macos-release skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.