debug:swiftui

Community

Systematically debug SwiftUI apps end-to-end.

AuthorSnakeO
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill guides developers through diagnosing and resolving SwiftUI-specific issues, including view update failures, state-management wrapper mismatches (@State/@Binding/@ObservedObject), NavigationStack problems, memory leaks, and preview crashes, with practical tips and structured workflows.

Core Features & Use Cases

  • Structured diagnosis: reproduce and isolate SwiftUI bugs with a repeatable workflow.
  • Actionable fixes: guidance for common patterns like correcting @Published properties, binding propagation, and navigation paths.
  • Debugging toolkit: references to Xcode debugger techniques, Instruments profiling, and LLDB commands for iOS/macOS development.

Quick Start

Load this skill in your Claude environment and start with a failing SwiftUI view. Add Self._printChanges() inside the view body to observe redraws, run the app in Debug, and follow the step-by-step recommendations to verify correct state wrappers, NavigationStack usage, and memory management.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: debug:swiftui
Download link: https://github.com/SnakeO/claude-debug-and-refactor-skills-plugin/archive/main.zip#debug-swiftui

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.