immutable-model-updates
CommunityImmutable, thread-safe updates for Swift models.
Authorshimo4228
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Swift apps that manage state risk unpredictable mutations; this Skill provides an immutable pattern using factory methods to create updated copies of models, improving safety and testability.
Core Features & Use Cases
- Create initial immutable models with a safe starting state.
- Update without mutation using factory methods that return new instances.
- Apply to SwiftUI and concurrent code to maintain thread-safety and ease testing.
Quick Start
Create an initial immutable ProgressRecord for a given questionId and update it after a review using the provided factory methods.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: immutable-model-updates Download link: https://github.com/shimo4228/claude-code-learned-skills/archive/main.zip#immutable-model-updates Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.