用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/MikeTreml/MissionControl --skill swift-package-manager-config命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | swift-package-manager-config |
| description | Configure Swift Package Manager with platform-specific dependencies and build settings |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
| tags | ["swift","spm","package","dependencies","apple"] |
Configure Swift Package Manager with platform-specific dependencies, targets, and build settings for macOS applications.
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"packageName": { "type": "string" },
"platforms": { "type": "array", "items": { "enum": ["macos", "ios", "tvos", "watchos"] } },
"dependencies": { "type": "array" },
"targets": { "type": "array" }
},
"required": ["projectPath", "packageName"]
}
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "MyPackage",
platforms: [.macOS(.v13), .iOS(.v16)],
products: [
.library(name: "MyPackage", targets: ["MyPackage"]),
.executable(name: "MyApp", targets: ["MyApp"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
.package(url: "https://github.com/apple/swift-collections", from: "1.1.0")
],
targets: [
.target(name: "MyPackage", dependencies: [
.product(name: "Collections", package: "swift-collections")
]),
.executableTarget(name: "MyApp", dependencies: [
"MyPackage",
.product(name: "ArgumentParser", package: "swift-argument-parser")
]),
.testTarget(name: "MyPackageTests", dependencies: ["MyPackage"])
]
)
swiftui-view-generatorxctest-ui-test-generator