loft
できること
このスキルは、言葉だけでは決められない設計の問いを、小さく使い捨てのプロトタイプを作って解決させます。レイアウトや動作の選択肢を、見て比べながら決めたい人向けです。
使う場面
- ✓設計の問いが言葉の上で堂々巡りし、議論で決まらないとき。
- ✓2つのレイアウトや画面の選択肢を、実際に見て比べたいとき。
- ✓構築する前に、ロジックや状態のモデルがしっくりくるか試したいとき。
スキルのリンク
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/loft/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“商品ページの2つのレイアウトのどちらにするか決められません。それぞれの簡単な版を作って、私が選べるようにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、適切な種類のプロトタイプを選びます。ルールや状態を扱うロジックのモジュール、または1ページ上の異なる画面の変種です。あなたがそれに反応し、その反応が決定になります。プロトタイプは出荷せず、捨てます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
loftticket - 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?"):
- 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.
- 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.
- On confirmation the module is ready to lift — it re-enters as real work through launch. During the loft itself
mainstays 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?"):
- 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.
- 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.
- 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:
- 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.
- 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. - 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
よくある質問
プロトタイプが本番のプロダクトになりますか?
いいえ。決定を下すための道具にすぎず、出荷されることはありません。
いつこのスキルを使うべきではありませんか?
コードを見れば答えが分かる場合、あなたに尋ねれば分かる場合、目標自体がまだ不明確な場合は使わないでください。
どんな種類のプロトタイプがありますか?
ルールや状態のためのロジックのプロトタイプと、画面の問いのための変種レイアウトがあります。
詳細
作者による元の説明
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".
人気
- GitHubのスター
- 41k
- ランキング
- #7008
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-doc-discipline
41kエージェントが、他のAIエージェントが独力で従える指示を書けるよう支援します。確認できるルールと、各ルールの理由を明示します。
ai-slop-cleaner
41kエージェントが、動くけれど肥大化して繰り返しの多いAI生成コードを整理できるよう支援します。動作を変えずに、余分なコードを取り除きます。
architecture-survey
41kエージェントが、コードベースの構造を確認し、変更が難しくなっている部分を根拠とともに挙げます。自分では何も変更しません。
ask-navigator
41kエージェントが、あいまいなプロジェクトを明確な決定事項の一覧に変え、1つずつ検討して進む道筋を見えるようにします。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。