Build Run Debug
robinebers/openusage
Build, run, and debug local macOS apps and desktop executables using shell-first Xcode and Swift workflows.
Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.
$ npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Dimillian/Skills macos-spm-app-packaging --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Dimillian/Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/macos-spm-app-packaging .claude/skills/macos-spm-app-packaging && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "macos-spm-app-packaging" agent skill from https://github.com/Dimillian/Skills/tree/main/macos-spm-app-packaging into .claude/skills/macos-spm-app-packaging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "macos-spm-app-packaging", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Dimillian/Skills/tree/main/macos-spm-app-packagingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Dimillian/Skills macos-spm-app-packaging --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Dimillian/Skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/macos-spm-app-packaging .agents/skills/macos-spm-app-packaging && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "macos-spm-app-packaging" agent skill from https://github.com/Dimillian/Skills/tree/main/macos-spm-app-packaging into .agents/skills/macos-spm-app-packaging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "macos-spm-app-packaging", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Dimillian/Skills macos-spm-app-packaging --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Dimillian/Skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/macos-spm-app-packaging .cursor/skills/macos-spm-app-packaging && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "macos-spm-app-packaging" agent skill from https://github.com/Dimillian/Skills/tree/main/macos-spm-app-packaging into .cursor/skills/macos-spm-app-packaging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "macos-spm-app-packaging", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Dimillian/Skills.git --path macos-spm-app-packaging--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Dimillian/Skills macos-spm-app-packaging --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Dimillian/Skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/macos-spm-app-packaging .gemini/skills/macos-spm-app-packaging && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "macos-spm-app-packaging" agent skill from https://github.com/Dimillian/Skills/tree/main/macos-spm-app-packaging into .gemini/skills/macos-spm-app-packaging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "macos-spm-app-packaging", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Dimillian/Skills macos-spm-app-packagingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Dimillian/Skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/macos-spm-app-packaging .github/skills/macos-spm-app-packaging && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "macos-spm-app-packaging" agent skill from https://github.com/Dimillian/Skills/tree/main/macos-spm-app-packaging into .github/skills/macos-spm-app-packaging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "macos-spm-app-packaging", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Dimillian/Skills macos-spm-app-packaging --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Dimillian/Skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/macos-spm-app-packaging .opencode/skills/macos-spm-app-packaging && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "macos-spm-app-packaging" agent skill from https://github.com/Dimillian/Skills/tree/main/macos-spm-app-packaging into .opencode/skills/macos-spm-app-packaging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "macos-spm-app-packaging", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
macos-spm-app-packagingScaffold, build, and package SwiftPM-based macOS apps without an Xcode project.
macOS Spm App Packaging is an agent skill from Dimillian/Skills. Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project. Use when you need a from-scratch macOS app layout, SwiftPM targets/resources, a custom .app bundle assembly script, or signing/notarization/appcast steps outside Xcode.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 24 other files, including reference files and assets (for example `agents/openai.yaml`, `assets/templates/build_icon.sh` and `assets/templates/compile_and_run.sh`).
It sits in Mobile, covering iOS development. It works with macOS, Xcode and Swift. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 05ba982. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Shell and Swift, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
swiftxcrunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
macOS Spm App Packaging loads about 1.2k tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 405 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Dimillian/Skills at commit 05ba982, republished under its MIT licence (© Dimillian). 405 words, ~1,213 tokens.
.claude/skills/macos-spm-app-packaging/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.Bootstrap a complete SwiftPM macOS app folder, then build, package, and run it without Xcode. Use assets/templates/bootstrap/ for the starter layout and references/packaging.md + references/release.md for packaging and release details.
Bootstrap the project folder
assets/templates/bootstrap/ into a new repo.MyApp in Package.swift, Sources/MyApp/, and version.env.APP_NAME, BUNDLE_ID, and versions.Build, package, and run the bootstrapped app
assets/templates/ into your repo (for example, Scripts/).swift build and swift test.Scripts/package_app.sh.Scripts/compile_and_run.sh (preferred) or Scripts/launch.sh.Scripts/sign-and-notarize.sh and Scripts/make_appcast.sh.Shortest path from bootstrap to a running app:
# 1. Copy and rename the skeleton
cp -R assets/templates/bootstrap/ ~/Projects/MyApp
cd ~/Projects/MyApp
sed -i '' 's/MyApp/HelloApp/g' Package.swift version.env
# 2. Copy scripts
cp assets/templates/package_app.sh Scripts/
cp assets/templates/compile_and_run.sh Scripts/
chmod +x Scripts/*.sh
# 3. Build and launch
swift build
Scripts/compile_and_run.shRun these after key steps to catch failures early before proceeding to the next stage.
After packaging (Scripts/package_app.sh):
# Confirm .app bundle structure is intact
ls -R build/HelloApp.app/Contents
# Check that the binary is present and executable
file build/HelloApp.app/Contents/MacOS/HelloAppAfter signing (Scripts/sign-and-notarize.sh or ad-hoc dev signing):
# Inspect signature and entitlements
codesign -dv --verbose=4 build/HelloApp.app
# Verify the bundle passes Gatekeeper checks locally
spctl --assess --type execute --verbose build/HelloApp.appAfter notarization and stapling:
# Confirm the staple ticket is attached
stapler validate build/HelloApp.app
# Re-run Gatekeeper to confirm notarization is recognised
spctl --assess --type execute --verbose build/HelloApp.app| Symptom | Likely Cause | Recovery |
|---|---|---|
The software asset has already been uploaded | Duplicate submission for same version | Bump BUILD_NUMBER in version.env and repackage. |
Package Invalid: Invalid Code Signing Entitlements | Entitlements in .entitlements file don't match provisioning | Audit entitlements against Apple's allowed set; remove unsupported keys. |
The executable does not have the hardened runtime enabled | Missing --options runtime flag in codesign invocation | Edit sign-and-notarize.sh to add --options runtime to all codesign calls. |
| Notarization hangs / no status email | xcrun notarytool network or credential issue | Run xcrun notarytool history to check status; re-export App Store Connect API key if expired. |
stapler validate fails after successful notarization | Ticket not yet propagated | Wait ~60 s, then re-run xcrun stapler staple. |
assets/templates/package_app.sh: Build binaries, create the .app bundle, copy resources, sign.assets/templates/compile_and_run.sh: Dev loop to kill running app, package, launch.assets/templates/build_icon.sh: Generate .icns from an Icon Composer file (requires Xcode install).assets/templates/sign-and-notarize.sh: Notarize, staple, and zip a release build.assets/templates/make_appcast.sh: Generate Sparkle appcast entries for updates.assets/templates/setup_dev_signing.sh: Create a stable dev code-signing identity.assets/templates/launch.sh: Simple launcher for a packaged .app.assets/templates/version.env: Example version file consumed by packaging scripts.assets/templates/bootstrap/: Minimal SwiftPM macOS app skeleton (Package.swift, Sources/, version.env).CFBundleVersion), so BUILD_NUMBER in version.env must increase for each update.MENU_BAR_APP=1 when packaging to emit LSUIElement in Info.plist.© Dimillian, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 17 other files (references, assets) in macos-spm-app-packaging of Dimillian/Skills.
Open the folder on GitHubat commit 05ba982
We found 14 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in Dimillian/Skills, which our catalogue first saw on October 7, 2026.
macOS Spm App Packaging next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| macOS Spm App Packaging this skillDimillian/Skills | 4k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Build Run Debugrobinebers/openusage | 4.3k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Bootstrap iOSRayFernando1337/rayfernando-skills | 130 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| macOS Build Run Debugrobinebers/openusage | 4.3k | — | ~1.8k | Automated safety check: Pass | MIT | |
| macOS Swiftpmrobinebers/openusage | 4.3k | — | ~344 | Automated safety check: Pass | MIT | |
| macOS Test Triagerobinebers/openusage | 4.3k | — | ~393 | Automated safety check: Pass | MIT |
robinebers/openusage
Build, run, and debug local macOS apps and desktop executables using shell-first Xcode and Swift workflows.
RayFernando1337/rayfernando-skills
Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work.
robinebers/openusage
Build, run, and debug macOS apps with shell-first Xcode and Swift workflows.
robinebers/openusage
Build, run, and test SwiftPM macOS packages and executables.
robinebers/openusage
Triage macOS tests across Xcode and SwiftPM. An agent skill from robinebers/openusage.
robinebers/openusage
Triage failing macOS tests across Xcode and SwiftPM workflows.
Dimillian/Skills
Analyze and optimize React component performance issues (slow renders, re-render thrash, laggy lists, expensive computations).
Dimillian/Skills
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage.
Dimillian/Skills
Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive layouts with stacks and grids.
Dimillian/Skills
Swift Concurrency review and remediation for Swift 6.2+. An agent skill from Dimillian/Skills.
Dimillian/Skills
Interact with GitHub using the gh CLI. An agent skill from Dimillian/Skills.
Dimillian/Skills
Build, refactor, or review macOS menubar apps that use Tuist and SwiftUI.
Categories
Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project. macOS Spm App Packaging is an agent skill from Dimillian/Skills. Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.
macOS Spm App Packaging fits situations like: you need a from-scratch macOS app layout; swiftPM targets/resources; A custom .app bundle assembly script; signing/notarization/appcast steps outside Xcode.
Run `npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a claude-code`. Or copy the skill folder (macos-spm-app-packaging in Dimillian/Skills) into .claude/skills/macos-spm-app-packaging in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a codex`. Or copy the skill folder (macos-spm-app-packaging in Dimillian/Skills) into .agents/skills/macos-spm-app-packaging in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Dimillian/Skills --skill macos-spm-app-packaging -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/macos-spm-app-packaging, .gemini/skills/macos-spm-app-packaging, .github/skills/macos-spm-app-packaging and .opencode/skills/macos-spm-app-packaging in your project.
Going by SKILL.md and its folder, macOS Spm App Packaging needs a shell and Swift for the scripts in its folder and the command-line tools its instructions call (swift and xcrun). Our summary lists: A Bash shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
macOS Spm App Packaging is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 925 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with macOS Spm App Packaging: Build Run Debug (robinebers/openusage, 4.3k stars), Bootstrap iOS (RayFernando1337/rayfernando-skills, 130 stars), macOS Build Run Debug (robinebers/openusage, 4.3k stars) and macOS Swiftpm (robinebers/openusage, 4.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Dimillian (a GitHub user) maintains it in Dimillian/Skills, which has 3,987 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on March 29, 2026.
Source: Dimillian/Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.