generators-data-export

Generate JSON, CSV, and PDF export and import code for Swift apps.

4|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/AutisticAF/claude-code-apple-dev-plugin --skill generators-data-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generators-data-export
Source: https://github.com/AutisticAF/claude-code-apple-dev-plugin/tree/main/skills/generators-data-export
Command: npx skills add https://github.com/AutisticAF/claude-code-apple-dev-plugin --skill generators-data-export

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a complete, production-ready path to export and import user data from Apple platform apps, removing the manual work of serializing models, handling CSV edge cases, rendering PDFs, and meeting data portability requirements.

Core Features & Use Cases

  • Multi-format export: Generate JSON, CSV, and PDF exports using Codable, RFC-compliant CSV escaping, and UIGraphicsPDFRenderer for formatted reports.
  • GDPR data portability: Produce full-user-data JSON exports with sorted keys and ISO8601 dates for compliance workflows.
  • Import & sharing: File import via UTType-aware pickers with security-scoped URL handling, and share sheet or ShareLink integration for distribution.
  • Performance & safety: Temporary-file export patterns, streaming options for large datasets, and guidance on security-scoped access and cleanup.
  • Use case: Add a settings-screen export that bundles profile, records, and app settings into a single downloadable JSON and provides CSV/PDF report options with a share sheet.

Quick Start

Generate export and import code for an Expense model that outputs JSON, CSV, and PDF, includes a GDPR full-data export, and wires up a share sheet trigger.

Frequently Asked Questions about generators-data-export

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

FAQPage Schema
How do I generate GDPR data export files in JSON and CSV from a Swift app?

GDPR data export generates full-user-data JSON files with sorted keys and ISO8601 dates from Codable-conformant models, plus RFC-compliant CSV escaping for structured records. This satisfies portability requirements for iOS and macOS applications.

Can I export data to PDF using UIGraphicsPDFRenderer for iOS share sheet distribution?

PDF export uses UIGraphicsPDFRenderer to generate formatted reports from Codable models, which can then be shared via ShareLink or share sheet integration. This targets iOS 16+ and macOS 13+ deployment environments.

What's the best way to handle security-scoped file access when importing files via UTType pickers?

File import via UTType-aware pickers requires security-scoped URL handling to access user-selected files outside the app sandbox. The infrastructure provides guidance on security-scoped access and cleanup for safe file importing.

Does this approach support streaming large datasets to temporary files during data export?

Streaming options for large datasets are supported alongside temporary-file export patterns. This prevents memory exhaustion when exporting substantial user records to JSON, CSV, or PDF formats on iOS and macOS.

How do I add a settings screen export that bundles profile, records, and app settings together?

A settings-screen export bundles profile, records, and app settings into a single downloadable JSON file using Codable-conformant models. It also provides CSV and PDF report options wired to a share sheet trigger for distribution.