html-mockups
できること
アプリの画面とコンポーネントのHTMLのモックアップを、単一のファイルとして作るようエージェントを導きます。作る前に画面のアイデアを見たいデザイナーやプロダクトチーム向けです。
使う場面
- ✓画面やインターフェースのコンポーネントのモックアップを依頼するとき。
- ✓ブラウザで開ける視覚的なプロトタイプがほしいとき。
- ✓共有しやすい一つのファイルで届く、ダークテーマのデザインがほしいとき。
スキルのリンク
https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/html-mockups/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ダークテーマのログイン画面のHTMLモックアップを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、すべてのスタイルとスクリプトを一つのHTMLファイルに入れ、固定のカラーシステムを使います。そのファイルをどのブラウザでも開けば、モックアップを見られます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Output Location
Write mockups to the task directory if one exists:
.humanlayer/tasks/{task-slug}/mockup-{description}.html
Or to a reasonable location the user specifies.
Each mockup must be a single self-contained file: put all CSS in a <style> block and all JS in a
<script> block. Do not split shared styles or scripts into sibling files. The cloud viewer serves
every artifact from its own signed URL, so an HTML file that links to a sibling .css or .js file
renders unstyled there even though it looks right when opened from disk.
Design System: Poimandres Theme
Color Palette
:root {
/* Backgrounds */
--terminal-bg: #1b1e28; /* Primary background - very dark blue-gray */
--terminal-bg-alt: #303340; /* Secondary/elevated background */
/* Text */
--terminal-fg: #a6accd; /* Primary text - muted purple-gray */
--terminal-fg-dim: #767c9d; /* Secondary/muted text */
/* Semantic Colors */
--terminal-accent: #add7ff; /* Primary accent - bright cyan blue */
--terminal-success: #5de4c7; /* Success/positive - mint green */
--terminal-warning: #fffac2; /* Warning/caution - pale yellow */
--terminal-error: #d0679d; /* Error/destructive - pink/magenta */
/* Borders & Inputs */
--terminal-border: #303340; /* Border color - matches bg-alt */
--terminal-input-bg: #ffffff05; /* Input background - 5% white */
--terminal-input-border: #ffffff10; /* Input border - 10% white */
--terminal-selection: #717cb425; /* Selection highlight */
/* Derived */
--terminal-accent-dim: rgba(173, 215, 255, 0.3); /* 30% accent */
}
Typography
- Font Family:
'JetBrains Mono', 'Fira Code', monospace - Base Size: 13px for body text
- Labels: 10-11px, uppercase, letter-spacing 1-1.5px
- Buttons: 10-11px, uppercase, letter-spacing 1-1.5px, font-weight 500
Button Styling
All buttons use these base styles:
- Border radius: 0 (fully square corners -
rounded-none) - Border: 1px solid
- Font: Monospace, uppercase, letter-spacing
- Transition: 0.15s for all properties
Button Variants
Default (Accent)
.btn-default {
background: rgba(173, 215, 255, 0.2); /* 20% accent */
color: #add7ff; /* accent text */
border-color: #add7ff; /* accent border */
}
.btn-default:hover {
background: #add7ff; /* solid accent */
color: #1b1e28; /* dark text */
}
Ghost
.btn-ghost {
background: transparent;
color: #767c9d; /* dim text */
border-color: #303340; /* border color */
}
.btn-ghost:hover {
background: rgba(173, 215, 255, 0.1); /* 10% accent */
border-color: #add7ff;
color: #add7ff;
}
Destructive
.btn-destructive {
background: transparent;
color: #d0679d; /* error */
border-color: #d0679d;
}
.btn-destructive:hover {
background: #d0679d;
color: #1b1e28;
}
Loud Success CTA (for primary actions like "Proceed to Next Step")
.btn-loud-success {
background: transparent;
color: #5de4c7; /* success */
border-color: #5de4c7;
animation: pulse-success 2s ease-in-out infinite;
}
.btn-loud-success:hover {
background: rgba(93, 228, 199, 0.1); /* 10% success */
}
@keyframes pulse-success {
0%, 100% { box-shadow: 0 0 0 0 rgba(93, 228, 199, 0.4); }
50% { box-shadow: 0 0 0 4px rgba(93, 228, 199, 0); }
}
Semantic Button Patterns
For toggle buttons that indicate state (like action buttons in bottom tray):
Success State (enabled)
.btn-icon.active-success {
background: rgba(93, 228, 199, 0.15); /* 15% success */
color: #5de4c7;
border-color: rgba(93, 228, 199, 0.3); /* 30% success */
}
.btn-icon.active-success:hover {
background: rgba(93, 228, 199, 0.25); /* 25% success */
border-color: #5de4c7;
}
Warning State (enabled)
.btn-icon.active-warning {
background: rgba(255, 250, 194, 0.15); /* 15% warning */
color: #fffac2;
border-color: rgba(255, 250, 194, 0.3); /* 30% warning */
}
.btn-icon.active-warning:hover {
background: rgba(255, 250, 194, 0.25); /* 25% warning */
border-color: #fffac2;
}
Error State (enabled)
.btn-icon.active-error {
background: rgba(208, 103, 157, 0.15); /* 15% error */
color: #d0679d;
border-color: rgba(208, 103, 157, 0.
よくある質問
表示するのに他のファイルが必要ですか?
いいえ。各モックアップは自己完結した一つのファイルなので、スタイルとスクリプトがすべて含まれます。
ファイルはどこに保存されますか?
タスクのフォルダーがあればそこに、なければあなたが指定した場所に保存します。
モックアップは本番のコードですか?
いいえ。見て確認するためのモックアップで、完成したアプリの画面ではありません。
詳細
作者による元の説明
if the user asks for an html mockup for ui components or screens
repo: humanlayer/humanlayer
人気
- GitHubのスター
- 13k
- ランキング
- #11386
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
asd-ste100
13kエージェントが、分かりにくい英語を、人やほかのソフトウェアが読みやすい、短くて一つの意味しか持たない文に書き直せるよう教えます。
better-github-skill
13kプルリクエストの状態を確認し、そのレビューコメントを読み、CIのビルドが失敗した理由を、すぐに使えるGitHubのスクリプトで見つけるのを支援します。
calldiff
13kエージェントが、二つのgitのバージョンの間で、コードベースの関数呼び出しの連鎖を比べ、コードレビューで動作の変化を確認できるよう支援します。
chrome-devtools-cli
13kエージェントが、ターミナルからChromeを操作し、ページを開き、クリックし、フォームに入力し、ページのスナップショットを撮れるようにします。ブラウザの自動化とテストのためです。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。