本文へスキップ
TakoAPI
スキル一覧に戻る

swift-architecture-skill

efremidze 作

Web & Frontend Development
427ダウンロード数はclawskills.shが公開している値です
0閲覧数
0件のいいねサインインするとこのスキルにいいねできます
—まだ評価がありません
あなたの評価

概要

Agent Skill for Swift architecture design and implementation patterns, with architecture-specific playbooks.

説明

このスキルでできること

Guides architecture selection and implementation for Swift codebases across MVVM, MVI, TCA, Clean Architecture, VIPER, and Reactive patterns. Covers new features, refactors, PR reviews, and debugging for both SwiftUI and UIKit projects. Validates fit before committing to an architecture and flags mismatches with alternatives.

Rather than applying a single pattern universally, it runs a fit check against your actual constraints, UI stack, and existing conventions before recommending or proceeding.

使いどころ

  • Choosing between TCA and MVVM for a new SwiftUI screen
  • Refactoring a UIKit module to Clean Architecture incrementally
  • Reviewing a pull request for VIPER layer violations
  • Debugging state management issues in a Combine-heavy codebase
  • Designing dependency injection boundaries for a multi-screen flow

ワークフロー例

入力

User asks: I'm adding a multi-step onboarding flow in SwiftUI. What architecture should I use and how do I structure it?

エージェント
  1. 1

    Captures task type (new feature), UI stack (SwiftUI), and scope (multi-screen flow)

  2. 2

    Loads selection-guide.md and evaluates state complexity, effect orchestration, and team familiarity

  3. 3

    Recommends TCA with a brief explanation of why it fits multi-screen state coordination

  4. 4

    Produces directory layout, state/dependency types, async cancellation strategy, and test stubs scoped to onboarding

  5. 5

    Outputs the TCA PR review checklist adapted to the onboarding feature

出力

A concrete file structure, typed state and action definitions, an async effect plan with cancellation, and a feature-specific review checklist

インストール

clawhub install efremidze/swift-architecture-skill

CLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク