Swift packages for apps, developer tools, and AI agents.

Each package is versioned on its own and tested on the Swift versions and platforms it supports.

Explore the packages

Ship and maintain packages

Distill a Swift package to its public API: a compact interface to read, snapshots to query and diff.

.package(url: "https://github.com/swift-library/swift-interface-distiller.git", .upToNextMinor(from: "0.4.0"))

swift-semver

v0.1.1

Parse, compare, constrain, and increment SemVer 2.0.0 versions using only the Swift standard library.

.package(url: "https://github.com/swift-library/swift-semver.git", .upToNextMinor(from: "0.1.1"))

Catch performance regressions beside your tests with JSON baselines and metric budgets.

.package(url: "https://github.com/swift-library/swift-benchmark.git", .upToNextMinor(from: "0.2.0"))

swift-gyb

v0.2.0

Generate Swift sources and resource files from Python templates during SwiftPM builds.

.package(url: "https://github.com/swift-library/swift-gyb.git", .upToNextMinor(from: "0.2.0"))

Build apps

Insert, delete, and reorder SwiftData query results through a projected collection.

.package(url: "https://github.com/swift-library/swift-data-writable.git", .upToNextMinor(from: "0.1.1"))

Persist primitives, raw-value enums, and Codable models through one UserDefaults property wrapper.

.package(url: "https://github.com/swift-library/swift-userdefault.git", .upToNextMinor(from: "0.2.0"))

swift-redux

v0.2.0

Manage unidirectional app state with one store, reducers, middleware, and live subscriptions.

.package(url: "https://github.com/swift-library/swift-redux.git", .upToNextMinor(from: "0.2.0"))

swift-pdf

v0.1.1

Build PDF viewers in SwiftUI with search, page overlays, and navigation driven by your controls.

.package(url: "https://github.com/swift-library/swift-pdf.git", .upToNextMinor(from: "0.1.1"))

Services and AI

swift-codex

v0.5.3

Drive the Codex CLI from Swift through separate exec, App Server, and MCP interfaces.

.package(url: "https://github.com/swift-library/swift-codex.git", .upToNextMinor(from: "0.5.3"))

Build typed App Store Connect integrations and preview CLI writes before confirming them.

.package(url: "https://github.com/swift-library/swift-appstoreconnect.git", .upToNextMinor(from: "0.2.0"))

Validate JSON against JSON Schema without losing number precision.

.package(url: "https://github.com/swift-library/swift-json-schema.git", .upToNextMinor(from: "0.1.1"))

Command line

Agent skills

skills

v0.1.2

Build and maintain Swift packages and Apple apps with agent skills in a single plugin.

git clone https://github.com/swift-library/skills.git