Zum Inhalt springen
Skillpedia
Oberflächen (UI/UX)48k · #6305

unship

Was er macht

Hilft dir, verschiedene, von KI erzeugte Versionen einer Benutzeroberfläche direkt in deiner Anwendung zu vergleichen. Du siehst die Optionen nebeneinander und wählst die beste aus, bevor ungenutzter Code entfernt wird.

Wann du ihn nutzt

  • ✓Wenn du mehrere Gestaltungsoptionen für einen Bildschirm sehen möchtest.
  • ✓Wenn du verschiedene Texte für einen Button oder eine Überschrift vergleichen möchtest.
  • ✓Wenn du alternative Layouts für einen Abschnitt testen möchtest.

Link zum Skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/unship/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/unship/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Vergleiche diese beiden Versionen der Startseite. Welche gefällt dir besser?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Die KI fügt deinem Code spezielle Markierungen hinzu, um temporäre UI-Versionen zu erstellen. Du siehst sie in deinem Browser und wählst deinen Favoriten. Danach entfernt die KI die nicht gewählten Versionen und die Markierungen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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-pick group 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@latest or 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.

…

Häufige Fragen

Ist das für A/B-Tests in der Produktion gedacht?

Nein, das dient dazu, Optionen lokal auf deinem Computer zu vergleichen, bevor sie live gehen. Es ist nicht dafür gedacht, die Leistung mit echten Nutzern zu messen.

Kann die KI meinen Code ohne Erlaubnis ändern?

Ja, aber nur, um temporäre Versionen zu erstellen, die du dir ansehen und freigeben kannst. Lokale Änderungen musst du erst autorisieren, und die KI entfernt den zusätzlichen Code danach wieder.

Was, wenn mir keine der Optionen gefällt?

Du kannst die KI bitten, neue Optionen zu erzeugen, oder die Originalversion behalten. Entscheidend ist, dass du bestimmst, welche Version bleibt.

Details

Originalbeschreibung des Autors

Compare AI agent-made UI variants locally in a real app, then keep one and clean up unused temporary code.

repo: sickn33/agentic-awesome-skills

Beliebtheit

GitHub-Sterne
48k
Platz im Ranking
#6305
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills