Skip to content
swift-libraryPublic

About

Build and maintain Swift packages and Apple apps with agent skills.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

skills logo

skills

Build and maintain Swift packages and Apple apps with agent skills.

CI License: Apache-2.0 WITH Swift-exception

Overview · Quick look · Install · Usage · Requirements · Documentation · Contributing · License

Overview

The collection covers package architecture, Apple frameworks, interface design, developer tools, documentation, and release engineering. Each skill carries a focused trigger and supporting guidance; your agent selects it when a task matches, and the catalog helps you find the right workflow.

Plugin Scope
swift-lang-pm Swift language, concurrency, testing, interop, SwiftPM, and Xcode tooling
apple-app-ui Apple app interfaces, persistence, accessibility, widgets, and app integration
apple-frameworks Apple system frameworks for media, machine learning, connectivity, commerce, and more

Quick look

Add the marketplace to Claude Code and install the Swift language and package tools.

claude plugin marketplace add swift-library/skills
claude plugin install swift-lang-pm@swift-skills

Install

In Codex, add the marketplace and install a plugin by name.

codex plugin marketplace add swift-library/skills --ref master
codex plugin add swift-lang-pm@swift-skills

Install all three plugins for the full collection. Restart your host after installing. The installation guide covers updates and other hosts.

Note

Installation uses the current master branch, not a tagged release.

Usage

Claude and Codex select a skill automatically when a request matches its description. Name the skill to select it explicitly:

  • "Audit this repository's documentation with swiftpm-docs."
  • "Use swift-concurrency-patterns to fix these Sendable diagnostics."
  • "Check this package's README and Quick start with swiftpm-readme."
  • "Run the swiftpm-github-release checks before I make this repository public."

When two skills could apply, the more specific one should win: a SwiftUI rendering question belongs to swiftui-performance rather than swiftui-patterns, and a framework review belongs to that framework's skill rather than swift-programming-language. Each skill's description and SKILL.md state its boundary.

Skills with scripts need the tools those scripts call, such as git, swift, xcodebuild, or Python 3. The skill's SKILL.md or scripts/README.md names them.

Requirements

  • An agent host that can load SKILL.md instructions, such as the hosts in the installation guide
  • The SDKs and tools named by the individual skill for its task; the collection itself declares no Swift compiler floor

Documentation

Contributing

Read CONTRIBUTING.md before opening a pull request. Each skill lives in plugins/<plugin>/skills/<skill>/.

  • SKILL.md: the trigger description, scope, workflow, validation rules, and output format
  • agents/openai.yaml: display name, short description, and default prompt for Codex
  • optional rules/, references/, knowledge/, profiles/, templates/, examples/, scripts/, cli/, and assets/, each with an index when it holds more than one file

Skill authoring defines the structure, trigger contract, and validation checklist for new or changed skills. The Claude and Codex marketplaces each publish the three plugins under plugins/. Run scripts/check before pushing. It validates both hosts' manifests, skill contracts, links, reference cycles, organization-neutral content, distribution regression tests, and documentation template exports, and reports host listing sizes. Use the isolated installation checks when changing plugin distribution.

Commit subjects and pull request titles follow Conventional Commits. The shared policy checks pull request titles and added lines. SUPPORT.md covers questions and bug reports, and GOVERNANCE.md describes how decisions are made. Report vulnerabilities through the private route in SECURITY.md. Participation follows the Code of Conduct.

License

The skills are licensed under the Apache License 2.0 with the Swift Runtime Library Exception, so code copied from a skill into an app needs no attribution. See LICENSE.txt and NOTICE. Material from other authors keeps its own license, noted in the skill that includes it.

About

Build and maintain Swift packages and Apple apps with agent skills.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages