Registry / afk-surf

afk-surf/openbridge/swiftui-view-refactor

Refactor and review SwiftUI view files for consistent structure, dependency injection, and Observation usage. Use when asked to clean up a SwiftUI view’s layout/ordering, handle view models safely (non-optional when possible), or standardize how dependencies and @Observable state are initialized and passed.

Agent skill · version 0.1.7 · from AFK-surf/OpenBridge

Install

npx yarkr-cli add skill:afk-surf/openbridge/swiftui-view-refactor

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

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:afk-surf/openbridge/swiftui-view-refactor
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:afk-surf/openbridge/swiftui-view-refactor

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:afk-surf/openbridge/swiftui-view-refactor

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