ui
できること
このスキルは、明確な視覚的な方向性を持ってインターフェースを設計し、表示された結果を確認するようエージェントを導きます。Web のページ、コンポーネント、文字組みを作り直す人向けです。
使う場面
- ✓強い見た目で、ページやコンポーネントを作ったり作り直したりしたいとき。
- ✓画面にレイアウトや文字の問題があり、見た目の上で直す必要があるとき。
- ✓スクリーンショットを、視覚的な目標に照らして確認させたいとき。
スキルのリンク
https://github.com/tw93/Waza/blob/main/plugins/waza/skills/ui/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ランディングページを、デフォルトのテンプレートのように見えないよう、個性的なデザインに作り直してください。スマホとパソコンで確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはインターフェースを作り、実際に描画された画面を、目標と関連する画面サイズに照らして確認します。確認できなかった残りの課題があれば、そのことを示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
UI: Build It With a Point of View
Prefix your first line with 🥷 inline, not as its own paragraph.
If it could have been generated by a default prompt, it is not good enough.
Outcome Contract
- Outcome: a usable interface or visual fix with a clear point of view and no incoherent layout, text, or responsive breakage.
- Done when: the real rendered surface or generated artifact has been checked against the user's visual goal and the relevant viewport states.
- Evidence: screenshots, rendered UI, source components, design tokens, accessibility constraints, and user-provided references.
- Output: the implemented visual change or a precise visual review with the remaining verification gap named.
Output language rule: Never use U+2014 em dash in any output from this skill. Use commas, colons, or periods instead.
Chinese gut-feel complaints: when the user says "很傻", "很怪", "突兀", "不协调", "不和谐" about a visual, treat it as an aesthetic rejection, not a debugging symptom. Generated image assets stay in references/mode-generated-asset.md even when the complaint arrives with a screenshot; coded or rendered UI surfaces route to references/mode-screenshot-iteration.md, not to /hunt.
For UI copy cuts, load the UI copy rules in references/design-reference.md before proposing deletions, including in quick-fix and screenshot modes.
Document and print typography routes out. When the deliverable is a shippable document rather than a product UI surface (report, slide deck, resume, long-form or print-oriented page, paged PDF), do not hand-roll an over-designed document layout here. Hand it to a document typesetting skill if one is installed and let that skill draft the detailed plan. Screen 排版 (app surfaces, components, web pages) stays in this skill.
Durable Context Preflight
See references/durable-context.md for when durable context is in scope and the redaction gate that applies before any of it becomes a durable rule.
For /ui: current screenshots and rendered output override memory. Reuse durable visual preferences and mature interaction patterns, but still name the current visual problem from the screenshot or source before changing code.
Mode Picker
Pick the path that matches each deliverable, then read it in full. A request may combine paths, such as a page plus its generated social card. All matching paths share one initial preflight clarification round across the request; event-triggered recovery after work begins may reopen only the affected fields. When triggers overlap, route by the artifact being changed: generated image assets take precedence over screenshot evidence for that asset, while screenshot iteration handles coded or rendered UI surfaces. Building a new surface is the default and starts at Lock the Direction First; it needs neither mode file.
| Ask | Path |
|---|---|
| Bounded fix to an existing screen ("this looks cramped", "the spacing is off") | load references/mode-quick-fix.md |
| Screenshot supplied as the evidence to improve against | load references/mode-screenshot-iteration.md |
| Generated image asset (diagram, cover, social card, illustration) | load references/mode-generated-asset.md |
| New page, component, or visual system | Lock the Direction First |
Lock the Direction First
Adding a surface to a mature product skips direction lock in the other direction: when the task is a new panel, dialog, sheet, toast, or confirmation inside an app that already has same-class components, the direction is the app. Grep for the existing sibling component first and reuse its container, motion, and typography tokens; inventing a new style needs a stated reason why no existing component fits. First drafts that ignore the app's own component vocabulary get rejected on sight.
Resolve the five direction dimensions below before writing code. Take colour, type, width, and voice from the current product's tokens, sibling components, screenshots, and the repo's git history first; then from other shipped products by the same team or author when they exist; then from the conversation. Model-default palettes, default fonts, and freehand graphics are allowed only when no reference exists. Infer first. Across every path in the request, ask in one compact clarification round with at most two sub-questions, only when the missing answer would materially change a deliverable. State the
よくある質問
バックエンドのロジックにも使えますか?
いいえ。バックエンドのロジックやデータの処理パイプラインは、対象外だと説明されています。
何を確認しますか?
関連する画面サイズでの描画された画面とスクリーンショット、そして使われているデザインのトークンとコンポーネントです。
生成された画像の素材も扱えますか?
はい。ただし、それらはスキル内の別の参照の経路で扱われます。
詳細
作者による元の説明
Produces distinctive production UI and screenshot-grounded visual polish. Use when building or restyling pages, components, or typography. Not for backend logic or data pipelines.
repo: tw93/Waza
人気
- GitHubのスター
- 7.5k
- ランキング
- #13222
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
check
7.5kリリース前にコードの変更を確認するよう、エージェントを支援します。差分、プルリクエスト、リリースの手順を調べ、実際の問題を探します。
health
7.5kプロジェクトのAIエージェントの設定と指示ファイルについて、ずれ、危険なフック、保守性の問題を確認し、優先順位付きの一覧を出します。
hunt
7.5kエラー、クラッシュ、回帰の根本原因を、コードを変更する前に見つけるようエージェントを支援します。修正が本当の問題に対処するようにします。
learn
7.5kまったく不慣れなテーマを学ぶために、情報源の収集から完成した参考資料まで、構造化された調査の手順をエージェントに案内します。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。