Registry / pproenca

pproenca/dot-skills/swift-refactor

Swift and SwiftUI refactoring patterns aligned with the iOS 26 / Swift 6.2 clinic modular MVVM-C architecture (Airbnb + OLX SPM layout). Enforces @Observable ViewModels/coordinators, App-target `DependencyContainer` + route shells, Domain repository/coordinator/error-routing protocols, and Data-owned I/O with stale-while-revalidate plus optimistic queued sync boundaries. Use when refactoring existing SwiftUI code into the clinic architecture.

Agent skill · version 0.0.0-master.1794325649.gcf93c57 · from pproenca/dot-skills

Install

npx yarkr-cli add skill:pproenca/dot-skills/swift-refactor

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:pproenca/dot-skills/swift-refactor
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:pproenca/dot-skills/swift-refactor

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:pproenca/dot-skills/swift-refactor

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.