$npx skillfedfor your agent

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

182 14 MITupdated by pproenca

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.

manual: git clone https://github.com/pproenca/dot-skills → cp -r dot-skills/skills/.experimental/ios-chaos-monkey ~/.claude/skills/ios-chaos-monkey
skills/.experimental/ios-chaos-monkey/SKILL.md · version 7354ebdb

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.

Same gist for agents: .md · .json

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 + DesignSystem only (never Data, never sibling features)
  • App target is the convergence point and owns DependencyContainer, concrete coordinators, and Route Shell wiring
  • Domain stays pure Swift and defines models plus repository, *Coordinating, ErrorRouting, and AppError contracts
  • Data owns

(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
by CharlesWiltgen · CharlesWiltgen/Axiom

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.

MITupdated Jul 2026
★ 1,095repo stars
axiom-audit-concurrency
by CharlesWiltgen · CharlesWiltgen/Axiom

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.

MITupdated Jul 2026
★ 1,095repo stars
concurrency-patterns
by rshankras · rshankras/claude-code-apple-skills

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.

MITupdated Jul 2026
★ 565repo stars
axiom-audit-swiftdata
by CharlesWiltgen · CharlesWiltgen/Axiom

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.

MITupdated Jul 2026
★ 1,095repo stars
swift-concurrency
by AvdLee · AvdLee/Swift-Concurrency-Agent-Skill

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.

MITupdated May 2026
★ 1,604repo stars
swift-data
by pproenca · pproenca/dot-skills

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.

MITupdated Jul 2026
★ 182repo stars

More skills Core Data (NOASSERTION) · ios-testing (MIT)

Tags
crash-huntingconcurrency-safetymemory-managementthread-safetypersistence-layerasync-patternsresource-leakstest-driven-debugging