khadinakbarlabs/expo-mobile-app-builder/account-deletion-flow

Claude Code and agent skill by khadinakbarlabs/expo-mobile-app-builder

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement in-app account deletion (5.1.1(v) requirement) with server-side hard delete + Sign in with Apple revocation. Use when the user says 'account deletion', '5.1.1(v)', 'delete account in-app', 'revoke Sign in with Apple'.

Install

npx vskill@latest install khadinakbarlabs/expo-mobile-app-builder/account-deletion-flow

SKILL.md

Account Deletion Flow

REQUIRED in-app since 2022 if your app has accounts (5.1.1(v)). Settings → Account → Delete Account.

SwiftUI-style React Native flow

tsx
// app/(tabs)/settings.tsx
function DeleteAccountRow() {
const router = useRouter();
return (
<Pressable onPress={() => router.push('/delete-account')}>
<Text style={{ color: 'red' }}>Delete Account</Text>
</Pressable>
);
}
// app/delete-account.tsx
function DeleteAccountScreen() {
const [confirming, setConfirming] = useState(false);
const handleDelete = async () => {
Alert.alert(
'Delete Account?',
'This permanently deletes your data, subscriptions, and access. This cannot be undone.',
[
{ text: 'Cancel', style: 'cancel' },
{ text: 'Delete', style: 'destructive', onPress: confirmDelete },
]
);
};
const confirmDelete = async () => {
setConfirming(true);
try {
// 1. Call server to hard-delete user record + revoke tokens
await fetch('/api/account/delete', {
method: 'DELETE',
headers: { Authorization: `Bearer ${await SecureStore.getItemAsync('authToken')}` },
});
// 2. Revoke Sign in with Apple (server-side)
// Server calls https://appleid.apple.com/auth/revoke with the user's refresh token
// 3. Clear all local state
await SecureStore.deleteItemAsync('authToken');
await AsyncStorage.clear();
// queryClient.clear()
// useApp.persist.clearStorage()
// 4. Sign out + navigate to auth flow
router.replace('/sign-in');
} catch (e) {
Alert.alert('Failed', e.message);
setConfirming(false);
}
};
return (
<View>
<Text>Deleting your account is permanent and immediate.</Text>
<Text>You will lose:</Text>
<Text>• All your data</Text>
<Text>• Access to your subscription (no refund)</Text>
<Text>• Sign in with Apple link to this account</Text>
<Pressable onPress={handleDelete} disabled={confirming}>
<Text style={{ color: 'red' }}>Delete My Account</Text>
</Pressable>
</View>
);
}

Server-side Sign in with Apple revocation

POST https://appleid.apple.com/auth/revoke
Content-Type: application/x-www-form-urlencoded
client_id=com.example.myapp
&client_secret=<your-jwt-signed-with-p8>
&token=<user-refresh-token>
&token_type_hint=refresh_token

ABSOLUTE NO

  • Don't link to a website to delete account — must be in-app
  • Don't soft-delete and call it deletion — Apple rejects
  • Don't keep PII after deletion — must hard-delete

Reference

references/06-store-readiness.md

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/khadinakbarlabs/expo-mobile-app-builder/account-deletion-flow/badge)](https://verified-skill.com/skills/khadinakbarlabs/expo-mobile-app-builder/account-deletion-flow)

Something wrong with this skill or its page? Tell us.