Agent Skills: adversarial-swift-ui

Use this skill to gate SwiftUI code with a pass/fail adversarial review — a single blind reviewer subagent judges a diff or file set against 31 decidable rules — data modeling and observation (@Observable over ObservableObject, @State ownership, task(id:) re-init guards, environment closures and high-frequency values), view update cost (computed-var extraction, whole-model dependencies, init side effects, uncached derivations, structs on rows), structural identity (applyIf branching, AnyLayout), task lifecycle (.task over onAppear+Task, scalar ids, @concurrent offloading), lists and geometry (ForEach view count, AnyView rows, GeometryReader measurement, feedback loops, visualEffect), animation scope, and accessibility (button semantics, style protocols, accessibilityRepresentation, semantic styling, ScaledMetric spacing). Trigger before merging SwiftUI work or to audit agent-authored views. Verdicts only, never fixes; targets without a SwiftUI surface abort.

UncategorizedID: pproenca/dot-skills/adversarial-swift-ui

Install this agent skill to your local

pnpm dlx add-skill https://github.com/pproenca/dot-skills/adversarial-swift-ui

Skill Files

Browse the full folder contents for adversarial-swift-ui.

Download Skill

Loading file tree…

Select a file to preview its contents.