$npx skillfedfor your agent

axiom-audit-swiftdata

axiom-audit-swiftdata equips AI coding assistants with specialized knowledge to identify problematic patterns in SwiftData model definitions. It catches common pitfalls that lead to crashes, data corruption, and memory inefficiency—issues that are often difficult to spot during code review. By integrating this skill, you gain proactive validation that keeps your Apple OS projects stable and performant.

axiom-audit-swiftdata identifies anti-patterns and runtime crashes in SwiftData @Model definitions. It catches structural issues, relationship misconfigurations, and coding patterns that lead to crashes or data corruption—problems that are difficult to spot during manual code review.

AI-generated summary based on this skill's SKILL.md

1,095 81 MITupdated by CharlesWiltgen

Decision gist · record as of 2026-07-27

axiom-audit-swiftdata identifies anti-patterns and runtime crashes in SwiftData @Model definitions. It catches structural issues, relationship misconfigurations, and coding patterns that lead to crashes or data corruption—problems that are difficult to spot during manual code review.

manual: git clone https://github.com/CharlesWiltgen/Axiom → cp -r Axiom/axiom-codex/skills/axiom-audit-swiftdata ~/.claude/skills/axiom-audit-swiftdata
axiom-codex/skills/axiom-audit-swiftdata/SKILL.md · version 91184b30

Use it when

  • axiom-audit-swiftdata verifies schema migration safety and detects silent data loss scenarios.
  • Yes.

Verify before relying

Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

CharlesWiltgen/Axiom/axiom-audit-swiftdata · repository language: Go

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What does axiom-audit-swiftdata detect in @Model definitions?

axiom-audit-swiftdata identifies anti-patterns and runtime crashes in SwiftData @Model definitions. It catches structural issues, relationship misconfigurations, and coding patterns that lead to crashes or data corruption—problems that are difficult to spot during manual code review.

How does axiom-audit-swiftdata help prevent data loss?

axiom-audit-swiftdata verifies schema migration safety and detects silent data loss scenarios. It validates migration paths to ensure data integrity during schema changes and flags configurations that could cause unintended data corruption or loss.

Can axiom-audit-swiftdata check for background context issues?

Yes. axiom-audit-swiftdata audits background context usage to prevent data races and threading violations. It identifies unsafe concurrent access patterns that could cause crashes or inconsistent state in multi-threaded SwiftData operations.

Does axiom-audit-swiftdata validate CloudKit sync compatibility?

axiom-audit-swiftdata checks CloudKit sync compatibility and relationship configurations. It ensures your model definitions conform to CloudKit requirements and flags relationship setups that could cause sync failures or data inconsistencies.

What performance issues can axiom-audit-swiftdata identify?

axiom-audit-swiftdata detects performance problems including N+1 queries, over-indexing, and inefficient batch operations. It analyzes query patterns and index configurations to help optimize SwiftData performance in Apple OS applications.

Is axiom-audit-swiftdata available under an open license?

axiom-audit-swiftdata is released under the MIT license, making it freely available for commercial and personal projects with minimal restrictions.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

SwiftData Auditor Agent

You are an expert at detecting SwiftData violations — both known anti-patterns AND missing/incomplete patterns that cause crashes, data loss, silent corruption, sync failures, and performance degradation.

Tool Use Is Mandatory

Run every Glob, Grep, and Read this prompt lists. Do not reason from training data instead of scanning.

  • Run each Grep pattern as written; do not collapse them into one mega-regex.
  • Run the Read verifications each section calls for.
  • "Build a mental model" / "map the architecture" means with tool output in hand, not from memory.

Files to Exclude

Skip: *Tests.swift, *Previews.swift, */Pods/*, */Carthage/*, */.build/*, */DerivedData/*, */scratch/*, */docs/*, */.claude/*, */.claude-plugin/*

Phase 1: Map SwiftData Architecture

Step 1: Identify the @Model Inventory

`` Glob: **/*.swift (excluding test/vendor paths) Grep for: -@Model\s+(final\s+)?class\s+\w+` — every @Model

(truncated - see the full file via the links below)

File tree — 2 files
axiom-codex/skills/axiom-audit-swiftdata/SKILL.md
axiom-codex/skills/axiom-audit-swiftdata/agents/openai.yaml

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Detect SwiftData anti-patterns and runtime crashes in @Model definitions”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Swiftdata
by dpearson2699 · dpearson2699/swift-ios-skills

Swiftdata is a skill that enables agent integration with Swiftdata services. Use this skill to connect your agent to Swiftdata and unlock data handling capabilities within your workflows.

no license declared → metadata onlyupdated Jul 2026
★ 932repo stars
ios-chaos-monkey
by pproenca · pproenca/dot-skills

ios-chaos-monkey helps developers identify hidden concurrency issues in Swift iOS applications by simulating chaotic conditions and stress scenarios. It detects data races, deadlocks, and thread-safety violations that traditional testing often misses, enabling more resilient mobile code.

MITupdated Jul 2026
★ 182repo stars
swiftdata-expert-skill
by vanab · vanab/SwiftData-agent-skill

Get specialized guidance on building robust SwiftData architectures for Swift projects. This skill covers schema design, safe concurrency patterns, migration strategies, and CloudKit synchronization—all tailored for AI coding assistants working with SwiftData-first applications.

MITupdated Feb 2026
★ 12repo stars
swiftdata-code-review
by existential-birds · existential-birds/beagle

swiftdata-code-review provides intelligent code review tailored to SwiftData model patterns, helping developers validate schema design and follow framework conventions. The skill analyzes your data models for correctness, performance considerations, and alignment with SwiftData best practices, offering actionable feedback on architecture and implementation details.

Apache-2.0updated Jul 2026
★ 74repo stars
axiom-audit-iap
by CharlesWiltgen · CharlesWiltgen/Axiom

Axiom Audit IAP systematically scans Swift codebases to uncover in-app purchase vulnerabilities—from unfinished transactions and missing verification checks to incomplete subscription state handling. The agent maps your StoreKit architecture, identifies 13+ known anti-patterns that trigger rejections or silent revenue leaks, and surfaces missing restore flows, loot box odds disclosure, and server-side validation gaps that leave your app vulnerable to fraud and guideline violations.

MITupdated Jul 2026
★ 1,095repo stars
axiom-audit-textkit
by CharlesWiltgen · CharlesWiltgen/Axiom

This skill audits Apple text layout implementations to catch TextKit 1 fallback triggers, deprecated glyph APIs, and Writing Tools integration gaps that cause silent failures on complex scripts. It scans for direct layoutManager access, NSLayoutManager usage, and NSRange/NSTextRange mismatches that break Arabic, Indic, and right-to-left text handling.

MITupdated Jul 2026
★ 1,095repo stars

More skills axiom-data (MIT) · persistence-setup (MIT) · swift-data (MIT)

Tags
data-integrity-checkruntime-crash-preventionschema-migration-safetyrelationship-validationcontext-isolationperformance-bottlenecksync-compatibilitypersistence-patternscode-quality-auditdatabase-health-scoring