axiom-storage-diag

Diagnose iOS file storage issues using Swift code examples and decision trees.

Updated Dec 3, 2025
One-click install
npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-storage-diag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-storage-diag
Source: https://github.com/tuliopc23/flying-dutchman-app/tree/main/.claude/skills/axiom-storage-diag
Command: npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-storage-diag

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps diagnose and resolve common issues related to file storage on iOS devices, such as disappearing files, inaccessible data, and large backup sizes, by systematically checking storage locations, protection levels, and backup status.

Core Features & Use Cases

  • Systematic Diagnostics: Guides users through a decision tree to pinpoint the root cause of file storage problems.
  • Code Snippets: Provides Swift code examples for checking file location, protection levels, backup status, and file existence.
  • Use Case: A user reports that their app's data is disappearing after a device restart. This Skill can help determine if the files were stored in a temporary directory (tmp/) which is expected to be purged, or if there's a protection level issue preventing access.

Quick Start

Run the axiom-storage-diag skill to diagnose why a file at '/path/to/my/file.txt' is inaccessible.

Frequently Asked Questions about axiom-storage-diag

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

FAQPage Schema
Why does iOS file storage data disappear after a device restart?

iOS file storage data often disappears after a restart if files are saved in temporary directories like tmp/ which get purged, or if incorrect data protection levels prevent access. This diagnostic process checks file locations and protection levels to pinpoint the root cause.

How do I debug Swift code failing to access files when the iOS device is locked?

To debug Swift file access failures on a locked iOS device, you must check the file protection level. Files with complete protection become inaccessible when locked, so this diagnostic provides Swift code snippets to verify and adjust protection levels for accessible data.

What is the best way to reduce excessive iOS backup sizes caused by my app's file storage?

The best way to reduce excessive iOS backup sizes is to check the backup exclusion status of your stored files. This diagnostic skill provides Swift examples to identify files that should be excluded from backups using the isExcludedFromBackup attribute.

How do I systematically diagnose inaccessible file storage issues in my iOS app?

To systematically diagnose inaccessible iOS file storage issues, you can follow a decision tree that checks file existence, storage locations, protection levels, and backup status. This approach provides Swift code snippets to verify each potential failure point.

Can I use this iOS storage diagnostic approach for files stored in any directory?

Yes, you can use this iOS storage diagnostic approach for files in any directory because it systematically analyzes file locations, protection levels, and backup exclusion status using Swift code snippets to resolve common data loss and inaccessibility issues.