Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

adversarial-swift

النجوم١٨٠
التفرعات١٤
آخر تحديث١١ يوليو ٢٠٢٦ في ١٩:٤٧

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.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
50 ملفات
SKILL.md
readonly