account-deletion

Generate Apple App Store-compliant in-app account deletion flows for Swift iOS and macOS apps.

27|5|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/bocan/bocan-music --skill account-deletion-bocan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: account-deletion
Source: https://github.com/bocan/bocan-music/tree/main/.claude/skills/generators/account-deletion
Command: npx skills add https://github.com/bocan/bocan-music --skill account-deletion-bocan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Apple App Store Review requires all apps that offer account creation to provide in-app account deletion, and manually implementing a compliant flow with proper cleanup, re-authentication, and data export is time-consuming and prone to missing critical requirements that lead to app rejection.

Core Features & Use Cases

  • Compliant Deletion Flow: Generates a multi-step confirmation UI with re-authentication, meeting Apple's in-app deletion requirement effective June 2022.
  • Complete Data Cleanup: Automates Keychain credential removal, UserDefaults clearing, file system cleanup, and optional Sign in with Apple token revocation.
  • Flexible Configuration: Supports optional user data export, configurable grace periods for deletion scheduling, and server-side deletion request integration.
  • Use Case: iOS/macOS developers building apps that need to meet App Store compliance, GDPR right-to-erasure rules, or user privacy requirements for account removal.

Quick Start

Use the account-deletion skill to generate a full Apple-compliant in-app account deletion flow for your Swift iOS or macOS app, including confirmation UI, Keychain cleanup, and optional data export.

Frequently Asked Questions about account-deletion

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

FAQPage Schema
How do I implement an Apple App Store compliant account deletion flow in Swift?

To implement Apple App Store compliant account deletion, you need a multi-step confirmation UI with user re-authentication. This Skill generates Swift code for iOS and macOS that handles Keychain credential cleanup and optional data export to pass App Review.

What is required for iOS account deletion to pass App Store Review?

Passing App Store Review for account deletion requires complete in-app account removal, including clearing Keychain credentials and revoking Sign in with Apple tokens. This Skill automates generating these Swift cleanup processes to ensure full compliance.

Does my macOS app need to support Sign in with Apple token revocation for account deletion?

Yes, macOS apps using Sign in with Apple must revoke tokens during account deletion. This Skill generates the Swift implementation to handle token revocation alongside multi-step confirmation UI and Keychain cleanup for full Apple compliance.

Can I include a grace period or data export option in my iOS account deletion process?

Yes, you can include configurable grace periods for deletion scheduling and optional user data export in your iOS account deletion process. This Skill generates Swift code supporting these flexible configurations for iOS and macOS applications.

What is the best way to handle Keychain cleanup and UserDefaults clearing during account deletion?

The best way to handle Keychain cleanup and UserDefaults clearing is to automate removal within the account deletion flow. This Skill generates Swift code to remove Keychain credentials, clear UserDefaults, and perform file system cleanup.