AF swift-concurrency
Expert guidance on Swift Concurrency best practices, patterns, and implementation. Use when developers mention: (1) Swift Concurrency, async/await, actors, or tasks, (2) "use Swift Concurrency" or "modern concurrency patterns", (3) migrating to Swift 6, (4) data races or thread safety issues, (5) refactoring closures to async/await, (6) @MainActor, Sendable, or actor isolation, (7) concurrent code architecture or performance optimization, (8) concurrency-related linter warnings (SwiftLint or similar; e.g. async_without_await, Sendable/actor isolation/MainActor lint).
As a process F 41/100 · Will not run — References files that are not bundled: references/async-await-basics.md, references/tasks.md, references/actors.md
How to improve
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 0
✓ No critical or high findings
Files scanned: 2. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: references/async-await-basics.md - warning
missing-refreference to a missing file: references/tasks.md - warning
missing-refreference to a missing file: references/actors.md - warning
missing-refreference to a missing file: references/sendable.md - warning
missing-refreference to a missing file: references/async-sequences.md - warning
missing-refreference to a missing file: references/core-data.md - warning
missing-refreference to a missing file: references/migration.md - warning
missing-refreference to a missing file: references/performance.md - warning
missing-refreference to a missing file: references/testing.md - warning
missing-refreference to a missing file: references/threading.md - warning
missing-refreference to a missing file: references/memory-management.md - warning
missing-refreference to a missing file: references/linting.md - warning
missing-refreference to a missing file: references/glossary.md - note
frontmatter-keyunknown frontmatter key "domain" - note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 41/100
- 0Tools and files. 13 referenced file(s) missing: references/async-await-basics.md, references/tasks.md, references/actors.md
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 30Running it twice. 15 mutating operations with no state check
- 50When it triggers. No condition that starts the skill
- 70Failures and branches. 4 branches
- 85Steps. 87 steps, 1 vague phrases
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2662 tokens
- low 12 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +5Description quotes 2 example trigger phrases
- +3Description length 573: enough signal without eating the budget
- +4Structure: 16 headings
- +3Step-by-step instructions: 87 items
- +4Has examples (9 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 75.