axiom-accessibility
Use when fixing or auditing ANY accessibility issue — VoiceOver, Dynamic Type, color contrast, touch targets, WCAG compliance,…
Use when the user mentions iCloud sync issues, CloudKit errors, ubiquitous container problems, or asks to audit cloud sync.
Claude Code
$ npx -y skills add charleswiltgen/axiom --skill axiom-audit-icloud --agent claude-code
Codex
$ npx skills add charleswiltgen/axiom --skill axiom-audit-icloud -a codex -y
Cursor
$ npx skills add charleswiltgen/axiom --skill axiom-audit-icloud -a cursor -y
Gemini CLI
$ npx skills add charleswiltgen/axiom --skill axiom-audit-icloud -a gemini-cli -y
GitHub Copilot
$ npx skills add charleswiltgen/axiom --skill axiom-audit-icloud -a github-copilot -y
OpenCode
$ npx skills add charleswiltgen/axiom --skill axiom-audit-icloud -a opencode -y
Windsurf
$ npx skills add charleswiltgen/axiom --skill axiom-audit-icloud -a windsurf -y
name: axiom-audit-icloud description: Use when the user mentions iCloud sync issues, CloudKit errors, ubiquitous container problems, or asks to audit cloud sync. license: MIT
You are an expert at detecting iCloud integration mistakes — both known anti-patterns AND missing/incomplete patterns that cause sync failures, data corruption, conflict loss, and silent CloudKit errors.
Run every Glob, Grep, and Read this prompt lists. Do not reason from training data instead of scanning.
Skip: `*Tests.swift`, `*Previews.swift`, `*/Pods/*`, `*/Carthage/*`, `*/.build/*`, `*/DerivedData/*`, `*/scratch/*`, `*/docs/*`, `*/.claude/*`, `*/.claude-plugin/*`
Glob: **/*.swift, **/*.entitlements, **/Info.plist (excluding test/vendor paths) Grep for: - `import CloudKit` — CloudKit usage - `CKContainer`, `CKDatabase` — CloudKit DB references - `CKSyncEngine` — modern sync (iOS 17+) - `ubiquityContainerIdentifier`, `forUbiquityContainerIdentifier` — iCloud Drive - `NSMetadataQuery` — file presence/state queries - `NSFileCoordinator` — coordinated I/O on ubiquitous files - `NSUbiquitousKeyValueStore` — small-data KV sync - `cloudKitDatabase:` — SwiftData + CloudKit binding - `com\.apple\.developer\.icloud-`, `com\.apple\.developer\.ubiquity-` — entitlement keys
Grep for: - `ubiquityIdentityToken` — iCloud sign-in checks - `accountStatus()` — CloudKit auth state - `NSUbiquityIdentityDidChange` — account change notification - `CKAccountChanged` — CloudKit account change
Grep for: - `CKError` — error type usage - `error.code ==` or `case .quotaExceeded`, `.networkUnavailable`, `.serverRecordChanged`, `.notAuthenticated`, `.zoneNotFound`, `.partialFailure` - `ubiquitousItemHasUnresolvedConflicts` — iCloud Drive conflict detection - `NSFileVersion` — version-based conflict resolution - `CKSubscription` — push-based change notifications
Read 2-3 representative files (CloudKitManager / iCloud sync service / DocumentManager / any @Model with cloudKitDatabase config) to understand:
Write a brief **iCloud Map** (5-10 lines) summarizing:
Present this map in the output before proceeding.
Run all 8 detection patterns. For every grep match, use Read to verify the surrounding context before reporting — grep patterns have high recall but need contextual verification.
**Issue**: Reading or writing iCloud Drive files without `NSFileCoordinator` races with the sync daemon → corruption, lost updates, partial reads. **Search**:
**Verify**: Read matching files; check for `NSFileCoordinator` calls in the same I/O path. Direct `Data(contentsOf:)` or `data.write(to:)` on an ubiquitous URL is the bug. **Fix**: Wrap reads/writes in `NSFileCoordinator().coordinate(readingItemAt:...)` or `coordinate(writingItemAt:options:.forReplacing,...)`.
**Issue**: CloudKit operations without `CKError` handling silently fail. Critical paths (quota, network, conflict, auth) need explicit branches. **Search**:
**Verify**: Read matching files; check for a `do/catch` around the call and a switch on `CKError.code`. **Required branches**: `.quotaExceeded`, `.networkUnavailable`, `.serverRecordChanged`, `.notAuthenticated`. **Fix**: Wrap in `do/catch let error as CKError`, switch on `error.code`, handle each code with the appropriate UX (storage prompt, retry queue, conflict merge, sign-in prompt).
**Issue**: Touching ubiquitous container or CloudKit when the user is signed out crashes or returns silently invalid data. **Search**:
**Verify**: Read matching files; confirm a check guards every entry path, not just one. **Fix**: `guard FileManager.default.ubiquityIdentityToken != nil else { ... }` for iCloud Drive; `await CKContainer.default().accountStatus()` returning `.available` for CloudKit.
**Issue**: A single unsupported feature on a CloudKit-bound model disables sync for the entire container, silently. **Search**:
Battle-tested skills, agents, and tools for modern Apple OS development — Swift 6, SwiftUI, Liquid Glass, Apple Intelligence, and more. Supports Claude Code, Codex, and all other popular coding harnesses and AI-savvy IDEs.
Use when fixing or auditing ANY accessibility issue — VoiceOver, Dynamic Type, color contrast, touch targets, WCAG compliance,…
Use when implementing, testing, or evaluating ANY Apple Intelligence, on-device AI, or speech-to-text feature. Covers Foundation…
Use when the user has a crash log (.ips, MetricKit JSON, legacy .crash text, .xccrashpoint bundle, or pasted text) that needs…
Use when the user mentions Swift performance audit, code optimization, or performance review — ARC issues, allocation patterns,…
Use when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues — expensive bodies,…
Use when the user mentions flaky tests, tests that pass locally but fail in CI, race conditions in tests, or needs to diagnose…
Decompile Android APK, XAPK, JAR, and AAR files using jadx or Fernflower/Vineflower. Reverse engineer Android apps, extract HTTP…