用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/notque/vexjoy-agent --skill swift命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Run the full evidence-to-live implementation workflow for large, multi-system, multi-wave, or CPU-delegated 5 Star Booker GM programs.
Classify user requests and route to the correct agent + skill. Primary entry point for all delegated work.
Structured multi-phase workflows: review, debug, refactor (tidy, clean up, untangle messy code without behaviour change), deploy, create, research.
基于 SOC 职业分类
正在显示 SKILL.md
| 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-linting"]} |
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.