कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक