xcode-cloud
Skill20 starsChanged 2 months agoMITView on GitHub
Configure or troubleshoot Xcode Cloud workflows and lifecycle scripts using Apple's project-presence, dependency, environment, and fail-closed CI contracts. Use for Xcode Cloud setup, custom ci_scripts, build/test/archive diagnosis, or a separately reviewed XcodeGen regeneration exception.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- ingpoc/SKILLStheir own version, first seen Aug 10, 2026
- ltatarev/skillstheir own version, first seen Aug 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- ingpoc/SKILLS★ 9same name
- ltatarev/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code-reviewSkill
- gemini-files-apiSkill
- harness-engineeringSkill
- hint-overlay-visual-verificationSkill
- ios-xcodegenSkill
- lifecycle-and-side-effects-correctnessSkill
- local-model-servingSkill
- mechanism-auditSkill
- meeting-transcriptionSkill
- public-source-release-auditSkill
- silent-pushes-setupSkill
- spec-creation-updatingSkill
- swift-testingSkill
- swiftui-view-refactorSkill
- xcode-buildSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use Apple documentation as the authority for Xcode Cloud lifecycle behavior.
- Very specific: line 11
Keep this skill focused on workflow configuration, custom scripts, dependency policy, and CI diagnosis.
- Very specific: line 23
Add only the custom lifecycle scripts the workflow needs.
- Distinctive: line 42
Keep logs free of secrets.
- Distinctive: line 47
Do not use post-clone generation to create the project or workspace Xcode Cloud needs for initial configuration.
- Distinctive: line 51
Use regeneration during a build only as a separately reviewed exception.
- Distinctive: line 86
Treat missing projects, schemes, environment variables, dependency locks, or tool versions as configuration failures, not successful no-ops.
- Distinctive: line 88
Keep confirmed Apple behavior separate from project-specific inference.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Xcode Cloud
Overview
Use Apple documentation as the authority for Xcode Cloud lifecycle behavior.
Keep this skill focused on workflow configuration, custom scripts, dependency
policy, and CI diagnosis. Use xcode-build for local build and simulator work,
and ios-xcodegen for XcodeGen project-spec semantics.
Quick Start
- Identify the
.xcodeprojor.xcworkspaceselected by the workflow. - Confirm that project or workspace is continuously present in the repository before configuring Xcode Cloud. A generated and ignored project is not a safe default.
- Confirm shared schemes, actions, Xcode version, dependency state, and the repository path used by the workflow.
- Add only the custom lifecycle scripts the workflow needs. Place executable
scripts in a top-level
ci_scriptsdirectory beside the selected project or workspace. - Make every script fail closed on missing inputs and verify the workflow in a disposable branch before rollout.
Apple Lifecycle Contract
Apple recognizes these executable top-level lifecycle names under
ci_scripts/:
ci_post_clone.shci_pre_xcodebuild.shci_post_xcodebuild.sh
The post-build script runs even when xcodebuild fails. Never infer success
from a missing exit code or action. Require the documented variables for the
selected action and reject missing, malformed, or failed state.
Keep logs free of secrets. Do not place credentials in remote URLs, command arguments, or echoed environment dumps.
XcodeGen Exception
Do not use post-clone generation to create the project or workspace Xcode Cloud needs for initial configuration. Prefer committing the generated project when the repository deliberately uses XcodeGen.
Use regeneration during a build only as a separately reviewed exception. The
repository must prove the selected Xcode and XcodeGen versions with a fixture,
own deterministic tool acquisition, and keep the expected project continuously
present. assets/ci_pre_xcodebuild.sh is an opt-in guard for that exception:
- it requires
ALLOW_XCODEGEN_REGENERATION=1 - it requires relative
PROJECT_SPEC_PATHandEXPECTED_PROJECT_PATHvalues - it resolves the expected project's parent and project paths and requires both to remain inside the canonical repository root before deletion
- it requires
EXPECTED_PROJECT_PATHto name an.xcodeproj; it rejects.xcworkspacepaths because XcodeGen does not regenerate a selected workspace through this guard - in Xcode Cloud, it resolves those paths from Apple's
CI_PRIMARY_REPOSITORY_PATH; outside Xcode Cloud, it falls back to the directory that containsci_scripts - it requires
XCODEGEN_REQUIRED_VERSIONand verifies the exact installed tool - it refuses to install a mutable package or create a previously absent project
- it preserves a shared
Package.resolvedstored inside the committed project container while regenerating that container
Copy it only after those project-specific conditions are reviewed, then run
chmod +x ci_scripts/ci_pre_xcodebuild.sh.
External Publication
This skill does not include a tag-push template. Release tags and other remote mutations need a separate authorization contract with a mandatory ref allowlist, a known successful Archive action, least-privilege credentials that are not embedded in URLs, remote-first idempotency, safe retry behavior, and isolated failure fixtures.
Notes
- Recheck official Apple sources for mutable platform behavior and record the retrieval date with project-specific conclusions.
- Treat missing projects, schemes, environment variables, dependency locks, or tool versions as configuration failures, not successful no-ops.
- Keep confirmed Apple behavior separate from project-specific inference.
- See
references/xcode-cloud-notes.mdfor the reviewed source set and diagnostic checklist.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

