mcpField
S
swift-package-manager

swift-package-manager

github.com/nonameplumDevelopment1736 installsUpdated 12w ago
Repository

About swift-package-manager

A documentation skill for Swift Package Manager users, covering package creation, dependencies, builds, publishing, and related command references.

Key features

  1. 01Create and configure Swift packages
  2. 02Resolve and update dependencies
  3. 03Manage resources, plugins, and build settings
  4. 04Publish packages and use registries
  5. 05Reference SwiftPM commands

Use cases

  1. 01Create executable or reusable Swift packages
  2. 02Add and coordinate package dependencies
  3. 03Set up CI builds and tests
  4. 04Publish packages and manage registries

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nonameplum/agent-skills --skill swift-package-manager

After installing, type/swift-package-managerin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AddingDependencies.md
BundlingResources.md
ContinuousIntegration.md
CreatingCLanguageTargets.md
CreatingSwiftPackage.md
GettingStarted.md
IntroducingPackages.md
ModuleAliasing.md
Assets/
command-icon.svg
command-icon~dark.svg
Dependencies/
AddingSystemLibraryDependency.md
EditingDependencyPackage.md
ExampleSystemLibraryPkgConfig.md
PackageTraits.md
ResolvingDependencyFailures.md
Package/
PackageAddDependency.md
PackageAddProduct.md
PackageAddSetting.md
PackageAddTarget.md
PackageAddTargetDependency.md
PackageArchiveSource.md
PackageClean.md
PackageCompletionTool.md
PackageComputeChecksum.md
PackageConfigGetMirror.md
PackageConfigSetMirror.md
PackageConfigUnsetMirror.md
PackageDescribe.md
PackageDiagnoseAPIBreakingChange.md
PackageDumpPackage.md

Details

From the project README

PackageManagerDocs

Organize, manage, and edit Swift packages.

Documentation Structure

Essentials
Guides
  • Creating a Swift package (CreatingSwiftPackage.md): Bundle executable or shareable code into a standalone Swift package.
  • Setting the Swift tools version (SettingSwiftToolsVersion.md): Define the minimum version of the swift compiler required for your package.
  • Adding dependencies to a Swift package (AddingDependencies.md): Use other Swift packages, system libraries, or binary dependencies in your package.
  • Resolving and updating dependencies (ResolvingPackageVersions.md): Coordinate and constrain dependencies for your package.
  • Creating C language targets (CreatingCLanguageTargets.md): Include C language code as a target in your Swift package.
  • Using build configurations (UsingBuildConfigurations.md): Control the build configuration for your app or package.
  • Packaging based on the version of Swift (SwiftVersionSpecificPackaging.md): Provide a package manifest for a specific version of Swift.
  • Bundling resources with a Swift package (BundlingResources.md): Add resource files to your Swift package and access them in your code.
  • Releasing and publishing a Swift package (ReleasingPublishingAPackage.md): Share a specific version of your package.
  • Continuous Integration Workflows (ContinuousIntegration.md): Build Swift packages with an existing continuous integration setup and prepare apps that consume package dependencies within an existing CI pipeline.
  • Plugins (Plugins.md): Extend package manager functionality with build or command plugins.
  • Module Aliasing (ModuleAliasing.md): Create aliased names for modules to avoid collisions between targets in your package or its dependencies.
  • Using a package registry (UsingSwiftPackageRegistry.md): Configure and use a package registry for Swift Package Manager.
  • Package Collections (PackageCollections.md): Learn to create, publish and use Swift package collections.
  • Using shell completion scripts (UsingShellCompletion.md): Customize your shell to automatically complete swift package commands.
  • Swift Package Manager as a library (SwiftPMAsALibrary.md): Include Swift Package Manager as a dependency in your Swift package.
Swift Commands
Design

Usage Notes

  • Documentation is organized progressively from getting started to advanced topics
  • Start with the Introduction or Getting Started section
  • Consult specific guides for detailed information

License & Attribution

This skill contains content converted from DocC documentation format.

Comments

Markdown supported