Langsung ke konten
Skillpedia
Antarmuka (UI/UX)41k ยท #7008

loft

Fungsinya

Skill ini membuat agent membangun prototipe kecil yang bisa dibuang untuk menyelesaikan pertanyaan desain yang tidak bisa dijawab hanya dengan kata-kata. Skill ini untuk orang yang memilih di antara tata letak atau perilaku, dan lebih mudah belajar dengan melihat opsi.

Kapan dipakai

  • โœ“Saat pertanyaan desain terus berputar dan kata-kata tidak menyelesaikannya.
  • โœ“Saat Anda perlu membandingkan dua tata letak atau opsi antarmuka dengan melihatnya langsung.
  • โœ“Saat Anda ingin menguji apakah model logika atau state terasa tepat sebelum membangunnya.

Link skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/loft/SKILL.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/loft/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œKami belum bisa memutuskan antara dua tata letak untuk halaman produk. Bisakah Anda membuat versi cepat dari masing-masing agar saya bisa memilih?โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memilih jenis prototipe yang tepat: modul logika di dalam shell sederhana, atau varian antarmuka yang berbeda di satu halaman. Anda bereaksi terhadapnya, dan reaksi itu menjadi keputusannya. Prototipe dibuang, bukan dikirim.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Loft

Cut no steel until the shape is fair. Shipwrights loft the hull's lines full-scale and fair them before a single plate is cut. Loft applies the same order to design questions: when words have run out โ€” two plausible answers, neither falsifiable by talk โ€” build a cheap runnable artifact, let the captain react to it, and fold that reaction into the decision.

The role contract. The crew builds the artifact; the captain's only job is to react โ€” and that reaction is the decision. The artifact is an instrument for seeing, never a head start on the deliverable.

When to loft

  • a design question stalls in prose: repeatedly rephrased, still not settleable ("how should the path page look", "does this state model feel right")
  • a navigator map carries a loft ticket
  • a spec discussion reaches "we would have to see it first"

Do not loft when:

  • the question is answerable from repo evidence or by asking the captain (that is interviewing, not lofting)
  • the destination itself is unclear (that is fog โ€” /oh-my-claudecode:ask-navigator)
  • the answer already lives in an ADR (do not re-loft settled decisions)
  • the "design question" is actually a bug (that is the debugger's jurisdiction)

Choose the fork

Pick by what the question is asking. A wrong fork wastes the whole artifact.

Logic fork โ€” is the model right?

For questions about state, business rules, data shape, or algorithms ("does unlocking regress on a retake?", "does this reducer hold at the edges?"):

  1. Isolate the decision-bearing core โ€” the state machine, reducer, schema, or algorithm โ€” as a pure module: no DOM, no I/O, no framework. Written so that, once the shape is confirmed, it moves into the real codebase unchanged.
  2. Wrap it in a single clickable HTML shell: one button per scenario, the tricky edge cases walked through in order, full state visible after every click.
  3. On confirmation the module is ready to lift โ€” it re-enters as real work through launch. During the loft itself main stays untouched and the shell stays behind on the branch.

UI fork โ€” what should it look like?

For questions of shape and arrangement ("steps or cards?", "where does progress live?"):

  1. One route, three variants that differ in structure โ€” information architecture, navigation model, density. Variants that differ only in styling answer nothing: three reskins are wallpaper.
  2. A switcher on the page cycles the variants; embed into the existing product where possible, so real data density stresses the design instead of three tidy fake rows.
  3. On confirmation, the decision transfers and the variants stay behind on the branch as the record of why it looks this way.

The discipline

  • One command to run โ€” the repo's simplest existing serve command; inline the module into the shell if file:// module CORS would bite. Loads in seconds; no build step beyond what the repo already has.
  • No persistence, no tests, no abstractions, no error handling beyond the happy path. The artifact should be something you would not want to ship โ€” the rules exist to keep it that way.
  • Expect the first shape to be argued with: revise on the branch within the same session. The captain confirming the final shape is the decision; an artifact nobody argues with usually answered a question nobody had.
  • The artifact's whole life is minutes to build and one session to decide. If it starts growing into production code, stop: that work is a launch effort, not a loft. Sunk cost is the failure mode this skill exists to prevent.
  • One loft answers one question. Two questions are two lofts โ€” or one question that was actually two.

Fold the answer

The artifact is evidence, not a landing. When the captain reacts:

  1. Record the decision where it lives โ€” the issue comment, the spec's Implementation Decisions, or the pending-decision note โ€” in the captain's own words plus one line of why. A fragment more precise than prose (the reducer, the state machine, the schema) may be inlined there, marked as lofted.
  2. Push the artifact to a loft/<name> branch. It never merges: it stays as the primary source a future reader can open when the decision's "why" matters.
  3. Nothing from the artifact lands in main โ€” for the logic fork the confirmed module re-enters as real work through launch, for the UI fork the real page is built fresh from the decision.

Scope and non-goals

  • Loft produces answers, not deliverables: no runtime, no state files, not
Pertanyaan umum

Apakah prototipe menjadi produk sungguhan?

Tidak. Prototipe hanya alat untuk mengambil keputusan dan tidak pernah dikirim.

Kapan saya sebaiknya tidak memakainya?

Jika pertanyaannya bisa dijawab dari kode atau dengan bertanya kepada Anda, atau jika tujuannya sendiri belum jelas.

Jenis prototipe apa saja yang ada?

Prototipe logika untuk aturan dan state, atau varian tata letak untuk pertanyaan antarmuka.

Detail

Deskripsi asli dari pembuat

Loft the shape before cutting steel โ€” answer a design question that prose cannot settle by building a throwaway artifact: a pure logic module in a clickable shell, or structurally different UI variants behind one route. The captain reacts to the artifact; the answer folds into the decision; the artifact never docks. Use when a design question stalls in words, when a navigator map carries a loft ticket, or when a spec discussion reaches "we would have to see it".

repo: Yeachan-Heo/oh-my-claudecode

Popularitas

Bintang GitHub
41k
Peringkat
#7008
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa