frontend-design
できること
このスキルは、Agent-Native アプリ内の画面デザインを案内します。視覚的な方向性の選び方、最初の表示を集中させる方法、雑然とした見た目を避ける方法を扱います。ユーザーが目にする画面を作成・変更する開発者やデザイナー向けです。
使う場面
- ✓ユーザーが目にする画面を作成または変更するとき。
- ✓画面が雑然としてきて、構成を整理する必要があるとき。
- ✓フィードバックを受けて、操作部品や文言、情報の詰まり具合を調整するとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/frontend-design/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“設定ページを使いやすくしてもらえますか。既存の色とボタンはそのまま使ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、その画面を使う人と次に必要な操作を考えたうえで、最初の表示を集中させます。既存の部品、色、余白に従い、アクセシビリティと画面サイズへの対応も確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Frontend Design
Design around the user's task and the app's existing visual language. A distinctive interface comes from a clear product point of view, not extra decoration. Keep implementation accessible and responsive.
Choose a direction
Before a substantial new surface or redesign, decide who is using it, what they came to do, and what they should see or do next. Pick a visual direction that fits the product's brand and domain. For routine changes, inspect and follow the existing components, type, color tokens, and spacing.
If a screen has two unrelated primary jobs, split the workflows or states. Do not solve an unclear structure by adding more cards, tabs, controls, or explanatory copy.
Keep the starting view focused
The first view should show where the user is, the current work or state, and the input or decision needed now. Make one action clear. Defer rare, advanced, diagnostic, destructive, and historical controls to a relevant menu or disclosure.
Every visible element should orient the user, show useful content or state, collect required input, or enable the next action. If it has no job, remove it or disclose it. Density should come from useful data, not extra chrome.
Do not add a page title that repeats the selected navigation item, a subtitle or eyebrow under a title, a count strip over visible content, an About section in settings, or helper copy that repeats a label unless the user asks for it. A card, panel, tab, or settings group gets a title or a description, not both. Use tooltips or progressive disclosure for explanations that are not needed to make the current decision. User-authored descriptions are content: render them when present and render nothing when empty.
For sequential setup, show one decision at a time with clear progress and sensible defaults. Use the smallest surface that fits the task: an inline row or dialog for a small edit, a focused flow for multi-step work.
Use the app's design system
Preserve the existing brand and theme. Prefer semantic color tokens and the app's type system over raw palette colors or a newly invented visual system. Choose an accent and type treatment for a reason; avoid generic gradients, glass effects, decorative blobs, and hero sections without a product purpose.
Use the app's local UI adapter for standard controls. In an Agent-Native app,
check the configured design system and toolkit provider before changing how
shared controls look. Read shadcn-ui when implementing or composing a
standard control; keep product-specific layout and visual decisions here.
Use real or generated imagery when it helps the user understand the subject. Do not add decorative assets solely to fill empty space.
Coordinate the UI with the agent
Keep repeatable, direct manipulation in the domain UI and use the agent for work that benefits from judgment, exploration, or conversation. If the app has a contextual agent sidebar, reuse it for in-context help and keep the user on the current work surface. Do not add a second freeform prompt box. A control that promises agent help should hand off the relevant context; label local, deterministic behavior plainly.
Interaction Responsiveness
Show feedback as soon as the user acts, aiming for 100 ms. When work cannot finish immediately, acknowledge it before a network round-trip and show a focused pending state within 400 ms. Use optimistic updates when safe, then confirm or roll back on failure. Keep long work visibly progressing and offer a way to stop when the operation supports cancellation.
Make interactions clear and accessible
Support keyboard use, visible focus, accessible names, readable contrast, and
clear validation and recovery. Dialog and menu controls should use the app's
existing accessible primitives rather than hand-built click-outside behavior.
Never use browser alert, confirm, or prompt dialogs.
Use motion to clarify a state change. Prefer short transitions on opacity or transform, respect reduced-motion preferences, and avoid delaying content with decorative entrances or long animations.
Fit the content to narrow screens as well as desktop. Text and controls should not overflow their containers; fixed-format editors, boards, and toolbars should keep stable dimensions.
Review the result
Check that the main job and next action are obvious. Look at the default, loading, empty, error, and success states that apply, and check a narrow viewport. Remove anything that competes w
よくある質問
新しい色やスタイルを追加しますか?
通常の変更では既存のデザインに従います。新しい視覚的方向性は、大きな新しい画面や全面的な刷新の場合にのみ選ばれます。
良い最初の表示とは何ですか?
スキルによれば、ユーザーが今どこにいて、何の作業中で、次に何をすべきかが分かる表示です。
雑然とした見た目は、タブやカードを増やして直すべきですか?
いいえ。構成が分かりにくいときに、カード、タブ、説明文を増やさないようスキルは指示しています。
詳細
作者による元の説明
Product-specific interface design for an Agent-Native app. Use when creating or changing any user-facing UI, including screenshot feedback, copy or density cleanup, settings, controls, or a visual redesign.
repo: BuilderIO/agent-native
人気
- GitHubのスター
- 7.6k
- ランキング
- #13161
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。