wendy-swift/SKILL.md
Curated Swift package ecosystem for WendyOS and Linux. Use when developers mention: (1) Swift packages for Linux or ARM64/AMD64, (2) choosing a Swift library, (3) Swift Package Index, (4) swiftpackageindex.com, (5) what Swift library to use, (6) Swift on WendyOS dependencies, (7) edge computing Swift libraries.
npx skillsauth add wendylabsinc/claude-skills wendy-swiftInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill maps the Swift package ecosystem for WendyOS (Linux) edge development. It provides curated recommendations organized by domain and guidance for discovering additional packages via Swift Package Index.
| Package | Use Case | URL | Linux | |---------|----------|-----|-------------| | Hummingbird 2 | Lightweight HTTP server, routing, middleware | https://github.com/hummingbird-project/hummingbird | Full support | | Vapor | Full-featured web framework with ORM, auth, sessions | https://github.com/vapor/vapor | Full support |
| Package | Use Case | URL | Linux | |---------|----------|-----|-------------| | SwiftNIO | Event-driven networking framework, TCP/UDP | https://github.com/apple/swift-nio | Full support | | AsyncHTTPClient | HTTP/1.1 and HTTP/2 client | https://github.com/swift-server/async-http-client | Full support | | gRPC Swift 2 | gRPC client and server built on SwiftNIO and Swift Concurrency | https://github.com/grpc/grpc-swift-2 | Full support | | Swift OpenAPI Generator | Generate client/server code from OpenAPI specs | https://github.com/apple/swift-openapi-generator | Full support |
| Package | Use Case | URL | Linux | |---------|----------|-----|-------------| | PostgresNIO | Non-blocking PostgreSQL client built on SwiftNIO | https://github.com/vapor/postgres-nio | Full support | | GRDB.swift | SQLite toolkit with query builder, migrations, WAL | https://github.com/groue/GRDB.swift | Full support | | Valkey Swift | Valkey/Redis client with cluster support, pub/sub | https://github.com/valkey-io/valkey-swift | Full support |
| Package | Use Case | URL | Linux | |---------|----------|-----|-------------| | llama.cpp | LLM inference with Swift bindings | https://github.com/ggerganov/llama.cpp | Full support (C library with Swift bindings) | | whisper.cpp | Speech-to-text inference | https://github.com/ggerganov/whisper.cpp | Full support (C library with Swift bindings) | | MLX Swift | ML framework for Apple Silicon | https://github.com/ml-explore/mlx-swift | macOS/Apple Silicon only — not available on Linux |
For llama.cpp and whisper.cpp, use the C API directly via Swift's C interop or use community Swift wrapper packages. These libraries compile natively on ARM64/AMD64 Linux.
| Package | Use Case | URL | Linux | |---------|----------|-----|-------------| | SwiftyGPIO | GPIO, SPI, I2C, PWM, UART on Linux SBCs | https://github.com/uraimo/SwiftyGPIO | Full support (Linux only) |
Camera/video access patterns: Use Video4Linux2 (V4L2) through Swift's C interop for camera capture on Linux. For NVIDIA Jetson, use GStreamer pipelines via Process or C bindings for hardware-accelerated video.
Serial communication: Use termios via Swift's C interop for serial port access on Linux. SwiftyGPIO also provides UART support for common SBCs.
| Package | Use Case | URL | Linux | |---------|----------|-----|-------------| | swift-log | Structured logging API | https://github.com/apple/swift-log | Full support | | swift-metrics | Metrics API (counters, gauges, timers) | https://github.com/apple/swift-metrics | Full support | | swift-otel | OpenTelemetry backend for swift-log, swift-metrics, and distributed tracing | https://github.com/swift-otel/swift-otel | Full support | | swift-distributed-tracing | Distributed tracing API | https://github.com/apple/swift-distributed-tracing | Full support |
| Package | Use Case | URL | Linux | |---------|----------|-----|-------------| | swift-protobuf | Protocol Buffers with Codable support | https://github.com/apple/swift-protobuf | Full support | | msgpack-swift | MessagePack encoder/decoder, Codable-compliant | https://github.com/fumoboy007/msgpack-swift | Full support | | Yams | YAML parser and emitter | https://github.com/jpsim/Yams | Full support |
| Package | Use Case | URL | Linux | |---------|----------|-----|-------------| | swift-collections | Deque, OrderedSet, OrderedDictionary, and more | https://github.com/apple/swift-collections | Full support | | swift-algorithms | Sequence/collection algorithms (chunked, combinations, etc.) | https://github.com/apple/swift-algorithms | Full support | | swift-async-algorithms | Async sequence algorithms (merge, combineLatest, debounce, etc.) | https://github.com/apple/swift-async-algorithms | Full support | | swift-argument-parser | Type-safe command-line argument parsing | https://github.com/apple/swift-argument-parser | Full support |
Before adding a Swift package to a WendyOS project, verify:
import Darwin, import AppKit, import UIKit, import CoreFoundation (some Foundation APIs are fine on Linux, but not all)FileManager works, but NSAppleScript, NSUserDefaults, Process (partially available), etc. may notswift build (SPM), not require Xcode-specific settingsubuntu runners or Swift Docker images)Swift Package Index is the community package search engine.
Direct search: https://swiftpackageindex.com/search?query=YOUR_TERM
#if blocksswift package show-dependencies to audit the tree.upToNextMajor(from:) or .upToNextMinor(from:) in Package.swift rather than branch-based dependenciesdevelopment
Autonomous continuous integration loop for the Wendy Cloud repository. Use when asked to: (1) iterate on the cloud stack, (2) find and fix bugs in Wendy Cloud, (3) run the cloud test loop, (4) continuously test the Swift broker, (5) scan for regressions after new features. This skill manages the full local dev stack autonomously including starting Docker, the Swift broker, pki-core, running tests, diagnosing failures, and applying fixes.
development
Expert guidance on Swift best practices, patterns, and implementation. Use when developers mention: (1) Swift configuration or environment variables, (2) swift-log or logging patterns, (3) OpenTelemetry or swift-otel, (4) Swift Testing framework or @Test macro, (5) Foundation avoidance or cross-platform Swift, (6) platform-specific code organization, (7) Span or memory safety patterns, (8) non-copyable types (~Copyable), (9) API design patterns or access modifiers.
tools
Expert guidance on building and deploying apps to WendyOS edge devices. Use when developers mention: (1) Wendy or WendyOS, (2) wendy CLI commands, (3) wendy.json or entitlements, (4) deploying apps to edge devices, (5) remote debugging Swift on ARM64, (6) NVIDIA Jetson or Raspberry Pi apps, (7) cross-compiling Swift for ARM64.
development
Expert guidance on building WASM apps for Wendy Lite MCU firmware on ESP32-C6. Use when developers mention: (1) Wendy Lite or wendy-lite, (2) WASM apps on ESP32 or microcontrollers, (3) WendyLite Swift package or import WendyLite, (4) building C/Rust/Swift/Zig apps for ESP32, (5) WAMR runtime on embedded devices, (6) GPIO/I2C/SPI/UART/NeoPixel from WASM, (7) Embedded Swift on WASM or wasm32-none-none-wasm, (8) BLE provisioning on ESP32-C6, (9) uploading WASM binaries to MCU, (10) TLS/networking on ESP32 from Swift.