In short.
Axiom Data & Persistence is an AI assistant skill for developers building Apple apps, but its examples and audit rules need human review before they guide changes to stored user data. It combines a routing document, implementation references, diagnostic guides and seven audit procedures. Its useful detail includes migration planning, SQL parameter binding, search normalization and app extension database sharing. Conflicting examples, broad audit assumptions and unsupported performance claims limit reliance on it. No examples, integrations or audits were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers .claude-plugin/plugins/axiom/skills/axiom-data/SKILL.md and all 31 Markdown files in its skills subdirectory at commit ffafd3b3e0dbaaa60b753ca4a835ae6603b873e1, plus the repository-root LICENSE. Other Axiom skills, agent source files outside this folder, plugin installation metadata and linked external documentation are outside this scope. Assistant integration, code compilation, auditor execution, database migrations, synchronization and performance were not tested.
The overview
Resource identity
axiom-data is the Data & Persistence skill inside Charles Wiltgen's Axiom repository. The folder contains SKILL.md and 31 supporting Markdown files, including seven auditor procedures. These are instructions and reference material for an assistant, rather than an executable database library.
The source considered here is commit ffafd3b3e0dbaaa60b753ca4a835ae6603b873e1. The original folder at that revision is available at [https://github.com/CharlesWiltgen/Axiom/tree/ffafd3b3e0dbaaa60b753ca4a835ae6603b873e1/.claude-plugin/plugins/axiom/skills/axiom-data].
Practical assessment
The strongest use is as a navigation aid and a structured review checklist. It connects specific symptoms, such as a failed migration or stale widget data, to focused references. Its GRDB auditor distinguishes raw GRDB from SQLiteData and requires surrounding code to be read before reporting search matches, which helps explain the intended checks.
Reliability is uneven. For example, the Codable auditor requires snake_case mapping for camelCase properties even without evidence that the payload uses snake_case. The accompanying Codable guide itself demonstrates valid JSON with camelCase keys. Such rules can produce findings that need to be rejected after checking the actual data contract.
Who it fits
Beginners who already understand basic Swift and Xcode can use the decision trees to distinguish databases from files, local storage from cloud storage, and permanent app data from replaceable caches. The examples still assume familiarity with models, contexts, entitlements and error handling.
Experienced Apple developers get more value from the focused material on schema changes, background contexts, CloudKit failures, query plans and databases shared with widgets or extensions. Realm coverage concentrates on moving existing data to SwiftData; it is not a general Realm reference.
What it covers
Database guidance covers model definitions, queries, relationships, transactions, conflict updates and schema migrations. Dedicated guides address Realm-to-SwiftData and SwiftData-to-SQLiteData transfers, including preserving records and relationships when changing frameworks.
The SQL references go beyond basic storage: query-plan inspection, index design, streaming cursors, JSON columns, JSONB availability, FTS5 search, Unicode normalization and advanced SQLiteData queries. The Sharing reference explains shared settings, file persistence, locking and loading errors.
Cloud and file guidance covers offline operation, CloudKit database scopes and sharing, iCloud Drive coordination, file conflicts, backup exclusions and storage pressure. Keychain and cryptography topics route to other Axiom skills whose implementation files are outside this folder.
Using it
Requirements and compatibility
The inline auditor procedures require an assistant that can search and read project files. Claude Code agent execution and Axiom MCP tools are documented alternatives, but their installation, availability and model configuration are not established by this folder.
Application requirements depend on the reference being used. The SwiftData guide states iOS 17+ and Swift 5.9+, with additional features marked for OS 26 or 27. The GRDB guides state GRDB 7.9+, Swift 6.1+ and Xcode 16.3+. SQLiteData material targets version 1.12+ and generally iOS 18+/macOS 15+. The Sharing guide states that its 2.10 package manifest requires Swift tools 6.4. These are the documents' declared baselines; compatibility was not independently assessed.
How the skill works
SKILL.md maps a task or symptom to a relative reference file or an auditor. The seven auditors cover Codable, Core Data, database schemas, GRDB performance, iCloud, storage and SwiftData. Claude Code can launch a named agent or documented audit command; other assistant environments are directed to follow the same procedure inline.
The audit pattern is to map the application's architecture, search for known patterns, read matching code, consider missing handling, correlate related findings and produce severity ratings with a health label. These are assistant instructions rather than a deterministic scanner. The procedures exclude several classes of files, including tests, previews and vendor directories, so their output should not be interpreted as exhaustive application verification.
Getting started
Keep SKILL.md and its skills subdirectory together so relative references resolve. Start at SKILL.md and load the reference for the actual task. The folder documents commands such as /axiom:audit database-schema, but does not provide a complete plugin installation or host registration procedure.
App configuration is separate from loading the skill. CloudKit examples require the appropriate Xcode capability and container configuration. Shared app-and-widget database examples require matching App Group entitlements across targets. Those references describe implementation work; loading the skill does not configure the project.
Example use
Consider a released SwiftData notes app changing its stored body from plain text to rich text while retaining folders and tags. The router points toward database-migration.md, swiftdata-migration.md and the migration diagnostics guide.
The proposed approach introduces an intermediate schema containing both representations, fills the new property while the intermediate models are accessible, and then removes the legacy representation in the next schema. The guide also warns that directly persisting AttributedString needs a format-stability plan. A useful result would be a project-specific migration design with record and relationship checks against an existing store. This is an illustrative use; no migration was run.
Assessment & evidence
Important limitations
Some examples conflict with the audit procedures. The Core Data guide labels a detached-task example safe while directly accessing a private-queue context without perform. The Core Data auditor explicitly requires perform or performAndWait for that context's operations. This inconsistency matters because the example could teach the access pattern the auditor is meant to identify.
File examples also need careful review. The storage hub demonstrates a direct iCloud file write, while the iCloud Drive reference requires coordination. Several coordinated write helpers use try? for the underlying write and only propagate coordination errors; reading the code indicates that a file write failure could be swallowed.
Migration examples do not establish migration safety. The SwiftData migration sample creates separate containers using an in-memory configuration, rather than demonstrating reopening an existing disk store. Several SwiftData pages also make blanket claims about simulator rebuilds deleting databases, whereas the Core Data diagnostics distinguish reset or empty simulators from preserved stores. No code, audit accuracy or runtime behavior was tested.
How to interpret its guidance
The useful principle is to connect an implementation choice to the data it must preserve. The migration material separates fresh installation from upgrades, and the sync material considers offline work and conflicting edits. Those are useful questions to carry into a project review, even when an example needs correction.
Recommendations should be reconciled across files. The SwiftData guide's duplicate-removal example selects by timestamp and deletes other records without merging their fields. The cloud diagnostics instead call for a stable deterministic winner and merging user changes before deletion. The former example therefore leaves preservation of divergent edits unresolved.
Performance multipliers and throughput figures are author claims, not established results for a reader's application. The SQLiteData migration and advanced-query references provide numbers without a reproducible benchmark harness, hardware description or complete workload. They do not justify a framework migration by themselves.
Alternative sources and approaches
For direct library documentation, the folder links to GRDB [https://github.com/groue/GRDB.swift], SQLiteData [https://github.com/pointfreeco/sqlite-data] and Sharing [https://github.com/pointfreeco/swift-sharing]. Their current documentation and compatibility have not been independently assessed here.
Within the skill, SwiftData is positioned for straightforward SwiftUI persistence, SQLiteData for value types and CloudKit sharing, GRDB for SQL control, and Core Data for existing applications or particular framework needs. These are starting points for a decision; the folder's conflicting feature descriptions and unverified comparisons require checking against the application's requirements.
Evidence and confidence
The source consists of the complete selected skill folder and the repository-root MIT notice at one pinned commit. It includes author-written explanations, code snippets, generated auditor instructions and references to upstream documentation.
Those materials establish what the resource contains and how it is intended to work. They do not establish that its snippets compile, its auditors detect defects accurately, or its migrations preserve real application data. Embedded success messages and scenarios are examples, not execution results. Upstream SDK headers, linked documentation and package histories were not independently examined.
Access & freshness
Costs
The MIT notice permits use and copying of the files free of charge. Total operating cost is unknown: the evidence does not establish assistant subscription or API charges, model-tier pricing, token consumption, Apple developer service charges or cloud storage costs. The guides' time estimates are not measured audit or implementation costs.
Licence and reuse
SKILL.md identifies the resource as MIT licensed, and the repository LICENSE supplies the permission text with copyright attributed to Charles Wiltgen, 2025. It permits use, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It supplies no warranty.
The licence notice is available at [https://raw.githubusercontent.com/CharlesWiltgen/Axiom/ffafd3b3e0dbaaa60b753ca4a835ae6603b873e1/LICENSE]. Named Apple frameworks and third-party dependencies have their own terms; the skill's MIT notice does not replace those terms.
Version sensitivity
The source snapshot was captured on 16 November 2026 at commit ffafd3b3e0dbaaa60b753ca4a835ae6603b873e1. References discuss OS 27 APIs, call GRDB 7.11.1 current, and describe SQLiteData 1.12+ and Sharing 2.10. These are statements at that revision; current upstream releases and subsequent fixes are unknown.
There is an explicit compatibility contradiction: the GRDB performance guide associates SQLite 3.46 with iOS 18/macOS 15, while the SQLite JSON reference says those systems use SQLite 3.43.2. The actual system-library version cannot be settled from these conflicting statements. Check the deployed SQLite build before relying on version-sensitive functions.
Recommended next steps
Start with one bounded persistence task and the matching reference. Confirm the application's resolved package versions, deployment targets and relevant API behavior. For an audit, require findings tied to actual files and surrounding code, then evaluate each finding against the application's data contract.
Before adopting migration advice, use a copy of an existing disk store and verify supported upgrade paths, record values and relationships. For cloud or shared-widget work, exercise the relevant offline, account-change, conflict and suspension cases. For file storage changes, inspect cache-miss handling, backup flags and write failures. These are recommended validations, not completed results.
