axiom-swiftui-debugging-diag
Installation
SKILL.md
SwiftUI Debugging Diagnostics
When to Use This Diagnostic Skill
Use this skill when:
- Basic troubleshooting failed — Applied
axiom-swiftui-debuggingskill patterns but issue persists - Self._printChanges() shows unexpected patterns — View updating when it shouldn't, or not updating when it should
- Intermittent issues — Works sometimes, fails other times ("heisenbug")
- Complex dependency chains — Need to trace data flow through multiple views/models
- Performance investigation — Views updating too often or taking too long
- Preview mysteries — Crashes or failures that aren't immediately obvious
FORBIDDEN Actions
Under pressure, you'll be tempted to shortcuts that hide problems instead of diagnosing them. NEVER do these:
❌ Guessing with random @State/@Observable changes
- "Let me try adding @Observable here and see if it works"
- "Maybe if I change this to @StateObject it'll fix it"