write-swift
Write Modern Swift with Confidence
Outdated Swift patterns can create concurrency errors, unclear APIs, and avoidable performance costs. This skill provides current Swift 6 guidance for implementation, review, and migration.
Mit meinem Agent installieren
Kopieren Sie diese Anfrage in Ihren Agent. Sie enthält die maßgebliche Skill-Seite und das Manifest.
Review the Skillstore skill "write-swift" from https://skillstore.io/skills/emilkowalski-write-swift.md and its manifest at https://skillstore.io/api/skills/emilkowalski-write-swift/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Ihr Agent sollte weiterhin seinen Plan anzeigen und alle von der Sicherheitsrichtlinie verlangten Bestätigungen anfordern.
Agent-lesbare Ressourcen
Verwenden Sie diese Links, wenn ein KI-Agent, Crawler oder Skript sauberen Kontext benötigt, statt die vollständige Seite zu lesen.
Testen
„write-swift“ wird verwendet. Should this shared cache be a class, actor, or value type?
Erwartetes Ergebnis:
- Use an actor when multiple tasks must mutate the same cache.
- Keep values crossing the actor boundary Sendable.
- Recheck cached state after suspension points to handle actor reentrancy.
„write-swift“ wird verwendet. Review a function that starts one detached task for every image.
Erwartetes Ergebnis:
- Replace detached tasks with a bounded task group.
- Preserve cancellation and priority through structured concurrency.
- Measure image processing before adding parallel work.
„write-swift“ wird verwendet. How should an XCTest suite move to Swift Testing?
Erwartetes Ergebnis:
- Keep required UI and performance tests in XCTest.
- Write new unit tests with Test, expect, and require.
- Migrate existing tests incrementally and preserve independent execution.
Sicherheitsaudit
SicherThe skill is a documentation-only Swift programming guide with no executable scripts or runtime integrations. All static findings are false positives caused by Markdown backticks, Swift macros, or ordinary technical prose, and no prompt injection or malicious intent was found.
Risikofaktoren
⚡ Enthält Skripte (1)
⚙️ Externe Befehle (50)
Diesen Bericht teilen & zitieren
Teile den versionierten Bewertungsbericht, das neutrale Badge, die Einbettungskarte und Zitate. Skillstore berichtet Nachweise, ohne zu entscheiden, ob dieser Skill sicher ist.
Berichtslink kopieren
https://skillstore.io/skills/emilkowalski-write-swift/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown-Badge
[](https://skillstore.io/skills/emilkowalski-write-swift?utm_source=security_passport_badge)HTML-Badge
<a href="https://skillstore.io/skills/emilkowalski-write-swift?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/emilkowalski-write-swift/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Einbettungskarte
<iframe src="https://skillstore.io/embed/skills/emilkowalski-write-swift.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Wissenschaftliche Zitate (APA · BibTeX · CFF)
APA-Zitat
emilkowalski. (2026). write-swift security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/emilkowalski-write-swift/audits/1BibTeX-Zitat
@techreport{emilkowalski-emilkowalski-write-swift-2026,
author = {emilkowalski},
title = {write-swift security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/emilkowalski-write-swift/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "write-swift security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "emilkowalski"
date-released: "2026-08-22"
url: "https://skillstore.io/skills/emilkowalski-write-swift/audits/1"
identifiers:
- type: other
value: "skillstore:emilkowalski-write-swift:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore-Score
Warum dieser Score Evidenzvertrauen: MittelWas Sie erstellen können
Build a New Swift Feature
Choose clear data models, error handling, isolation, and tests before implementing a feature.
Review a Swift Codebase
Identify outdated concurrency, abstraction, memory, testing, and performance patterns during code review.
Migrate to Swift 6
Sequence compiler upgrades, concurrency checks, warning fixes, and language mode changes across targets.
Diese Prompts ausprobieren
Design a Swift model for [domain]. Explain whether each type should be a struct, enum, actor, or class, and state why.
Review this Swift function for clarity, error handling, ownership, and modern syntax. Explain each recommended change and respect Swift [version].
Analyze this Swift concurrency error or hang. Trace actor isolation and Sendable boundaries, then propose the smallest data-race-safe correction.
Create a target-by-target Swift 6 migration plan for [project]. Prioritize concurrency warnings, preserve behavior, define verification steps, and separate later refactoring.
Bewährte Praktiken
- Provide the Swift version, platform targets, and relevant build settings.
- Include compiler diagnostics, surrounding types, and isolation annotations when debugging concurrency.
- Profile representative tests before requesting performance-specific changes.
Vermeiden
- Do not adopt unreleased Swift features without checking the active toolchain.
- Do not silence Sendable errors with unchecked annotations before fixing ownership or isolation.
- Do not combine a Swift 6 migration with unrelated architectural refactoring.
Häufig gestellte Fragen
Which Swift version does this skill target?
Can it help fix data-race diagnostics?
Does it replace compiler and runtime testing?
Can it review SwiftUI concurrency?
Does it cover performance optimization?
Can XCTest and Swift Testing coexist?
Entwicklerdetails
Autor
emilkowalskiLizenz
MIT
Skillstore-Revision
r1
Versionshinweis
Der Autor hat keine Version angegeben.
Ref.
3adcd1428e73b613104c9b79f577e875669f01c5
Aktualität der Wartung
22.8.2026
Nutzung
0 Downloads · 0 Aufrufe
Dateistruktur
📄 SKILL.md