unship
यह क्या करती है
यह आपको अपने application के अंदर AI-generated user interface के अलग-अलग versions की तुलना करने देता है। आप विकल्पों को साथ-साथ देख सकते हैं और इस्तेमाल न होने वाला code हटाने से पहले सबसे अच्छा चुन सकते हैं।
कब इस्तेमाल करें
- ✓जब आप किसी screen के लिए कई design विकल्प देखना चाहें।
- ✓जब आप किसी button या heading के लिए अलग-अलग texts की तुलना करना चाहें।
- ✓जब आप किसी section के लिए वैकल्पिक layouts टेस्ट करना चाहें।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/unship/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस homepage के इन दो versions की तुलना करो, तुम्हें कौन सा पसंद है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI आपके code में कुछ खास markers जोड़ता है ताकि अस्थायी UI versions बन सकें। आप उन्हें browser में देखते हैं और अपना पसंदीदा चुनते हैं। उसके बाद AI बिना चुने गए versions और markers हटा देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.
…
अक्सर पूछे जाने वाले सवाल
क्या यह production में A/B testing के लिए है?
नहीं, यह विकल्पों को आपके computer पर locally तुलना करने के लिए है, उनके live होने से पहले। यह असली users के साथ performance मापने के लिए नहीं है।
क्या AI बिना अनुमति मेरा code बदल सकता है?
हाँ, लेकिन सिर्फ़ अस्थायी versions बनाने के लिए, जिन्हें आप देख और मंज़ूर कर सकें। local बदलावों की अनुमति आपको देनी होती है, और बाद में AI अतिरिक्त code हटा देता है।
अगर मुझे कोई विकल्प पसंद न आए तो?
आप AI से नए विकल्प बनाने को कह सकते हैं या मूल version रख सकते हैं। मुख्य बात यह है कि कौन सा version बचेगा, यह आप चुनते हैं।
जानकारी
लेखक का मूल विवरण
Compare AI agent-made UI variants locally in a real app, then keep one and clean up unused temporary code.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #6305
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।