ios-stability-solutions/SKILL.md
Crash-prevention and production stability patterns for iOS. Use when hardening an app, designing features for stability, or building a TDD safety net around critical business logic.
npx skillsauth add peterbamuhigire/skills-web-dev ios-stability-solutionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ios-stability-solutions or would be better handled by a more specific companion skill.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.Patterns for creating stable, crash-free iOS apps. Synthesised from iOS Developer Solutions Guide (Narendar Singh Saini).
The book classifies all iOS bugs into three classes with distinct prevention strategies:
Prevention: Master the language. Gaps in Swift knowledge directly cause compile errors.
Key areas: functional operators (map, filter, flatMap, reduce, compactMap),
all initialiser types (designated, convenience, required, failable init?, throwable init throws),
property types (stored, lazy stored, computed, observers, wrappers), optional unwrapping
hierarchy, protocols, generics, async/await.
Prevention: TDD. These compile and run but produce wrong output. They survive manual QA. Users report them after release. Only unit test cases reliably catch them.
Prevention: Optional safety + throwable functions + do-catch coverage (see Section 2).
Extended guidance for ios-stability-solutions was moved to references/skill-deep-dive.md to keep this entrypoint compact and fast to load.
Use that deep dive for:
2. Optional Safety Hierarchy — Eliminate Force Unwrap3. Throwable Functions for Error Propagation4. Dependency Injection — The Core of Testable, Stable Code5. SOLID Principles as Stability Rules6. TDD Safety Net — Red-Green-Refactor7. Architecture for Stability — MVVM Over Massive ViewController8. Over-Engineering as a Stability Risk9. UI Approach and Crash Surface Area10. Framework Access Levels — Public API Hardening11. Backend-Driven UI — Zero-Downtime Bug Mitigation12. DRY Principle — Prevent Inconsistency Bugs13. Bug Prevention Checklistdata-ai
Use when adding AI-powered analytics to a SaaS platform — semantic search over business data, natural language queries, trend detection, anomaly alerts, and AI-generated insights for dashboards. Covers embeddings, NL2SQL, and per-tenant analytics...
data-ai
Design AI-powered analytics dashboards — what metrics to show, how to display AI predictions and confidence, drill-down patterns, KPI cards, trend visualisation, AI Insights panels, export design, and role-based dashboard variants. Invoke when...
development
Use when designing, building, reviewing, or upgrading production software systems that must be secure, performant, maintainable, scalable, and user-centered. Apply before writing specs, code, architecture, APIs, databases, mobile apps, SaaS platforms, or ERP systems.
development
Professional web app UI using commercial templates (Tabler/Bootstrap 5) with strong frontend design direction when needed. Use for CRUD interfaces, dashboards, admin panels with SweetAlert2, DataTables, Flatpickr. Clone seeder-page.php, use...