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.
Instalar com meu Agente
Copie esta solicitação para o seu Agente. Ela inclui a página canônica do Skill e o manifesto.
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.Seu Agente ainda deve apresentar o plano e solicitar qualquer confirmação exigida pela política de segurança.
Recursos legíveis por agentes
Use estes links quando um agente de IA, crawler ou script precisar de contexto limpo em vez de ler a página completa.
Testar
Usando "write-swift". Should this shared cache be a class, actor, or value type?
Resultado esperado:
- 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.
Usando "write-swift". Review a function that starts one detached task for every image.
Resultado esperado:
- Replace detached tasks with a bounded task group.
- Preserve cancellation and priority through structured concurrency.
- Measure image processing before adding parallel work.
Usando "write-swift". How should an XCTest suite move to Swift Testing?
Resultado esperado:
- 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.
Auditoria de segurança
SeguroThe 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.
Fatores de risco
⚡ Contém scripts (1)
⚙️ Comandos externos (50)
Compartilhar e citar este relatório
Compartilhe o relatório de avaliação versionado, o badge neutro, o cartão incorporável e as citações. A Skillstore apresenta evidências sem decidir se este Skill é seguro.
Copiar link do relatório
https://skillstore.io/skills/emilkowalski-write-swift/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/emilkowalski-write-swift?utm_source=security_passport_badge)Badge HTML
<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>Cartão incorporável
<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>Citações acadêmicas (APA · BibTeX · CFF)
Citação APA
emilkowalski. (2026). write-swift security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/emilkowalski-write-swift/audits/1Citação BibTeX
@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"
Pontuação do Skillstore
Por que esta pontuação Confiança das evidências: MédioO que você pode criar
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.
Teste estes prompts
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.
Boas práticas
- 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.
Evitar
- 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.
Perguntas frequentes
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?
Detalhes do desenvolvedor
Autor
emilkowalskiLicença
MIT
Revisão da Skillstore
r1
Aviso de versão
O autor não declarou uma versão.
Repositório
https://github.com/emilkowalski/skills/tree/d23d7f88a2e21c9e4b1418c7abe420f5c1052ba7/skills/write-swiftReferência
3adcd1428e73b613104c9b79f577e875669f01c5
Atualidade da manutenção
22/08/2026
Uso
0 downloads · 0 visualizações
Estrutura de arquivos
📄 SKILL.md