name: apple-platform-artifact-application description: Use when the Apple setup flow needs to apply or align README, SwiftLint, workflows, .gitignore, XcodeGen, and other snippet-backed repository artifacts after setup decisions are final.
Apple Platform Artifact Application
Apply or refine repo artifacts only after discovery, interview, workspace choice, and capability decisions are settled.
When to Use
Use this skill when:
- snippet-backed artifacts need to be applied to a new repo
- an existing repo needs targeted preserve-first alignment
- README shape depends on whether the repo is package-first or app-first
- SwiftLint, workflows,
.gitignore, or XcodeGen files need shape-specific handling
Artifact Scope
Apply or refine:
- package-first
README.mdfromsnippets/spm/README.mdusingreferences/spm-readme.md - app-first
README.mdfromsnippets/xcode/README.mdusingreferences/app-readme.md snippets/common/.gitlint- workspace-specific SwiftLint
- optional
SFSafeSymbolsSwiftLint fragment snippets/common/workflows/gitlint.yml- selected build and test workflows
- selected
.gitignore project.ymlwhen the chosen path isXcode + XcodeGen
Catalog Contract
Always apply snippet-backed artifacts using the contract in catalog.yaml:
target_pathapply_modeconflict_policymerge_strategy
Do not improvise paths, overwrite behavior, or merge behavior outside that contract.
Existing Repository Policy
For existing_structured_repo:
- preserve first, standardize second
- compare existing files against the selected canonical intent
- propose only the aligned change set the user actually wants
- do not replace
.gitignore,.swiftlint.yml,.gitlint, workflows,.codex/config.toml, orAGENTS.mdwithout explicit confirmation
SwiftLint And README Rules
- choose the SwiftLint snippet only after the workspace shape is known
- ask about
SFSafeSymbolsbefore adding theNo raw SF Symbol stringsrule - use the concise package README baseline only for library-first or package-first repos
- use the app-first README baseline only for app-first repos
- never emit placeholder App Store links