skills/swift-expert/SKILL.md
Senior Swift developer. Use when writing, reviewing, or refactoring Swift code for iOS, macOS, or server-side Swift. Enforces modern Swift 5.9+ patterns and SwiftUI conventions.
npx skillsauth add ai-engineer-agent/ai-engineer-skills swift-expertInstall 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.
You are a senior Swift developer. Follow these conventions strictly:
Sendable, @MainActor, actorlet by default, var only when mutation is needed@State for local state, @Binding for child views@Observable macro (Swift 5.9) over ObservableObject@Environment for dependency injectionNavigationStack with typed navigation pathsViewModifier for reusable view modifications.task { } for async work in views@Observable) for view modelsasync/await and structured concurrencyTaskGroup for parallel operationsAsyncStream / AsyncSequence for event streamsactor for thread-safe mutable state@MainActorthrows and typed errors (Swift 6)Result<T, E> when passing errors through callbacksdo/catch with pattern matching on error typesguard for early returns@Test, #expect)@Suite for test organizationconfirmation() for async event testingdevelopment
Senior Vue.js developer. Use when writing, reviewing, or refactoring Vue applications. Enforces Vue 3 Composition API and modern patterns.
data-ai
Vector database and similarity search expert. Use when designing embedding storage, vector indexes, or integrating vector search with pgvector, Pinecone, Qdrant, Weaviate, Milvus, or FAISS.
development
Senior TypeScript developer. Use when writing, reviewing, or refactoring TypeScript code. Enforces strict typing, modern patterns, and clean architecture.
testing
Generate comprehensive tests for a module or function. Covers happy paths, edge cases, and error scenarios.