Community编程与开发github.com

dimillian/macos-spm-app-packaging

搭建、构建和打包基于 SwiftPM 的 macOS 应用,无需 Xcode 项目。适用于需要从头创建 macOS 应用布局、SwiftPM 目标/资源、自定义 .app 包组装脚本,或进行签名/公证/appcast 步骤的场景。

macos-spm-app-packaging 是什么?

该技能专为那些希望在 Xcode 之外完全使用 Swift Package Manager (SwiftPM) 来开发、构建和打包原生 macOS 应用的开发者和 AI 代理设计。它提供一个“从零开始”的工作流,涵盖创建标准的 macOS 应用目录结构、管理 SwiftPM 目标与资源、生成自定义的 .app 包组装脚本(例如使用 `cp`、`plutil` 等命令),以及执行代码签名、公证和生成 Sparkle 更新框架所需的 appcast 文件。该技能直接基于 `SKILL.md` 文档中的说明,支持通过命令行工具(如 `swift build` 和 `swift package`)进行操作,并能生成必要的 `Info.plist` 等文件。它主要适用于 macOS 平台,尤其适合那些希望构建无 Xcode 依赖、纯 SwiftPM 工作流的项目,无论是简单的命令行工具还是完整的 GUI 应用。通过该技能,用户可以获得一个可立即部署的、结构清晰的原生 macOS 应用包,同时保留完全的定制能力。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/dimillian/skills/tree/main/skills/macos-spm-app-packaging

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

macos-spm-app-packaging 是做什么的?

搭建、构建和打包基于 SwiftPM 的 macOS 应用,无需 Xcode 项目。适用于需要从头创建 macOS 应用布局、SwiftPM 目标/资源、自定义 .app 包组装脚本,或进行签名/公证/appcast 步骤的场景。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

dimillian/app-store-changelog

Create user-facing App Store release notes by collecting and summarizing all user-impacting changes since the last git tag (or a specified ref). Use when asked to generate a comprehensive release changelog, App Store "What's New" text, or release notes based on git history or tags.

dimillian/ios-debugger-agent

Use XcodeBuildMCP to build, run, launch, and debug the current iOS project on a booted simulator. Trigger when asked to run an iOS app, interact with the simulator UI, inspect on-screen state, capture logs/console output, or diagnose runtime behavior using XcodeBuildMCP tools.

dimillian/swift-concurrency-expert

Swift Concurrency review and remediation for Swift 6.2+. Use when asked to review Swift Concurrency usage, improve concurrency compliance, or fix Swift concurrency compiler errors in a feature or file. Concrete actions include adding Sendable conformance, applying @MainActor annotations, resolving actor isolation warnings, fixing data race diagnostics, and migrating completion handlers to async/await.

dimillian/swiftui-liquid-glass

Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in new SwiftUI UI, refactor an existing feature to Liquid Glass, or review Liquid Glass usage for correctness, performance, and design alignment.

dimillian/swiftui-performance-audit

Audit and improve SwiftUI runtime performance from code review and architecture. Use for requests to diagnose slow rendering, janky scrolling, high CPU/memory usage, excessive view updates, or layout thrash in SwiftUI apps, and to provide guidance for user-run Instruments profiling when code review alone is insufficient.

dimillian/swiftui-ui-patterns

Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive layouts with stacks and grids. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens with VStack/HStack, managing @State or @Binding, building declarative iOS interfaces, or needing component-specific patterns and examples.

dimillian/swiftui-view-refactor

Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage. Use when cleaning up a SwiftUI view, splitting long bodies, removing inline actions or side effects, reducing computed `some View` helpers, or standardizing `@Observable` and view model initialization patterns.

相关技能