Privacy first android skill
Privacy-First Android Development Skill for Claude Code. Build production-quality Android apps with Kotlin & Jetpack Compose — with user privacy as the foundational design principle.From the repository description
npx -y skills add AbhijeetBabar-2025/privacy-first-android-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.8 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
SKILL.md
Use when building Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3, DataStore, Paging 3, or multi-module projects — especially when user privacy, data protection, or GDPR/CCPA compliance is required.
Triggers on requests to create Android projects, screens, ViewModels, repositories, feature modules, privacy-compliant data flows, or asks about Android architecture patterns with a privacy-first emphasis.
🛡️ Core Philosophy: Privacy by Design
Every decision — from architecture to UI — must answer: "Does this respect the user's privacy?"
- Collect only what you need — minimize data at every layer
- Encrypt everything at rest — tokens, PII, database fields
- Be transparent — users must know what data you collect and why
- Give users control — export, delete, and opt-out capabilities
- Fail closed — when in doubt, protect the user
Decision Tree
| Task | Reference File |
|---|---|
| Privacy-first architecture & data minimization | privacy-architecture.md |
| Privacy consent & GDPR/CCPA compliance | privacy-compliance.md |
| Data encryption & secure storage | android-security.md |
| Network security & certificate pinning | android-security.md |
| Permission handling & justification | android-permissions.md |
| Project structure & modules | modularization.md |
| Architecture layers (Domain, Data, UI, Common) | architecture.md |
| Compose patterns, Material motion, animation | compose-patterns.md |
| Material 3 theming, spacing tokens, dynamic colors | android-theming.md |
| Navigation3, adaptive navigation | android-navigation.md |
| Kotlin patterns, View lifecycle interop | kotlin-patterns.md |
| Coroutine patterns | coroutines-patterns.md |
| Gradle, product flavors, BuildConfig | gradle-setup.md |
| Testing approach | testing.md |
| Accessibility, TalkBack, WCAG | android-accessibility.md |
| Performance, benchmarking, Play Vitals | android-performance.md |
| Debugging, Logcat, ANR, R8, memory leaks | android-debugging.md |
| Crash reporting (provider-agnostic) | crashlytics.md |
| Code quality (Detekt) | code-quality.md |
Creating a new project?
→ Start with privacy-architecture.md
for privacy-first module design
→ Use assets/settings.gradle.kts.template for settings and
module includes
→ Use assets/libs.versions.toml.template for the version
catalog
→ Copy convention plugins from assets/convention/ to
build-logic/
→ Read modularization.md for
structure and module types
→ Configure .gitignore with privacy-sensitive exclusions from
android-security.md
Building any screen or feature?
→ FIRST check privacy-architecture.md → "Data Minimization Checklist" → Read compose-patterns.md for screen architecture → Ensure no PII leaks through logs, crash reports, or analytics → Use android-theming.md for Material 3
Handling user data?
→ Follow privacy-architecture.md → "Data Classification" → Encrypt at rest using android-security.md → Implement data retention policies → Provide export/delete capabilities per privacy-compliance.md
Adding analytics or crash reporting?
→ Follow privacy-compliance.md → "Privacy-Safe Analytics" → Use crashlytics.md with PII scrubbing → Never log PII, tokens, or user-identifiable data
Requesting permissions?
→ Follow android-permissions.md for just-in-time requests → Always explain why before requesting → Provide degraded-but-functional experience when denied → Track permissions in Play Console Data Safety
Implementing authentication?
→ Use android-security.md → Credential Manager & Biometrics → Store tokens in EncryptedSharedPreferences → Implement session timeout and re-authentication
Setting up network calls?
→ Follow android-security.md → Network Security → HTTPS only, certificate pinning for critical endpoints → No PII in URL parameters — use request body → Implement request signing for sensitive operations
Preparing for Play Store submission?
→ Complete privacy-compliance.md → "Play Console Data Safety Checklist" → Verify privacy policy URL is current → Ensure data deletion path exists → Review all SDK data collection declarations
Writing any Kotlin code?
→ Always follow kotlin-patterns.md → Align with architecture.md and modularization.md → Check for privacy implications in data flows
Testing?
→ Read testing.md for testing philosophy and patterns → Include privacy-specific test cases (PII leak detection, encryption verification) → Test permission denial flows thoroughly
What ships with it: 28 files
63.2 KB alongside SKILL.md
assets/
references/
- android-accessibility.md668 B
- android-debugging.md1.1 KB
- android-navigation.md582 B
- android-performance.md1017 B
- android-permissions.md2.7 KB
- android-security.md4.5 KB
- android-theming.md1.0 KB
- architecture.md2.5 KB
- code-quality.md960 B
- compose-patterns.md1.4 KB
- coroutines-patterns.md861 B
- crashlytics.md999 B
- gradle-setup.md875 B
- kotlin-patterns.md913 B
- modularization.md2.1 KB
- privacy-architecture.md8.7 KB
- privacy-compliance.md11.3 KB
- testing.md1.4 KB
- CHANGELOG.md2.2 KB
- CONTRIBUTING.md1.8 KB
- .gitignore369 B
- LICENSE1.0 KB
- .markdownlint.jsonc309 B
- README.md9.5 KB