unship
Fungsinya
Membantu Anda membandingkan berbagai versi antarmuka pengguna (UI) yang dibuat AI langsung di dalam aplikasi Anda. Anda bisa melihat pilihan-pilihan tersebut secara berdampingan dan memilih yang terbaik sebelum kode yang tidak terpakai dihapus.
Kapan dipakai
- ✓Saat Anda ingin melihat beberapa opsi desain untuk sebuah layar.
- ✓Saat Anda ingin membandingkan teks yang berbeda untuk tombol atau judul.
- ✓Saat Anda ingin menguji tata letak alternatif untuk suatu bagian.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/unship/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
“Bandingkan dua versi halaman beranda ini, mana yang kamu suka?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI menambahkan penanda khusus ke kode Anda untuk membuat versi UI sementara. Anda melihatnya di browser dan memilih favorit Anda. Setelah itu, AI menghapus versi yang tidak dipilih beserta penandanya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Unship
Overview
Unship is a local workflow for comparing AI-generated UI alternatives in the real application instead of accepting one generated version at a time. It adds temporary source-level variants, shows a local browser picker, and then cleans up the unused options after the user chooses.
This skill is for frontend iteration with coding agents. It is not production A/B testing, analytics, feature flagging, or a hosted experiment service.
When to Use This Skill
- Use when the user wants to compare multiple UI, layout, copy, state, flow, or design-system alternatives.
- Use when a coding agent should create several temporary options in real source code and let the user judge them in the running local app.
- Use when the user chooses a visible option and wants the losing temporary code removed before shipping.
Do Not Use This Skill When
- The user needs production experiments, traffic splitting, analytics, or feature flags.
- The app cannot safely render inactive hidden variants because of duplicate active IDs, global scripts, analytics triggers, focus traps, destructive actions, or autoplay side effects.
- The user has not authorized local source edits.
How It Works
1. Install or reuse Unship
Prefer the project-local binary when it exists:
./node_modules/.bin/unship doctor --json --no-update-check
Otherwise install a reviewed, exact CLI version into the project and then run the local binary:
npm install --save-dev @unship/cli@<reviewed-version>
./node_modules/.bin/unship doctor --json --no-update-check
If setup is needed for the local picker, run:
./node_modules/.bin/unship setup --json
Patch only the smallest development-only mount point required to load the picker in the local preview.
2. Create temporary variants
Inspect the relevant page, component, route, or rendered artifact. Add the smallest source-level comparison that lets the user judge real options in context.
Use Unship markup:
<section data-unship-pick="Hero">
<div data-unship-option="Current">...</div>
<div data-unship-option="Proof-led" hidden>...</div>
<div data-unship-option="Visual" hidden>...</div>
</section>
Keep option labels short and visible. Prefer 2-4 meaningful alternatives unless the user asked for a specific count.
3. Verify comparison readiness
Before handing off to the user, check that:
- the expected
data-unship-pickgroup exists; - the expected option labels exist;
- options are direct children of the group;
- exactly one option is initially visible;
- hidden inactive options remain hidden.
4. Let the user choose
Tell the user the group label, option labels, setup status, and any detected local preview server hints. The user chooses by naming a visible option label in chat.
5. Clean up after selection
When the user picks a winner, keep that option's real source and remove losing options for that group. Remove temporary data-unship-* attributes from settled source.
For final cleanup before shipping, remove all Unship artifacts and run:
./node_modules/.bin/unship check --json
Do not claim cleanup is complete until the check reports clean.
Best Practices
- Keep Unship work local and temporary.
- Preserve the existing app design language unless the user explicitly asks for a different direction.
- Avoid unrelated refactors while variants are temporary.
- Do not put custom tabs, app preferences, or permanent switchers into product UI for Unship comparisons.
- Keep inactive options safe: avoid duplicate active IDs, submit controls, global scripts, analytics triggers, focus traps, destructive side effects, and stateful providers.
Limitations
- Unship does not decide which variant wins; the human chooses.
- Unship does not replace design review, browser QA, accessibility checks, or production release validation.
- Unship is not intended for production traffic, remote analytics, or persistent product experiments.
Security & Safety Notes
- Run commands only in a local project the user has authorized you to modify.
- Do not run
npx @unship/cli@latestor any unpinned remote CLI in automated agent workflows. Pin and review the package version first, then execute the project-local binary. - Treat generated variants as temporary code that must be cleaned before release.
- Before destructive cleanup, confirm the selected option label when the user's choice is ambiguous.
…
Pertanyaan umum
Apakah ini untuk A/B testing di produksi?
Tidak, ini untuk membandingkan pilihan secara lokal di komputer Anda sebelum tayang. Alat ini tidak dimaksudkan untuk mengukur performa dengan pengguna sungguhan.
Bisakah AI mengubah kode saya tanpa izin?
Bisa, tetapi hanya untuk membuat versi sementara yang bisa Anda lihat dan setujui. Anda perlu memberi izin untuk perubahan lokal, dan AI akan menghapus kode tambahan setelahnya.
Bagaimana jika saya tidak menyukai satu pun pilihannya?
Anda bisa meminta AI membuat pilihan baru atau mempertahankan versi asli. Yang penting, Andalah yang memilih versi mana yang tetap dipakai.
Detail
Deskripsi asli dari pembuat
Compare AI agent-made UI variants locally in a real app, then keep one and clean up unused temporary code.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #6305
- 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
canvas
394kMemungkinkan agent Anda menampilkan widget visual yang di-hosting di panel Mac yang terhubung, lalu menyembunyikan panel atau memindahkannya ke halaman lain.
control-ui
394kMembantu agent Anda mengatur dan memecahkan masalah OpenClaw Control UI, termasuk sesi, dasbor, dan Gateway yang terhubung.
diagram-maker
394kMembantu agent Anda membuat diagram yang jelas sebagai SVG, HTML, atau Excalidraw yang dapat diedit untuk proses, arsitektur sistem, dan sketsa papan tulis.