business-ops
Business operations: strategy, technology, growth, competitive intelligence, support, finance, HR, legal, operations, sales, productivity, product management.
Swift development: concurrency patterns, async/await, actors, testing with XCTest and Swift Testing framework.
$ npx -y skills add notque/vexjoy-agent --skill swift --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/swiftContext preview
The summary Claude sees to decide when to auto-load this skill.
Swift development: concurrency patterns, async/await, actors, testing with XCTest and Swift Testing framework.
name: swift
description: "Swift development: concurrency patterns, async/await, actors, testing with XCTest and Swift Testing framework."
user-invocable: false
context: fork
agent: swift-general-engineer
routing:
triggers:
- "swift concurrency"
- "swift async await"
- "Swift Actor"
- "Swift Task group"
- "swift testing"
- "XCTest"
- "Swift Testing framework"
- "async test swift"
category: swift
pairs_with:
- test-driven-development
- code-lintingSwift 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.
---
---
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: 1. Verify structured concurrency used where possible 2. Check Sendable conformance 3. Validate actor isolation boundaries 4. Confirm cancellation paths exist
For testing work: 1. Use Swift Testing (`@Test`, `#expect`) for new code on Swift 5.9+ 2. Use `@dataProvider`-style parameterized tests with `arguments:` 3. Use protocol-based mock injection 4. Use XCTest for UI tests and older targets
**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.
Essays and writing behind this toolkit live at vexjoy.com. VexJoy Agent connects plain-English requests to specialist agents, skills, and workflows. /do selects the knowledge and tools needed for your task.
Repo: notque/vexjoy-agent
Business operations: strategy, technology, growth, competitive intelligence, support, finance, HR, legal, operations, sales, productivity, product management.
Design workflows — UX copy, design systems, design critique, accessibility review, design handoff, user research synthesis. Use when writing UI copy, reviewing…
Marketing: SEO audits, campaign planning, content strategy, email sequences, competitive analysis, brand review, performance reporting.