rxswift-memory-check
CommunityDetect RxSwift memory leaks, instantly.
Authordaispacy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill quickly identifies common RxSwift memory management issues like missing dispose bags, retain cycles, and strong self references, preventing memory leaks and app crashes. It automates a critical debugging step, saving hours of manual investigation and improving app stability.
Core Features & Use Cases
- Subscription Validation: Verifies every
.subscribe()call has proper disposal (.disposed(by: disposeBag)) and[weak self]usage in closures to prevent retain cycles. - Anti-pattern Detection: Flags common mistakes such as local
DisposeBagdeclarations (leading to early cancellation) and strongselfcaptures within Observable chains. - Use Case: If your iOS app is experiencing unexplained memory growth or crashes, activate this Skill to scan your RxSwift code and pinpoint exact locations of potential memory leaks, providing immediate fixes and best practice guidance.
Quick Start
Check 'UserViewModel.swift' for RxSwift memory leaks.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: rxswift-memory-check Download link: https://github.com/daispacy/py-claude-marketplace/archive/main.zip#rxswift-memory-check Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.