HTML Builder
A design reference and helper tool for web development. Quickly look up color palettes, font pairings, layout grids, icon libraries, spacing scales, responsive breakpoints, contrast checkers, shadow presets, mockup tools, and design checklists — all from your terminal.
Commands
| Command |
Description |
palette |
Display a curated color palette with Primary (#2563EB), Secondary (#7C3AED), and Accent (#F59E0B) values |
font |
Show recommended font pairings — Heading: Inter/Poppins, Body: Open Sans/Lato |
layout |
Output layout template specs — 12-column grid, 8px base spacing, 1200px max-width |
icon |
List popular icon libraries — Heroicons, Lucide, Phosphor, Tabler |
spacing |
Show spacing scale guide — xs:4 sm:8 md:16 lg:24 xl:32 2xl:48 |
breakpoint |
Display responsive breakpoints — sm:640 md:768 lg:1024 xl:1280 2xl:1536 |
contrast |
Provide contrast checker reference (webaim.org tool link) |
shadow |
Show box-shadow presets — sm, md, lg with CSS values |
mockup |
List recommended mockup/design tools — Figma, Sketch, Adobe XD |
checklist |
Output a design checklist — consistent spacing, color contrast, mobile responsive |
help |
Show all available commands |
version |
Display current version (v2.0.0) |
Data Storage
- Data directory:
~/.local/share/html-builder/ (override with $HTML_BUILDER_DIR or $XDG_DATA_HOME)
- History log:
$DATA_DIR/history.log — records every command invocation with timestamp
- All data is stored locally; no external services or accounts required
Requirements
- Bash 4+ (uses
set -euo pipefail)
- No external dependencies — pure bash, no API keys needed
- Works on Linux and macOS
When to Use
- Starting a new web project — quickly reference standard color palettes, font pairings, and grid layouts without leaving the terminal
- Checking responsive design — look up breakpoint values (sm/md/lg/xl/2xl) to ensure your CSS media queries follow common conventions
- Reviewing accessibility — use the
contrast command to get the WCAG contrast checker link and the checklist command for a quick design audit
- Prototyping UI components — reference spacing scales and shadow presets to maintain consistent visual rhythm across your design
- Onboarding a new designer or developer — share the tool as a quick-reference cheat sheet for design system fundamentals
Examples
# Get the default color palette
html-builder palette
# Look up recommended heading and body font pairings
html-builder font
# Check responsive breakpoint values for CSS media queries
html-builder breakpoint
# Get box-shadow CSS presets (small, medium, large)
html-builder shadow
# Run through the design checklist before shipping
html-builder checklist
Example Output
$ html-builder spacing
xs:4 sm:8 md:16 lg:24 xl:32 2xl:48
$ html-builder icon
Libraries: Heroicons | Lucide | Phosphor | Tabler
Configuration
Set HTML_BUILDER_DIR environment variable to change the data directory. Default: ~/.local/share/html-builder/
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---
2version: "2.0.0"
3name: html-builder
4description: "Generate HTML pages, landing pages, email templates, and forms with ease. Use when building landing pages, creating emails, or prototyping portfolios."
5author: BytesAgain
6homepage: https://bytesagain.com
7source: https://github.com/bytesagain/ai-skills
8metadata:
9 source: https://skillmd.com/skills/bytesagain/html-builder
10---
11
12# HTML Builder
13
14A design reference and helper tool for web development. Quickly look up color palettes, font pairings, layout grids, icon libraries, spacing scales, responsive breakpoints, contrast checkers, shadow presets, mockup tools, and design checklists — all from your terminal.
15
16## Commands
17
18| Command | Description |
19|---------|-------------|
20| `palette` | Display a curated color palette with Primary (#2563EB), Secondary (#7C3AED), and Accent (#F59E0B) values |
21| `font` | Show recommended font pairings — Heading: Inter/Poppins, Body: Open Sans/Lato |
22| `layout` | Output layout template specs — 12-column grid, 8px base spacing, 1200px max-width |
23| `icon` | List popular icon libraries — Heroicons, Lucide, Phosphor, Tabler |
24| `spacing` | Show spacing scale guide — xs:4 sm:8 md:16 lg:24 xl:32 2xl:48 |
25| `breakpoint` | Display responsive breakpoints — sm:640 md:768 lg:1024 xl:1280 2xl:1536 |
26| `contrast` | Provide contrast checker reference (webaim.org tool link) |
27| `shadow` | Show box-shadow presets — sm, md, lg with CSS values |
28| `mockup` | List recommended mockup/design tools — Figma, Sketch, Adobe XD |
29| `checklist` | Output a design checklist — consistent spacing, color contrast, mobile responsive |
30| `help` | Show all available commands |
31| `version` | Display current version (v2.0.0) |
32
33## Data Storage
34
35- **Data directory:** `~/.local/share/html-builder/` (override with `$HTML_BUILDER_DIR` or `$XDG_DATA_HOME`)
36- **History log:** `$DATA_DIR/history.log` — records every command invocation with timestamp
37- All data is stored locally; no external services or accounts required
38
39## Requirements
40
41- Bash 4+ (uses `set -euo pipefail`)
42- No external dependencies — pure bash, no API keys needed
43- Works on Linux and macOS
44
45## When to Use
46
471. **Starting a new web project** — quickly reference standard color palettes, font pairings, and grid layouts without leaving the terminal
482. **Checking responsive design** — look up breakpoint values (sm/md/lg/xl/2xl) to ensure your CSS media queries follow common conventions
493. **Reviewing accessibility** — use the `contrast` command to get the WCAG contrast checker link and the `checklist` command for a quick design audit
504. **Prototyping UI components** — reference spacing scales and shadow presets to maintain consistent visual rhythm across your design
515. **Onboarding a new designer or developer** — share the tool as a quick-reference cheat sheet for design system fundamentals
52
53## Examples
54
55```bash
56# Get the default color palette
57html-builder palette
58
59# Look up recommended heading and body font pairings
60html-builder font
61
62# Check responsive breakpoint values for CSS media queries
63html-builder breakpoint
64
65# Get box-shadow CSS presets (small, medium, large)
66html-builder shadow
67
68# Run through the design checklist before shipping
69html-builder checklist
70```
71
72### Example Output
73
74```
75$ html-builder spacing
76 xs:4 sm:8 md:16 lg:24 xl:32 2xl:48
77
78$ html-builder icon
79 Libraries: Heroicons | Lucide | Phosphor | Tabler
80```
81
82## Configuration
83
84Set `HTML_BUILDER_DIR` environment variable to change the data directory. Default: `~/.local/share/html-builder/`
85
86---
87
88Powered by BytesAgain | bytesagain.com | hello@bytesagain.com