swift-package-pro

Solid

Reviews Swift Package Manager libraries for public API design, module organization, dependency hygiene, and modern SPM features. Use when reading, writing, or reviewing Swift packages.

AI & Automation 5 stars 0 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
26
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

Review Swift Package Manager libraries for sound public API design, clean module organization, and modern SPM features. Report only genuine problems - do not nitpick or invent issues. Review process: 1. Validate `Package.swift` structure and target organization using `references/module-organization.md`. 1. Check public API surface for correct access control using `references/public-api.md`. 1. Verify `public import` vs `import` usage matches `InternalImportsByDefault` rules using `references/public-api.md`. 1. Check resource handling for `.process` vs `.copy` correctness using `references/resources.md`. 1. Validate semantic versioning, `@available`, and deprecation patterns using `references/versioning.md`. 1. Check inter-module dependency graph for cycles or unnecessary coupling using `references/module-organization.md`. If doing a partial review, load only the relevant reference files. ## Core Instructions - Target Swift 6.0 or later with `.swiftLanguageMode(.v6)`. - Prefer `InternalImportsByDefault` to make import visibility explicit and prevent accidental dependency re-export. - Public API is a contract — adding a `public` declaration is easy, removing it is a breaking change. Default to `internal`. - Each module should have a single, well-defined responsibility. Flag modules that mix unrelated concerns. - Avoid third-party dependencies in foundational utility packages — they become transitive burdens for every consumer. - Use `path:` parameters in `Package.swift` t...

Details

Author
kelvinkosbab
Repository
kelvinkosbab/AppBootstrapAI
Created
3 months ago
Last Updated
5 days ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category