Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

adversarial-swift

Étoiles180
Forks14
Mis à jour11 juillet 2026 à 19:47

Use this skill to gate Swift and SwiftUI code with a pass/fail adversarial review — two blind reviewer subagents independently judge a diff or file set against 44 decidable rules distilled from expert Swift and SwiftUI reference material, covering SwiftUI state and observation (@Observable over ObservableObject, @State ownership), view identity (applyIf-style branching, AnyLayout), view update cost (init side effects, body derivations), task lifecycle (.task over onAppear+Task), lists and geometry (AnyView rows, GeometryReader measurement), accessibility (icon-only buttons, semantic styling), Swift concurrency (unresumed continuations, retain cycles, cancellation, serialized awaits, main-actor CPU work), and API and type design (@unknown default, CaseIterable, private(set), rethrows). Trigger it before merging Swift or SwiftUI work, or to check agent-authored code. It renders verdicts only, never fixes; SwiftUI categories go N/A on non-UI Swift.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

Explorateur de fichiers
50 fichiers
SKILL.md
readonly