Setup macOS Repository
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
End-to-end bootstrap for a native macOS desktop app repository. It resolves the UI framework, architecture, branching model and mode once, collects the app’s identity, the macOS-specific inputs and the shared pipeline parameters once, prints a setup-mode statement (from scratch, or an inventory of the prior setup it found), then orchestrates six other skills in a fixed order so nothing is asked twice.
Purpose
iru-setup-macos-repository is the macOS stack orchestrator invoked by iru-setup-repository (project type
macos-app) or run standalone. Rather than duplicating Xcode scaffolding, documentation setup, .gitignore
generation, CI/CD authoring, changelog bootstrapping or README generation, it passes each downstream skill only the
args keys that skill’s own Step 0 accepts. It always invokes the scaffold skill, even in mode: existing: every
component sub-skill announces whether it is creating or updating, warns about the prior setup it owns, and asks Update /
Keep as is / Replace per file (or applies on-existing when it arrived via args).
It only scaffolds macOS-only apps: if the manifest declares targets for more than one Apple platform it stops and points
at iru-setup-swift-repository. ui is swiftui or appkit; architecture is mvvm for SwiftUI and mvc or mvvm
for AppKit. Pipeline questions are cost-aware: visibility drives recommendations about Actions minutes, the roughly
10x macOS multiplier (macos-ci), SonarCloud pricing and GitHub Pages availability, and ci: no skips the workflows
step entirely (security block included). distribution is none, internal (Developer ID signed, notarized and
stapled DMG on GitHub Releases) or store (Mac App Store). The .gitignore step reuses
iru-setup-swift-gitignore rather than a macOS-specific skill.
Plugin
Shipped by the iru-swift plugin of the ai-catalog marketplace (install with /plugin install iru-swift@ai-catalog; see Plugins).
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
|
No |
|
Detected or asked |
|
No |
|
Detected, forced or asked |
|
No |
|
Asked; |
|
No |
|
Detected from disk |
|
No |
|
|
Identity fields ( |
Yes (unresolved ones) |
Asked in Step 2 using the keys |
None — user must supply |
|
No |
macOS-specific toggles passed through untouched if supplied. |
Left to the scaffold’s defaults |
|
No |
Shared pipeline parameters; the integration branch is skipped for |
|
|
No |
|
Asked or detected |
|
No |
Whether to generate workflows; when the macOS jobs run ( |
Asked with cost-aware recommendations |
|
No |
|
|
|
No |
|
Asked (Enforce recommended); in |
|
No |
|
Asked |
|
No |
Accepted and ignored (an app is not published as a package); noted in the report. |
None |
Outputs
-
The Xcode project scaffold — XcodeGen
project.yml, UI-freePackages/Core, the SwiftUI or AppKitApp/layer, unit and UI tests, quality configs (including.ui-quality.yml) and packaging helpers (viairu-setup-macos-app). -
A scaffolded Antora documentation site under
docs/(viairu-setup-antora). -
A root
.gitignore(viairu-setup-swift-gitignore). -
CI/CD workflows —
build.yml,release.yml,sync.yml+sync_versions.py(gitflow),security.ymland.github/dependabot.yml(viairu-setup-macos-github-workflows); none whenci: no. -
A root
CHANGELOG.md(viairu-setup-changelog) and a rootREADME.md(viairu-setup-readme). -
A final report: setup mode, resolved
ui/architecture/branching/mode, identity, license and pipeline parameters, a per-component table with the action taken (created / updated / replaced / kept as is / skipped (ci: no)), theaccessibilitylevel written to.ui-quality.yml, the consolidated required-secrets table, decisions made on the user’s behalf and an explicit warning block.
Execution flow
Dependencies
Invokes
Each of the following is invoked via the iru-isolated-skill-executor
agent rather than a direct Skill call, so only a short completion summary flows back. Every sub-agent is launched
with run_in_background: false since each step depends on the previous one’s files being on disk:
-
Setup macOS App — Step 4: writes or updates the Xcode project, Core package, UI layer, tests and packaging helpers, passing Steps 1-3’s answers as
args. Always invoked, even inmode: existing. -
Setup Antora — Step 5: scaffolds or updates the Antora site (only
on-existingwhen supplied). -
Setup Swift Gitignore — Step 6: writes or updates the root
.gitignore(onlyon-existingwhen supplied). -
Setup macOS GitHub Workflows — Step 7, skipped entirely when
ci: no: writes the CI/CD, release and security workflows, passingbranching, branches,runner,macos-ci,ci-tests,pages,distribution, Sonar keys and related args. -
Setup Changelog — Step 8: bootstraps or updates
CHANGELOG.md. -
Setup Readme — Step 9, last: bootstraps or updates
README.md, passing onlysonar,ci,pages(andon-existingwhen supplied).
Invoked by
-
Setup Repository — Step 4,
macos-appbootstrap (uitaken from the detected project type), via theiru-isolated-skill-executoragent.
It can also be run directly by a person.
Related agents
-
iru-isolated-skill-executor— spawned once per sub-skill (Steps 4-9), so all six sub-skills' exploration transcripts don’t accumulate in this orchestrator’s context.
Source
SKILL.md on GitHub — the file this page was generated from.