ios-testing
>
Works with
---
name: ios-testing
description: >
license: MIT
---
# iOS Testing
Emit compile-ready Swift Testing code. All mocks are actor-based. All view models are `@MainActor`.
## Load Strategy
Always read `references/testing.md`.
If the request involves concurrency, Sendable, or actor isolation: also read `ios-architect/references/testing-concurrency-di.md`.
## Execution Contract
1. Use Swift Testing (`import Testing`) for all new tests — no XCTest unless the file already uses it.
2. Mock repositories must be `actor`-based and conform to the same protocol as the real implementation.
3. View models under test must be accessed on `@MainActor`.
4. Never use `@unchecked Sendable` — prefer `actor`, `@MainActor`, or value types.
5. Test data factories use `make{Entity}()` helpers with overridable defaults.
6. Run targeted tests to validate: `swift test --filter <TestSuite>`.
## Sister Skills
- **ios-architect** — app/feature scaffolding, Domain/Data/Presentation layers
- **ios-persistence** — GRDB setup, migrations, ValueObservation
- **ios-platform** — networking, navigation, Foundation ModelsMore Mobile skills
animation-vocabulary
emilkowalski/skills
Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.
xcode-project-setup
firebase/agent-skills
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
cross-border-ecommerce
nexscope-ai/ecommerce-skills
Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.

