ios-swift-ci
Skill56 starsChanged 36 days agoApache-2.0View on GitHub
Use this workflow skill to triage an AutoMobile iOS or Swift CI failure from the exact job evidence, distinguish required checks from advisory simulator failures, and run the fast local Swift validation.
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- android/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/CLAUDE.mdCLAUDE.md
- ios/CLAUDE.mdCLAUDE.md
- auto-mobile-code-reviewSkill
- ci-failure-triageSkill
- github-pr-feedbackSkill
- ios-swift-ciSkill
- node-prepushSkill
- prepush-androidSkill
- shell-prepushSkill
- android-gradlewSkill
- auto-mobile-code-reviewSkill
- bun-tasksSkill
- check-ciSkill
- ci-failure-triageSkill
- dead-codeSkill
- device-session-lifecycleSkill
- fan-out-fan-inSkill
- github-cliSkill
- github-pr-feedbackSkill
- manual-testSkill
- node-prepushSkill
- observeSkill
- pr-analysisSkill
- prepush-androidSkill
- push-my-prsSkill
- push-prSkill
- researchSkill
- shell-prepushSkill
- ship-issueSkill
- testSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 8
Use this for SwiftLint, Swift Code Coverage, iOS Build, Swift package, WHEP, or XCTestRunner Simulator Tests failures.
- Very specific: line 16
Read the failed job by run and job ID with gh run view <run-id> --job <job-id> --log-failed.
- Distinctive: line 31
Before merge, refresh the exact head on latest main.
≈ “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
iOS/Swift CI Triage
Use this for SwiftLint, Swift Code Coverage, iOS Build, Swift package,
WHEP, or XCTestRunner Simulator Tests failures.
- Resolve the exact PR head and current main base. Do not trust a prior green head after a rebase or merge queue update.
- Identify whether the check is required.
XCTestRunner Simulator Testsis advisory (nightly, or on a PR labelledrun-ios-sim); the required iOS checks areSwiftLint,Swift Code Coverage, andiOS Build. - Read the failed job by run and job ID with
gh run view <run-id> --job <job-id> --log-failed. If it is incomplete, retrieve the job log or failure artifact before assigning a cause. - Classify the failure as PR-caused (with a local command), PR-caused without a local command, stale-base/main-red, runner infrastructure, test flake, or advisory roll-up fan-out. Do not retry merely because a simulator job is red.
- For simulator jobs, preserve ownership: one explicit simulator UDID per job, used serially. Never share a simulator between parallel jobs/runners.
- Recognize this week's known simulator signatures: five-minute CtrlProxy UI
test timeout; CtrlProxy surviving forced teardown; video recording
simctl liststate timeout; hierarchy UI test over 90 seconds. Gather new evidence before treating any of them as the same bug. - For a Swift change, run
scripts/prepush-ios.sh. It checks the pinned SwiftFormat 0.54.6, SwiftLint's error rules,swift buildin XCTestRunner, and only simulator-free XCTestRunner tests. - Before merge, refresh the exact head on latest main; a stale base can hide a main-red period.
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.

