Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentMédio

Swift Actors for Thread-Safe Persistence

poraffaan-m·affaan-m· v1.0.0 · atualizado em 2026-04-10
78
Score

Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design.

swiftactorsconcurrencydata-persistenceiosoffline-firstthread-safety
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdswift-actor-persistence/workflow
1. Define a `Codable` and `Identifiable` data model.
2. Create a `LocalRepository` actor with in-memory cache and file URL.
3. Implement `save`, `delete`, `find`, and `loadAll` methods within the actor.
4. Use `JSONEncoder` and `JSONDecoder` for persisting data to a file.
5. Load data synchronously during actor initialization.
6. Integrate the repository with a `@Observable` ViewModel for UI updates.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Similar aSwiftUI Performance Audit
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
83
Similar aArchitecting Flutter Layouts
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
83
Similar aArchitecting Flutter Applications
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
79
Similar a ←Speech Recognition
40%
Hebbian Synapse
Composite0.400
w = 0.3·α + 0.5·β + 0.2·γ
83

Árvore do Skill

Swift Actors for Thread-Safe Persistence
swift-actor-persistence
Fases Cognitivas5
1.SENSE
2.CONTEXTUALIZE
3.RECOMMEND
4.ACT
5.REFLECT
Triggers6
implement thread-safe data persistence in Swiftuse Swift actors for data storagebuild an offline-first iOS app with local storagecreate a data repository using Swift concurrencypersist data using actors in Swifteliminate data races with Swift actors

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download swift-actor-persistence
$ synaptic skills detail swift-actor-persistence
$ synaptic skills live swift-actor-persistence

Links

GitHub Repository