add-app-clip
Fungsinya
Tool ini menambahkan versi kecil dari aplikasi iOS Anda, yang disebut 'App Clip', ke dalam proyek Expo Anda. Versi kecil ini bisa langsung dibuka dari sebuah tautan tanpa perlu memasang aplikasi lengkapnya.
Kapan dipakai
- ✓Saat Anda ingin aplikasi terbuka dengan cepat dari sebuah tautan.
- ✓Jika Anda menyebutkan 'App Clip', 'AASA', atau 'smart app banner'.
- ✓Untuk membuat versi ringan dari aplikasi Anda untuk tugas tertentu.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/add-app-clip/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 App Clip ke aplikasi Expo saya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Tool ini mengatur proyek Anda agar memiliki 'App Clip' tersendiri. Tool ini menyesuaikan file penting seperti `app.json` dan membuat file baru agar App Clip bisa berfungsi. Setelah itu, Anda perlu mengatur bagaimana tautan akan menemukan dan membuka App Clip tersebut.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Add an App Clip to an Expo App
When to Use
Use this skill when you need add an iOS App Clip target to an Expo app. Use when the user mentions App Clip, AASA, apple-app-site-association, appclips, smart app banner, or wants to ship a lightweight iOS Clip invoked from a URL alongside their parent app.
Adds an iOS App Clip target to an Expo project. The Clip lives in targets/clip/, ships alongside the parent app, and is invoked from a URL on the app's domain via an Apple App Site Association (AASA) file.
The parent app's bundle ID becomes com.<username>.<app-name> and the Clip's is automatically derived as <parent>.clip (e.g. com.bacon.may20.clip).
1. Set bundleIdentifier and appleTeamId
bun create target warns if these are missing. Add to app.json:
{
"expo": {
"ios": {
"bundleIdentifier": "com.<username>.<app-name>",
"appleTeamId": "XX57RJ5UTD"
}
}
}
2. Add the App Clip target
bun create target clip
This installs @bacons/apple-targets, adds it to the plugins array in app.json, and writes:
targets/clip/expo-target.config.js— the target's config plugintargets/clip/Info.plist— Clip Info.plisttargets/clip/AppDelegate.swift,Assets.xcassets, etc.
Pick a good icon or reuse the existing one defined in the app — check it with bunx expo config under the icon or ios.icon key.
3. Wire up associated domains
The parent app and the Clip each need the Associated Domains entitlement pointing at the domain that hosts the AASA file.
In app.json, add both applinks: (parent) and appclips: (Clip invocation) entries:
{
"expo": {
"ios": {
"associatedDomains": [
"applinks:may20.expo.app",
"appclips:may20.expo.app"
]
}
}
}
In targets/clip/expo-target.config.js, declare the Clip's entitlement:
/** @type {import('@bacons/apple-targets/app.plugin').ConfigFunction} */
module.exports = (config) => ({
type: "clip",
icon: "https://github.com/expo.png",
entitlements: {
"com.apple.developer.associated-domains": ["appclips:may20.expo.app"],
},
});
If you skip this,
expo prebuildwill print:Apple App Clip may require the associated domains entitlement but none were found.
4. Register bundle IDs and create the App Store entry
bunx setup-safari
This logs in to the Apple Developer account, registers com.bacon.may20, creates the App Store Connect entry, and prints:
- A starter
apple-app-site-associationJSON - A
<meta name="apple-itunes-app">tag with the iTunes app id - Team ID, iTunes ID, and Bundle ID
5. Host the AASA file
App Clips are invoked when iOS fetches https://<your-domain>/.well-known/apple-app-site-association and finds a matching appclips entry.
mkdir -p public/.well-known
touch public/.well-known/apple-app-site-association
Paste the JSON setup-safari printed, but add an appclips block for the Clip's full app ID (<TeamID>.<ClipBundleID>). The output of setup-safari only covers the parent app:
{
"applinks": {
"details": [
{
"appIDs": ["XX57RJ5UTD.com.bacon.may20"],
"components": [{ "/": "*", "comment": "Matches all routes" }]
}
]
},
"appclips": {
"apps": ["XX57RJ5UTD.com.bacon.may20.clip"]
},
"activitycontinuation": {
"apps": ["XX57RJ5UTD.com.bacon.may20"]
},
"webcredentials": {
"apps": ["XX57RJ5UTD.com.bacon.may20"]
}
}
Notes:
- The file has no extension and no
Content-Typerequirements beyond being served as-is. Expo Router static export serves files inpublic/verbatim. - The
appclipsblock is what lets a URL on the domain launch the Clip. webcredentialsis used for sharing credentials between the website, parent app, and the App Clip.activitycontinuationis optional and used for sharing the link between mobile and desktop. Must be used withHeadfrom expo-router — see https://docs.expo.dev/router/advanced/apple-handoff/- Notation and route-disabling details: https://sosumi.ai/documentation/xcode/supporting-associated-domains
6. Add the Smart App Banner meta tag
Create src/app/+html.tsx (Expo Router's HTML shell) and add the tag from setup-safari. Create the versioned template if it doesn't exist:
bunx expo customize src/app/+html.tsx
Add the meta tag to the <head>:
…
Pertanyaan umum
Apa itu App Clip?
App Clip adalah bagian kecil dari aplikasi utama Anda yang bisa langsung dibuka ketika pengguna mengklik tautan atau memindai kode, tanpa perlu mengunduh seluruh aplikasi.
Apa itu AASA?
AASA (Apple App Site Association) adalah file yang menghubungkan situs web Anda dengan aplikasi. File ini memberi tahu iOS cara membuka aplikasi atau App Clip Anda saat tautan dari situs web diklik.
Mengapa saya perlu mengatur associated domains?
Pengaturan ini memungkinkan iOS mengetahui bahwa situs web dan App Clip Anda saling terhubung. Hal ini diperlukan agar tautan berfungsi dengan benar dan membuka App Clip.
Detail
Deskripsi asli dari pembuat
Add an iOS App Clip target to an Expo app. Use when the user mentions App Clip, AASA, apple-app-site-association, appclips, smart app banner, or wants to ship a lightweight iOS Clip invoked from a URL alongside their parent app.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #3646
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
android-clean-architecture
280kMembuat agent Anda mengatur proyek Android dengan efisien. Struktur kodenya dibuat agar lebih mudah dirawat dan pengembangan fitur baru.
compose-multiplatform-patterns
280kMembantu agent Anda menggunakan pola Compose Multiplatform dan Jetpack Compose di proyek KMP, mencakup state, navigasi, theming, dan performa.
dart-flutter-patterns
280kMembuat agent Anda menulis kode untuk aplikasi Dart dan Flutter. Menggunakan pola modern agar aplikasi kokoh dan mudah dikelola.