smithery/pluginagentmarketplace

ios-data

Master iOS data persistence - SwiftData, Core Data, Keychain, CloudKit

Installation

$ npx skills add smithery/pluginagentmarketplace --skill ios-data

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/pluginagentmarketplace · top by installs.

npx skills add smithery/pluginagentmarketplace

Browse all from smithery/pluginagentmarketplace

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version2.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,103 B
  • docs SUMMARY.md 86 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

iOS Data Persistence Skill

Store, sync, and secure data in iOS applications

Learning Objectives

By completing this skill, you will:

  • Implement data persistence with SwiftData (iOS 17+)
  • Master Core Data for complex data models
  • Secure sensitive data with Keychain
  • Sync data across devices with CloudKit

Prerequisites

Requirement Level
iOS Fundamentals Completed
Swift Intermediate

Storage Decision Matrix

Storage Type Use Case Encrypted Synced
UserDefaults Settings No Optional
File System Documents Optional Optional
Keychain Secrets Yes Optional
SwiftData Structured data No Optional
Core Data Complex models No Optional
CloudKit Cross-device Yes Yes

Curriculum

Module 1: UserDefaults & AppStorage (2 hours)

Topics:

  • UserDefaults basics
  • @AppStorage in SwiftUI
  • App Groups for sharing

Module 2: SwiftData (iOS 17+) (6 hours)

Topics:

  • @Model macro
  • ModelContext and @Query
  • Relationships and migrations

Module 3: Core Data (6 hours)

Topics:

  • NSManagedObject
  • NSFetchRequest
  • Background contexts
  • Migrations

Module 4: Keychain (4 hours)

Topics:

  • Keychain Services API
  • Biometric access control
  • Secure wrapper implementation

Module 5: CloudKit (5 hours)

Topics:

  • CKContainer and databases
  • CKRecord operations
  • Sync strategies

Assessment Criteria

Criteria Weight
Storage selection 20%
SwiftData/Core Data 30%
Keychain security 25%
CloudKit sync 25%

Skill Validation

  1. Settings Manager: UserDefaults with AppStorage
  2. Task App: SwiftData with relationships
  3. Secure Vault: Keychain with biometrics
  4. Syncing Notes: CloudKit integration