Swift development: concurrency patterns, async/await, actors, testing with XCTest and Swift Testing framework.
npx skills add https://github.com/notque/vexjoy-agent --skill swift
Swift concurrency and testing: async/await, Actors, TaskGroups, Sendable, structured concurrency, XCTest, Swift Testing framework, and async test patterns.
| Signal | Reference | Size |
|--------|-----------|------|
| async/await, Task, Sendable | references/fundamentals.md | ~20 lines |
| Actor, @MainActor, nonisolated | references/actor-isolation.md | ~20 lines |
| TaskGroup, AsyncSequence, AsyncStream, cancellation | references/task-patterns.md | ~20 lines |
| Failure modes, common mistakes | references/preferred-patterns.md | ~20 lines |
| concurrency overview, structured concurrency patterns | references/swift-concurrency.md | ~30 lines |
| XCTest, Swift Testing, test doubles, async tests, UI tests | references/swift-testing.md | ~250 lines |
Loading rule. Read the references whose signals match the task before responding.
TaskGroup over loose Task { } whenever possible; structured tasks propagate cancellation and errors automatically.-strict-concurrency=complete) and resolve all warnings before they become errors in Swift 6.Task stored in a property should have a corresponding cancellation path.testFetchUser_withExpiredToken_throwsAuthError is better than testFetch2.@Test and #expect when targeting Swift 5.9+; fall back to XCTest for older targets or UI tests.Determine what kind of Swift work is needed:
| Request type | Load references | Action |
|-------------|----------------|--------|
| Concurrency patterns | fundamentals, actor-isolation, task-patterns | Pattern guidance |
| Concurrency mistakes | preferred-patterns | Failure mode detection |
| Write tests | swift-testing | Test authoring |
| Async test patterns | swift-testing + fundamentals | Async test guidance |
| Full concurrency review | swift-concurrency + all concurrency refs | Full review pass |
Gate: Request classified and relevant references loaded.
Apply loaded reference knowledge to the user's code or question.
For concurrency work:
For testing work:
@Test, #expect) for new code on Swift 5.9+@dataProvider-style parameterized tests with arguments:Gate: Specific, reference-backed feedback or code provided.
Run the test suite and confirm:
swift test --enable-code-coverage
swift build
Gate: All tests pass. Build succeeds with strict concurrency checking.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use when implementing any feature or bugfix, before writing implementation code
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.
Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding assays, expression testing, thermostability measurements, enzyme activity assays, or protein sequence optimization. Also use for submitting experiments via API, tracking experiment status, downloading results, optimizing protein sequences for better expression using computational tools (NetSolP, SoluProt, SolubleMPNN, ESM), or managing protein design workflows with wet-lab validation.
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.
Take notque/swift from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.