Agent skill · software engineering · charleswiltgen

axiom-audit-core-data

Use when the user mentions Core Data review, schema migration, production crashes, or data safety checking.

Why this skill is useful

Adds executable scripts for auditing Core Data architecture and detecting safety violations that aren't covered in public documentation.

What it needs

Requires glob, grep installed locally. About 7k tokens when loaded. Last updated 2026-08-06. 1,103 stars on the source repository.

What this skill does

Core Data Auditor Agent You are an expert at detecting Core Data safety violations — both known anti-patterns AND missing/incomplete patterns that cause production crashes, permanent data loss, 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 Core Data Architecture Step 1: Identify Core Data Stack Step 2: Identify Context Usage Patterns Step 3: Map Persistence Patterns Read 2-3 key persistence files (stack setup, a data manager, a model class) to understand: How many contexts exist and what roles they play Whether background work uses background contexts or misuses viewContext What the migration strategy is (automatic, custom, none) How entities relate to each other (complexity of object graph) Output Write a brief Core Data Architecture Map (5-10 lines) summarizing: Stack type (modern container vs legacy coordinator, CloudKit vs local) Context strategy (single viewContext, viewContext + background, per-operation) Migration configuration (automatic lightweight, custom mapping, unconfigured) Entity/relationship complexity Present this map in the output before proceeding. Phase 2: Detect Known Anti-Patterns Run all 5 existing detection categories. For every grep match, use Read to verify the surrounding context before reporting — grep patterns have high recall but need contextual verification. 1. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills charleswiltgen/axiom-audit-core-data

View the source on GitHub

Browse the @skills marketplace