dpearson2699/swift-ios-skills · core-data · SKILL.md
核心数据
构建、审查或改进未采用SwiftData的应用中的Core Data持久化。适用于处理NSManagedObject子类、用于列表驱动UI的NSFetchedResultsController、用于批量操作的NSBatchInsertRequest/NSBatchDeleteRequest/NSBatchUpdateRequest、用于持久化历史跟踪和多目标同步的NSPersistentHistoryChangeRequest、用于分阶段模式迁移的NSStagedMigrationManager(iOS 17+)、用于复合属性的NSCompositeAttributeDescription(iOS 17+),或将Core Data线程与Swift并发集成时。如需Core Data与SwiftData共存或迁移,请改用swiftdata技能。
这是公开 Agent Skill 的中文说明,由采集翻译或编辑润色,完整内容以上游 SKILL.md 为准。适用于 Cursor / Claude Code / Codex / Gemini。 打开上游 SKILL.md
安装
通用(npx skills)
npx skills add dpearson2699/swift-ios-skills -s core-data
Cursor
把该 Skill 复制到项目的 .cursor/skills/core-data/ 目录
Claude Code
/plugin marketplace add dpearson2699/swift-ios-skills