claude

swift-engineering

A collection of agents and commands to aid in the planning, implementation, documentation and testing of Swift/TCA code.

233 on GitHubby John Rogers (@johnrogers)v0.1.0MITupdated 9 months agodevelopment
/

Plugin swift-engineering from marketplace claude-swift-engineering in johnrogers/claude-swift-engineering. Commands read from the repo's manifest — 1 month ago.

What it installs

Skills (17)

  • composable-architecture

    Use when building features with TCA (The Composable Architecture), structuring reducers, managing state, handling effects, navigation, or testing TCA features. Covers @Reducer, Store, Effect, TestStore, reducer composition, and TCA patterns.

  • foundation-models

    Use when implementing on-device AI with Apple's Foundation Models framework (iOS 26+), building summarization/extraction/classification features, or using @Generable for type-safe structured output.

  • generating-swift-package-docs

    Use when encountering unfamiliar import statements, exploring dependency APIs, or when user asks "what's import X" or "what does X do". Generates on-demand API documentation for Swift package dependencies.

  • grdb

    Use when writing raw SQL with GRDB, complex joins across 4+ tables, window functions, ValueObservation for reactive queries, or dropping down from SQLiteData for performance. Direct SQLite access for iOS/macOS with type-safe queries and migrations.

  • haptics

    Use when adding haptic feedback for user confirmations (button presses, toggles, purchases), error notifications, or custom tactile patterns (Core Haptics). Covers UIFeedbackGenerator and CHHapticEngine patterns.

  • ios-26-platform

    Use when implementing iOS 26 features (Liquid Glass, new SwiftUI APIs, WebView, Chart3D), deploying iOS 26+ apps, or supporting backward compatibility with iOS 17/18.

  • ios-hig

    Use when designing iOS interfaces, implementing accessibility (VoiceOver, Dynamic Type), handling dark mode, ensuring adequate touch targets, providing animation/haptic feedback, or requesting user permissions. Apple Human Interface Guidelines for iOS compliance.

  • localization

    Use when implementing internationalization (i18n), String Catalogs, pluralization, or right-to-left layout support. Covers modern localization workflows with Xcode String Catalogs and LocalizedStringKey patterns.

  • modern-swift

    Use when writing async/await code, enabling strict concurrency, fixing Sendable errors, migrating from completion handlers, managing shared state with actors, or using Task/TaskGroup for concurrency.

  • sqlite-data

    Use when working with SQLiteData library (@Table, @FetchAll, @FetchOne macros) for SQLite persistence, queries, writes, migrations, or CloudKit private database sync.

  • storekit

    Use when implementing in-app purchases, StoreKit 2 subscriptions, consumables, non-consumables, or transaction handling. Covers testing-first workflow with .storekit configuration, StoreManager architecture, and transaction verification.

  • swift-diagnostics

    Use when debugging NavigationStack issues (not responding, unexpected pops, crashes), build failures (SPM resolution, "No such module", hanging builds), or memory problems (retain cycles, leaks, deinit not called). Systematic diagnostic workflows for iOS/macOS.

  • swift-networking

    Use when implementing Network.framework connections (NWConnection, NetworkConnection), debugging connection failures, migrating from sockets/URLSession streams, or handling network transitions. Covers UDP/TCP patterns, structured concurrency networking (iOS 26+), and common anti-patterns.

  • swift-style

    Swift code style conventions for clean, readable code. Use when writing Swift code to ensure consistent formatting, naming, organization, and idiomatic patterns.

  • swift-testing

    Use when writing tests with Swift Testing (@Test, #expect, #require), migrating from XCTest, implementing async tests, or parameterizing tests.

  • swiftui-advanced

    Use when implementing gesture composition (simultaneous, sequenced, exclusive), adaptive layouts (ViewThatFits, AnyLayout, size classes), or choosing architecture patterns (MVVM vs TCA vs vanilla, State-as-Bridge). Covers advanced SwiftUI patterns beyond basic views.

  • swiftui-patterns

    Use when implementing iOS 17+ SwiftUI patterns: @Observable/@Bindable, MVVM architecture, NavigationStack, lazy loading, UIKit interop, accessibility (VoiceOver/Dynamic Type), async operations (.task/.refreshable), or migrating from ObservableObject/@StateObject.

Slash commands (3)

  • /swift-engineering:reflect
  • /swift-engineering:restore-snapshot
  • /swift-engineering:snapshot

Subagents (11)

  • swift-search

    Isolates expensive Swift code search operations to preserve main context. Delegates all exploratory 'where is X', 'find Y', 'locate Z' queries to prevent 10-50K tokens of grep noise from polluting conversation. Returns only final results with high-confidence locations. Use this agent INSTEAD of runn

  • swift-architect

    Plan Swift features with architecture decisions, file structure, and implementation strategy. Use PROACTIVELY when starting any new Swift feature, before implementation begins.

  • swift-code-reviewer

    Review Swift/iOS code for quality, security, performance, and HIG compliance. Use after implementation, before testing.

  • swift-documenter

    Generate and maintain documentation — project README, package READMEs, and inline code comments. Use after feature completion or for documentation updates.

  • swift-engineer

    Implement vanilla Swift code — models, services, networking, persistence. Use when the plan specifies vanilla Swift (not TCA) architecture.

  • swift-modernizer

    Migrate legacy Swift patterns to modern best practices — async/await, modern APIs, SwiftUI. Use for legacy code modernization.

  • swift-test-creator

    Create unit and integration tests using Swift Testing framework. Use after implementation is complete.

  • swift-ui-design

    Analyze UI mockups, screenshots, or descriptions to plan SwiftUI implementation. Use when starting from a visual design or UI description before feature planning.

  • swiftui-specialist

    Implement SwiftUI views following Apple HIG guidelines. Use after core/TCA implementation is complete.

  • tca-architect

    Design TCA (The Composable Architecture) feature architectures — state, actions, dependencies, navigation. Use when the plan specifies TCA and detailed architecture design is needed.

  • tca-engineer

    Implement TCA (The Composable Architecture) features — reducers, actions, state, dependencies. Use when the TCA design is complete and implementation is needed.

View source on GitHub

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

container

claude

Teaches Claude container's command surface and how it maps to Docker, Lima, Colima, and Podman on macOS

1 skill

apple/container 51,329

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

Maintain swift-engineering?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted