swiftui-view-refactor
SwiftUI View Refactor
Attribution: copied from @Dimillian’s Dimillian/Skills (2025-12-31).
Overview
Apply a consistent structure and dependency pattern to SwiftUI views, with a focus on ordering, Model-View (MV) patterns, careful view model handling, and correct Observation usage.
Core Guidelines
1) View ordering (top → bottom)
- Environment
private/publiclet@State/ other stored properties- computed
var(non-view) initbody- computed view builders / other view helpers
- helper / async functions
More from steipete/agent-scripts
brave-search
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
847video-transcript-downloader
yt-dlp downloads: video, audio, subtitles, transcripts, clips, formats, playlists.
4891password
Set up and use 1Password CLI (op, one-password). Use when installing the CLI, enabling desktop app integration, signing in, selecting Peter's multi-account setup, or storing/reading/injecting/running secrets via op. Always use tmux for op commands.
308markdown-converter
Markitdown to Markdown: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.
155nano-banana-pro
Nano Banana 2/Gemini 3.1 Flash Image gen/edit: text-to-image, image-to-image, 512/1K/2K/4K, input-image workflows.
139swiftui-liquid-glass
SwiftUI iOS 26+ Liquid Glass: implement, adopt, refactor, review correctness/perf/design.
137