Skills

HTML Mockups

If the user asks for an html mockup for ui components or screens

Install

npx skills add humanlayer/humanlayer --skill html-mockups -g -a claude-code -y
Repository
humanlayer/humanlayer12.7k
Category
Design
Updated
4d ago
License
Apache-2.0
Context cost
Mediumabout 2,267 tokens
Runs scripts
No, instructions only

What it does

if the user asks for an html mockup for ui components or screens

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

Read the whole SKILL.md on GitHub

More in Design