ios-chaos-monkey
ios-chaos-monkey helps developers identify hidden concurrency issues in Swift iOS applications by simulating chaotic conditions and stress scenarios. It detects data races, deadlocks, and thread-safety violations that traditional testing often misses, enabling more resilient mobile code.
ios-chaos-monkey helps developers identify hidden concurrency issues in Swift iOS applications by simulating chaotic conditions and stress scenarios. It detects data races, deadlocks, and thread-safety violations that traditional testing often misses, enabling more resilient mobile code.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-24
ios-chaos-monkey helps developers identify hidden concurrency issues in Swift iOS applications by simulating chaotic conditions and stress scenarios. It detects data races, deadlocks, and thread-safety violations that traditional testing often misses, enabling more resilient mobile code.
Use it when
- ios-chaos-monkey audits memory management patterns in Swift iOS code to identify retain cycles, use-after-free crashes, and memory leaks.
- Yes.
Verify before relying
Read SKILL.md below before installing (51 files). Open directory: indexed for reading, not audited.
Install
pproenca/dot-skills/ios-chaos-monkey · repository language: Shell
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does ios-chaos-monkey help find and fix in iOS crash debugging?
ios-chaos-monkey helps developers identify hidden concurrency issues in Swift iOS applications by simulating chaotic conditions and stress scenarios. It detects data races, deadlocks, and thread-safety violations that traditional testing often misses, enabling more resilient mobile code.
How does ios-chaos-monkey detect memory leaks and retain cycles?
ios-chaos-monkey audits memory management patterns in Swift iOS code to identify retain cycles, use-after-free crashes, and memory leaks. By stress-testing concurrent access patterns and async/await flows, it reveals memory corruption issues that surface under chaotic load conditions rather than normal execution.
Can ios-chaos-monkey audit async/await and structured concurrency?
Yes. ios-chaos-monkey audits async/await and structured concurrency for cancellation leaks, continuation leaks, and actor isolation problems. It helps identify MainActor blocking, resource exhaustion in concurrent tasks, and Swift Sendable data race violations that emerge under stress.
Does ios-chaos-monkey stress-test file I/O and SwiftData?
ios-chaos-monkey stress-tests file I/O and SwiftData persistence layers for corruption and context misuse crashes. It simulates chaotic conditions to expose race conditions in CoreData cross-thread access and SwiftData concurrency violations that normal testing overlooks.
How can I use ios-chaos-monkey with test-driven development?
ios-chaos-monkey supports writing proof-of-crash tests before implementing fixes using TDD. Write tests that reproduce concurrency bugs under chaotic conditions, then implement fixes to pass them—enabling confident refactoring of thread-safety violations and async/await deadlocks.
What license does ios-chaos-monkey use?
ios-chaos-monkey is released under the MIT license, making it free to use, modify, and distribute in both open-source and commercial iOS projects.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
iOS Chaos Monkey — Crash-Hunter Best Practices
Adversarial crash-hunting guide for iOS and Swift applications. Contains 47 rules across 8 categories, prioritized by crash severity. Every rule follows TDD: dangerous code first, a failing test that proves the bug, then the fix that makes the test pass.
Clinic Architecture Contract (iOS 26 / Swift 6.2)
All guidance in this skill assumes the clinic modular MVVM-C architecture:
- Feature modules import
Domain+DesignSystemonly (neverData, never sibling features) - App target is the convergence point and owns
DependencyContainer, concrete coordinators, and Route Shell wiring Domainstays pure Swift and defines models plus repository,*Coordinating,ErrorRouting, andAppErrorcontractsDataowns
(truncated - see the full file via the links below)
File tree — 15 files
skills/.experimental/ios-chaos-monkey/SKILL.md
skills/.experimental/ios-chaos-monkey/assets/templates/_template.md
skills/.experimental/ios-chaos-monkey/metadata.json
skills/.experimental/ios-chaos-monkey/references/_sections.md
skills/.experimental/ios-chaos-monkey/references/async-actor-hop-starvation.md
skills/.experimental/ios-chaos-monkey/references/async-continuation-leak.md
skills/.experimental/ios-chaos-monkey/references/async-detached-task-leak.md
skills/.experimental/ios-chaos-monkey/references/async-missing-cancellation.md
skills/.experimental/ios-chaos-monkey/references/async-task-group-error.md
skills/.experimental/ios-chaos-monkey/references/async-unsafe-sendable.md
skills/.experimental/ios-chaos-monkey/references/dead-actor-reentrancy.md
skills/.experimental/ios-chaos-monkey/references/dead-mainactor-blocking.md
skills/.experimental/ios-chaos-monkey/references/dead-queue-hierarchy.md
skills/.experimental/ios-chaos-monkey/references/dead-recursive-lock.md
skills/.experimental/ios-chaos-monkey/references/dead-semaphore-in-async.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Find and fix data races, deadlocks, and concurrency bugs in Swift iOS code”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
axiom-concurrency equips AI coding assistants with expert-level Swift 6 concurrency knowledge to eliminate data races and isolation violations. This skill covers modern async/await patterns, actor isolation, and sendability constraints—essential for building robust Apple OS applications. Prevent crashes and memory issues before they reach users.
This skill systematically scans Swift codebases for concurrency anti-patterns that cause data races, UI freezes, and resource leaks. It maps isolation architecture, identifies unsafe task captures and delegate patterns, verifies actor boundaries, and flags missing concurrency safeguards—then cross-references findings to surface compound risks that static analysis alone might miss.
Navigate Swift's modern concurrency model with patterns for async/await, structured task management, actor-based isolation, and Swift 6.2 features. This skill guides you through compiler errors, data race prevention, and migration strategies—whether you're bridging legacy APIs or adopting strict concurrency in new code.
axiom-audit-swiftdata equips AI coding assistants with specialized knowledge to identify problematic patterns in SwiftData model definitions. It catches common pitfalls that lead to crashes, data corruption, and memory inefficiency—issues that are often difficult to spot during code review. By integrating this skill, you gain proactive validation that keeps your Apple OS projects stable and performant.
This skill helps developers resolve Swift concurrency compiler diagnostics, data-race warnings, and isolation boundary issues. It provides structured guidance for refactoring callback-based code to async/await patterns and supports Swift 6 migration across tasks, actors, @MainActor, Sendable conformance, and thread-safety concerns. The skill emphasizes smallest-safe-change fixes grounded in project settings and isolation context.
This skill equips AI agents with the knowledge to architect scalable data persistence solutions in Swift using SwiftData's modern ORM capabilities. It covers entity modeling, repository patterns, and clean architecture principles tailored for MVVM-C workflows. Developers gain practical guidance on structuring data layers that remain maintainable as iOS projects grow in complexity.
More skills Core Data (NOASSERTION) · ios-testing (MIT)