pproenca avatar

Ios Chaos Monkey

This is a crash-hunting checklist for Swift 6.2 and iOS 26 codebases built on the clinic MVVM-C architecture. It gives you 47 TDD-style rules across data races, memory leaks, deadlocks, async/await traps, and SwiftData misuse. Each rule follows the same pattern: show the dangerous code, write a test that proves the crash, then fix it. Reach for this when you're debugging EXC_BAD_ACCESS, hunting retain cycles in coordinators, or dealing with weird SwiftData context threading issues. The categories are prioritized by severity, so you can start with the critical stuff like concurrent dictionary writes and actor reentrancy before worrying about Objective-C interop edge cases.

skills.sh installs
267
GitHub stars
222
last updated
Aug 21, 2026

Install

$ npx -y skills add pproenca/dot-skills --skill ios-chaos-monkey --agent claude-code

Installs into .claude/skills of the current project.

Files

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 SwiftData/network/sync/retry/background I/O and implements Domain protocols
  • Read/write flow defaults to stale-while-revalidate reads and optimistic queued writes
  • ViewModels call repository protocols directly (no default use-case/interactor layer)

When to Apply

Sponsors

Details

Repository
github.com/pproenca/dot-skills
Categories
Testing & QA, Code Review & Quality, Debugging, Mobile Development
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100
1awslabs avataraws-lambdaawslabs/agent-pluginsDesign, build, deploy, test, and debug serverless applications with AWS Lambda. Triggers on phrases like: Lambda function, event source, serverless application,260skills.sh installs
2casper-studios avataragent-browsercasper-studios/casper-marketplaceBrowser automation and testing using Vercel's agent-browser CLI with ref-based element targeting257skills.sh installs
3patricio0312rev avatarvscode-rest-client-generatorpatricio0312rev/skillsGenerates .http files for the VS Code REST Client extension from Express, Next.js, Fastify, or other API routes. Creates organized request files with variables,255skills.sh installs
4guia-matthieu avatarcta-writingguia-matthieu/clawfu-skillsMaster the art of calls-to-action that convert. Direct CTAs, transitional CTAs, button copy, and microcopy that turns readers into customers. Use when: Writing 246skills.sh installs
5microsoft avatarunit-testsmicrosoft/vscodeUse when running unit tests in the VS Code repo. Covers the runTests tool, scripts/test.sh (macOS/Linux) and scripts/test.bat (Windows), and their supported arg241skills.sh installs
6martinholovsky avatarappsec-expertmartinholovsky/claude-skills-generatorElite Application Security engineer specializing in secure SDLC, OWASP Top 10 2025, SAST/DAST/SCA integration, threat modeling (STRIDE), and vulnerability remed240skills.sh installs