axiom-data

Manage data persistence, schema migrations, and serialization across SwiftData, Core Data, and GRDB.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-data
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-data
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a centralized, safety-focused framework for managing all data persistence, database migrations, and serialization tasks, preventing common pitfalls like data loss, N+1 query patterns, and thread-safety errors.

Core Features & Use Cases

  • Database Management: Standardized patterns for SwiftData, Core Data, GRDB, and SQLiteData.
  • Migration Safety: Critical guardrails and diagnostic tools to ensure schema changes never result in data loss.
  • Serialization & Sync: Robust handling of Codable patterns and CloudKit/iCloud sync architectures.
  • Use Case: When migrating a production database schema or implementing a complex CloudKit sync engine, this skill provides the exact diagnostic steps and architectural patterns to ensure data integrity.

Quick Start

Use the axiom-data skill to audit my current SwiftData model for potential migration risks and performance bottlenecks.

Frequently Asked Questions about axiom-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely execute a Core Data or SwiftData database schema migration without losing data?

To execute a safe database schema migration, this skill provides critical guardrails and diagnostic tools that audit your Core Data or SwiftData models to prevent data loss during structural changes. It standardizes migration patterns to ensure data integrity across your database versions.

What is the best way to set up CloudKit sync architecture for a Swift persistent database?

Setting up CloudKit sync architecture requires robust handling of iCloud configurations and serialization logic. This skill facilitates architectural decisions for CloudKit sync engines, ensuring your local database synchronizes correctly without thread-safety errors or data conflicts.

How do I audit Codable patterns and SwiftData models for performance bottlenecks?

Auditing Codable patterns and SwiftData models involves checking for N+1 query patterns and serialization risks. This skill provides automated diagnostic steps to identify performance bottlenecks and ensure data integrity in your persistence layer before deployment.

Does this skill support managing GRDB and SQLiteData alongside SwiftData?

Yes, this skill supports managing GRDB and SQLiteData alongside SwiftData and Core Data. It provides standardized patterns for complex data persistence across multiple database frameworks, allowing you to maintain a unified data management strategy within a single application.

Why do my SwiftData migrations result in data loss or thread-safety errors?

SwiftData migrations result in data loss or thread-safety errors when lacking proper guardrails and standardized patterns. This skill prevents common pitfalls by providing centralized, safety-focused frameworks for managing serialization and schema changes securely during production updates.

When do I need to use Keychain for secure credential management in a Swift database app?

You need to use Keychain for secure credential management when handling sensitive user data outside of your standard database. This skill facilitates architectural decisions for file storage strategies and secure credential management via Keychain alongside your persistence layer.