refactor-swift-to-flutter

Convert Swift/iOS codebases to Flutter/Dart with preserved behavior and architecture.

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/OMIXEC/Mobile-dev-skills --skill refactor-swift-to-flutter
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: refactor-swift-to-flutter
Source: https://github.com/OMIXEC/Mobile-dev-skills/tree/main/skills/refactor-swift-to-flutter
Command: npx skills add https://github.com/OMIXEC/Mobile-dev-skills --skill refactor-swift-to-flutter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Convert existing Swift/iOS codebases into Flutter/Dart equivalents with preserved behavior and architecture to enable cross-platform deployment.

Core Features & Use Cases

  • SwiftUI to Flutter widget translation preserving layout and interactions.
  • Combine to Riverpod state management mapping with async data handling.
  • URLSession to Dio networking and Core Data to Hive/SQLite persistence.
  • Data type and pattern mappings to minimize manual rewrites.

Quick Start

Provide your Swift project and I will generate a Flutter-ready port that preserves logic and structure.

Frequently Asked Questions about refactor-swift-to-flutter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a SwiftUI app to Flutter while preserving the existing architecture?▼

You can map Combine reactive pipelines to Riverpod state management, translating async data streams and event handling into Dart equivalents to preserve your async data flow.

Can I port Core Data and URLSession networking to Dart and Dio?▼

The conversion process uses explicit Swift-to-Dart pattern mappings for data models, views, state management, networking, and persistence, minimizing manual rewrites.

What is the best way to convert Swift codebases to Dart with pattern parity?▼

The conversion applies explicit Swift-to-Dart mappings for data models, views, state management, networking, and persistence, targeting Riverpod, GoRouter, Dio, and Hive/SQLite equivalents.

Does this Swift to Flutter conversion approach support MVVM and Riverpod mapping?▼

Yes, this Swift to Flutter conversion supports MVVM architectures by mapping Combine state management and SwiftUI views directly to Riverpod and Flutter widget equivalents.