Skill / SKILL.md

Swiftpm Modularization

wei18/apple-dev-skills

Default module shape for Apple-platform Swift Apps — one Swift Package, multiple targets, a thin App target (`@main` + DI root), CloudKit / GameKit / StoreKit imports confined to service targets, one test target per production target. Use when laying out targets in Package.swift, deciding where a new module or framework import lives, planning core portability (Swift on Android), when `.xcassets` go missing in a package target, or when asked "single package or multi-package". Does NOT own `platforms:` → apple-platform-targets, `swiftLanguageModes` → swift6-concurrency, or the test framework → swift-testing-baseline.
2 views 18 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Default module shape for Apple-platform Swift Apps — one Swift Package, multiple targets, a thin App target (`@main` + DI root), CloudKit / GameKit / StoreKit imports confined to service targets, one test target per production target. Use when laying out targets in Package.swift, deciding where a new module or framework import lives, planning core portability (Swift on Android), when `.xcassets` go missing in a package target, or when asked "single package or multi-package". Does NOT own `platforms:` → apple-platform-targets, `swiftLanguageModes` → swift6-concurrency, or the test framework → swift-testing-baseline.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wei18/apple-dev-skills' skill-source

Use the complete skill-source/apple-dev-skills/skills/swiftpm-modularization directory with your client’s skill installer.

  • apple-dev-skills/skills/swiftpm-modularization

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory apple-dev-skills/skills/swiftpm-modularization

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
e6c2878ff02c161cb6aa9f915d6ada3da9250f6900556b6240eb375fccb19a1b
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills