swiftpm-macos

Собирает, запускает и тестирует пакеты и исполняемые файлы SwiftPM для macOS. Нужен, когда репозиторий устроен вокруг пакета или в нём нет проекта Xcode.

Установка

$npx skills add https://github.com/openai/plugins/tree/5fd93af4cd0c623e020d0cc7e9ce178b4ac1f70f/plugins/build-macos-apps/skills/swiftpm-macos

Ставит скилл в текущий проект - CLI спросит, для каких агентов. С флагом -g - в домашнюю папку, для всех проектов. Другие способы

Описание автора

Build, run, and test SwiftPM macOS packages and executables. Use when the repo is package-first or has no Xcode project.

SwiftPM for macOS

Quick Start

Use this skill when Package.swift is the primary entrypoint or when SwiftPM is the fastest path to a reproducible result.

Workflow

  1. Inspect the package.

    • Read Package.swift.
    • Identify executable, library, and test products.
  2. Build with SwiftPM.

    • Use swift build by default.
    • Use release mode only when the user explicitly needs it.
  3. Run the right product.

    • Use swift run <product> when an executable exists.
    • If multiple executables exist, explain the default choice.
  4. Test narrowly.

    • Use swift test.
    • Apply filters when a specific test target or case is known.
  5. Summarize failures.

    • Module/import resolution
    • Package graph or dependency issue
    • Linker failure
    • Runtime failure
    • Test regression

Guardrails

  • Prefer SwiftPM over Xcode when both exist and the package path is clearly simpler.
  • Do not assume an app bundle exists in a pure package workflow.
  • Explain when the package is library-only and therefore not directly runnable.

Output Expectations

Provide:

  • the package products you found
  • the command you ran
  • whether build, run, or test succeeded
  • the top blocker if not

Ещё из openai/plugins

Все 536
  1. agents-sdkв один кликагенты на Cloudflare Workers через Agents SDK
  2. android-emulator-qaв один кликпроверка Android-сценариев в эмуляторе
  3. build-chatgpt-appв один кликприложения ChatGPT на Apps SDK
  4. chatgpt-app-submissionв один кликподготовка ChatGPT-приложения к ревью
  5. cloudflareв один кликплатформа Cloudflare: Workers, D1, R2
  6. earnings-previewв один кликпревью отчётности компании
  7. notion-knowledge-captureв один кликрешения из чатов в страницы Notion
  8. notion-meeting-intelligenceв один кликподготовка к встречам по Notion

Похожие скиллы

Мобильные приложения
  1. AvdLee/swiftui-expert-skillAvdLee/SwiftUI-Agent-Skillэкспертные советы по SwiftUI
  2. Eronred/aso-skillsEronred/aso-skillsнабор скиллов для ASO и мобильного роста
  3. truongduy2611/app-store-preflight-skillstruongduy2611/app-store-preflight-skillsпроверка iOS-приложения до App Store
  4. conorluddy/ios-simulator-skillconorluddy/ios-simulator-skillуправление iOS Simulator в Claude Code
  5. rorkai/app-store-connect-cli-skillsrorkai/app-store-connect-cli-skillsавтоматизация App Store через asc CLI
  6. ehmo/platform-design-skillsehmo/platform-design-skillsдизайн по Apple HIG, Material 3, WCAG
  7. mobile-android-designwshobson/agentsдизайн Android: Material Design 3 и Compose
  8. mobile-ios-designwshobson/agentsдизайн iOS: HIG и SwiftUI