plugins/swift-apple-expert/skills/swift-core/SKILL.md
Swift 6 fundamentals for all Apple platforms. Use when implementing concurrency, architecture, testing, i18n, or performance optimization across iOS, macOS, iPadOS, watchOS, visionOS.
npx skillsauth add fusengine/agents swift-coreInstall 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.
Swift 6 fundamentals shared across all Apple platforms.
Before ANY implementation, use TeamCreate to spawn 3 agents:
After implementation, run fuse-ai-pilot:sniper for validation.
| Feature | Benefit | |---------|---------| | Actors | Thread-safe shared state without locks | | @Observable | Simple reactive state (replaces ObservableObject) | | String Catalogs | Automatic localization with Xcode 15+ | | Instruments | Built-in performance profiling |
Modern async/await with strict concurrency checking. Actors provide thread-safe state, Sendable marks safe types.
MVVM with @Observable is the recommended pattern. Clean Architecture for complex apps with domain separation.
XCTest with native async/await support. No need for expectations with async tests.
String Catalogs are mandatory. All user-facing text must be localized.
Profile with Instruments. Use lazy loading, avoid heavy work in view body.
| Need | Reference | |------|-----------| | Async/await, actors, Sendable | concurrency.md | | MVVM, Clean Architecture, DI | architecture.md | | XCTest, async tests, mocking | testing.md | | String Catalogs, localization | i18n.md | | Instruments, optimization | performance.md |
-O optimizationdevelopment
Use when optimizing entity-based / semantic SEO 2026. Covers entity maps, Google Knowledge Graph resolution, salience scoring, passage-level ranking, about/sameAs/knowsAbout schema, Cloud Natural Language API validation.
development
Use when running SEO, GEO, schema, Core Web Vitals, sitemap, hreflang, E-E-A-T, AI Overviews, technical SEO, or structured data tasks. Covers full-site audits, single-page analysis, schema markup, content quality, AI search optimization, local SEO, sitemap/robots, internal linking, semantic clustering, and search experience.
development
Use when optimizing search experience (SXO). Covers intent matching, user personas, user stories, page-type analysis, dwell time, scroll depth, pogo-sticking prevention.
development
Use when optimizing local SEO. Covers Google Business Profile, NAP consistency, citations, reviews acquisition, Local Pack ranking, location pages, LocalBusiness schema.