swift-actor-persistence
✓Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design.
Installation
SKILL.md
Patterns for building thread-safe data persistence layers using Swift actors. Combines in-memory caching with file-backed storage, leveraging the actor model to eliminate data races at compile time.
The actor model guarantees serialized access — no data races, enforced by the compiler.
| Actor (not class + lock) | Compiler-enforced thread safety, no manual synchronization | | In-memory cache + file persistence | Fast reads from cache, durable writes to disk | | Synchronous init loading | Avoids async initialization complexity | | Dictionary keyed by ID | O(1) lookups by identifier |
Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design. Source: affaan-m/everything-claude-code.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/affaan-m/everything-claude-code --skill swift-actor-persistence- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-17
- Updated
- 2026-02-18
Quick answers
What is swift-actor-persistence?
Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design. Source: affaan-m/everything-claude-code.
How do I install swift-actor-persistence?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/affaan-m/everything-claude-code --skill swift-actor-persistence Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/affaan-m/everything-claude-code
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-17