verified-email
Fungsinya
Skill ini memandu penambahan langkah email terverifikasi ke alur pendaftaran Android dengan Credential Manager. Pengguna membagikan email yang sudah diverifikasi secara kriptografis alih-alih mengetik kode. Skill ditujukan bagi pengembang Android yang ingin pendaftaran lebih mudah.
Kapan dipakai
- ✓Saat Anda ingin pengguna baru mendaftar tanpa harus mengetik kode satu kali.
- ✓Ketika Anda perlu meminta email terverifikasi dari penyedia tepercaya seperti Google di aplikasi Anda.
- ✓Ketika Anda ingin mengurangi pengguna yang berhenti di tengah pendaftaran karena verifikasi email manual.
Link skill
https://github.com/android/skills/blob/main/identity/verified-email/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Tambahkan pendaftaran dengan email terverifikasi ke aplikasi Android saya agar pengguna melewati langkah kode email.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menyiapkan permintaan digital credentials di Credential Manager API, dengan meminta email terverifikasi dari penyedia tepercaya. Aplikasi lalu mengambil email terverifikasi dari respons tersebut.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Fundamentals
- Overview of Digital Credentials: Learn about cryptographically verifiable documents and the role of Credential Manager.
- Glossary : Definitions for
dcql_query,UserInfoCredential, andGetDigitalCredentialOption.
Standards & Examples
- OpenID4VP Standard: The specification used to create digital credentials requests.
- Digital Credentials Demo: Example requests and cross-platform testing tool.
- W3C Verifiable Credentials: The data model for cryptographically secured claims.
- SD-JWT: Selective Disclosure JSON Web Token format used for responses.
- mdoc: ISO/IEC 18013-5 standard for mobile documents.
Requirements
- SDK Version: Minimum SDK 28 (Android 9) is required.
- GMS Version: Google Play services version 25.49.x or higher.
Use Cases
Email verification is applicable for the following use cases:
- Account Creation/Sign-up: Remove friction by skipping manual email verification.
- Account Recovery: Securely verify email ownership during recovery flows.
- Re-authentication: Versatile verification for high-risk actions, independent of the initial sign-in method.
Limitations & Nuances
- Workspace Accounts: Google does not issue verifiable credentials for Google Workspace Accounts.
- Freshness: For non-@gmail.com addresses, Google verifies the email at account creation but there is no freshness claim; implement an additional challenge like an OTP.
Scope & Pre-requisites
Crucial : This skill focuses exclusively on the Android client-side integration . It does not implement the app's server-side cryptographic validation logic. Server-side validation of the returned credential is required for security and must be implemented in your backend.
Codebase exploration for Use Cases
Get started with the following queries in project source code to find relevant screens with different use cases to implement verified email:
SignUpScreen"Email address""Recover Account""Account Recovery""Forgot password?""Delete Account"
Identifying Integration Points
To implement this feature effectively, you must first locate the relevant flows in your codebase. To initiate, start with the following strategies to cater to different use cases using verified email:
1. Search for Navigation Routes
If your app uses Navigation, search for routes or destinations related to authentication:
Look for:
- Keywords :
signup,registration,create_account,forgot_password,recovery,verify_email. - Code Pattern : Search for
NavHostorcomposabledestinations using these strings.
2. Locate Authentication ViewModels
Find the business logic handling user attributes and account creation, account recovery:
- Keywords :
SignUpViewModel,AuthViewModel,RegistrationRepository. - Code Pattern : Look for methods like
onCreateAccount,onRecoverAccount, orvalidateEmail.
3. Find instances of reauthentication for sensitive actions
For reauthentication use cases, find areas where users perform sensitive actions:
- Keywords :
ChangePassword,UpdatePayment,DeleteAccount,UpdateDetails,EditUserDetails
Important pointers for Implementation
- Construct a Digital Credential Request and present it to the user.
- Make sure to follow the request JSON structure as mentioned in documentation.
- While presenting the request to the user, check if result credential is DigitalCredential and credential.credentialJson as responseJsonString
- Parse the response from the client.
- Offer a passkey creation option if one is not already present.
- Assume a local
SdJwtParserto parse raw SD-JWT and return aJSONObject. - Use a
VerifiedUserInfodata class to store the parsed name and email. - Leave a TODO for developers to handle the app's server-side validation and parsing.
- Direct users to the home screen after API call succe
Pertanyaan umum
Versi Android apa yang dibutuhkan?
Aplikasi harus berjalan di Android 9 (API 28) atau lebih baru, dengan Google Play services versi 25.49 atau lebih tinggi.
Standar apa yang dipakai permintaan ini?
Permintaan ini memakai standar OpenID4VP untuk permintaan digital credential.
Apakah ada cara untuk mengujinya?
Ada. Skill menunjuk ke situs demo digital credentials untuk pengujian lintas platform.
Detail
Deskripsi asli dari pembuat
Provides a complete workflow for implementing verified email retrieval on Android Credential Manager API. Use this skill to integrate a secure, OTP-less email verification flow into an Android app. This skill solves the problem of high-friction sign-up processes by leveraging cryptographically verified credentials from trusted providers like Google.
repo: android/skills
Popularitas
- Bintang GitHub
- 10k
- Peringkat
- #11917
- Lisensi
- Apache-2.0
- Diperbarui
- 29/10/2026
Komentar
- …
Skill lain dari repositori ini
agp-9-upgrade
10kMembantu agent Anda meningkatkan aplikasi Android ke Android Gradle Plugin 9 dan menangani perubahan yang merusak. Tidak untuk proyek multiplatform.
camerax
10kMembantu agent Anda membangun fitur kamera Android dengan CameraX, termasuk perekaman video, kontrol perangkat keras, serta efek ML Kit dan Media3.
android-for-cars-parked-apps
10kMembantu agent Anda menyesuaikan aplikasi video, game, atau browser Android agar bisa berjalan sebagai aplikasi parkir di Android Auto dan Android Automotive.
appfunctions
10kMembantu agent Anda menemukan alur kerja utama dalam aplikasi Android dan menyediakannya sebagai AppFunctions yang bisa dijalankan agent AI dan perintah suara.
Skill serupa
reverse-engineer-anything
422kMembantu agent Anda memeriksa aplikasi dan paket yang sudah dirilis untuk menjelaskan fitur, membandingkan versi, atau memandu pembangunan ulang dengan alat REA.
1password
394kMembantu agent Anda mengatur CLI 1Password, masuk, serta membaca atau menyisipkan rahasia tanpa menampilkan nilainya di chat.
healthcheck
394kMembantu agent Anda mengaudit komputer atau server OpenClaw dari risiko keamanan seperti SSH, firewall, pembaruan, dan cadangan, lalu menyarankan perbaikan aman.