본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

fosmvvm-swiftui-app-setup

foscomputerservices 제작

DevOps & Cloud
400clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Set up the @main App struct for FOSMVVM SwiftUI apps.

설명

이 스킬이 하는 일

Generates the @main App struct for SwiftUI apps using the FOSMVVM architecture. Handles MVVMEnvironment configuration, deployment URL setup for production and debug environments, and optional UI test infrastructure. Works from conversation context rather than requiring file paths or Q&A.

Pulls app name, deployment URLs, and resource bundle structure directly from conversation context instead of requiring manual configuration prompts.

사용 시점

  • Starting a new FOSMVVM SwiftUI project
  • Migrating an existing SwiftUI app to FOSMVVM
  • Configuring production and staging deployment URLs
  • Setting up UI test infrastructure with view registration
  • Adding localization bundle accessors across multiple modules

예시 워크플로

입력

User asks: set up the main App struct for my SwiftUI app called AccelApp with production and debug URLs and test support

에이전트
  1. 1

    Identifies app name as AccelApp and determines the target file path Sources/App/AccelApp.swift

  2. 2

    Configures MVVMEnvironment with Bundle.main and detected resource bundle accessors from conversation context

  3. 3

    Sets up deploymentURLs for .production and .debug environments

  4. 4

    Wraps WindowGroup content with .testHost modifier inside a DEBUG block

  5. 5

    Generates registerTestingViews() extension on AccelApp struct with all identified ViewModelViews

출력

Complete AccelApp.swift file with @main struct, MVVMEnvironment computed property, WindowGroup with environment injection, and DEBUG-only test infrastructure

설치

clawhub install foscomputerservices/fosmvvm-swiftui-app-setup

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크