mcpField
D
design-website

design-website

github.com/aiagentwithdhruvDesign & UI20102 installsUpdated 15w ago
Repository

About design-website

A skill that creates single-page HTML website mockups from prospect data in Google Sheets. It is intended for web design service pitches and produces a self-contained file with a defined editorial visual style.

Key features

  1. 01Read prospect details from Google Sheets
  2. 02Generate single-page HTML mockups
  3. 03Use Unsplash images or placeholder images
  4. 04Create self-contained HTML output
  5. 05Handle missing fields with defaults

Use cases

  1. 01Prepare a website concept for a sales prospect
  2. 02Turn a selected spreadsheet row into a mockup
  3. 03Preview generated HTML in a browser

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aiagentwithdhruv/skills --skill design-website

After installing, type/design-websitein Claude Code to confirm it loaded.

Bundled filesscripts/generate_website.pyscripts/read_prospect.py

Details

From the project README

Design Website

Goal

Generate a polished, single-page HTML website mockup for a prospect's business. The website matches the buildinamsterdam.com aesthetic: bold typography, off-white backgrounds, editorial grid layouts, terracotta accents. Used to pitch web design services.

Inputs

  • Google Sheet URL with prospect data
  • Row number (1-indexed, excluding header) to select which prospect
  • Optional: worksheet name (defaults to first sheet)
Expected Sheet Columns

The script maps these columns (case-insensitive, flexible matching):

ColumnMaps To
company_name / companyBusiness name (hero, nav, footer)
description / aboutAbout section + hero subtitle
keywords / servicesServices grid (comma-separated)
phone / phone_numberContact section
email / contact_emailContact section
address / full_addressContact section
city, state, countryLocation info
industry / categoryUnsplash image search queries
first_name, last_nameOwner attribution
title / roleOwner role

Scripts

  • scripts/read_prospect.py — Read a single prospect row from Google Sheets → JSON
  • scripts/generate_website.py — Generate HTML website from prospect JSON

Process

Step 1: Read prospect data
python3 .claude/skills/design-website/scripts/read_prospect.py \
  --url "SHEET_URL" \
  --row ROW_NUMBER \
  --worksheet "WORKSHEET_NAME"  # optional

Outputs JSON to stdout.

Step 2: Generate website
python3 .claude/skills/design-website/scripts/read_prospect.py \
  --url "SHEET_URL" --row 1 | \
python3 .claude/skills/design-website/scripts/generate_website.py

Or with a JSON file:

python3 .claude/skills/design-website/scripts/generate_website.py < prospect.json
Step 3: Preview

Open the generated file in browser:

open .tmp/website_*.html

Outputs

  • .tmp/website_{company_slug}.html — Self-contained HTML file, viewable in any browser
  • All CSS is inline, images are external URLs (Unsplash)

Environment

  • UNSPLASH_ACCESS_KEY in .env — Required for stock photos. Get free key at https://unsplash.com/developers
  • If no key is set, falls back to curated placeholder images from picsum.photos
  • Google OAuth credentials (token.json / credentials.json) for Sheets access

Design System

  • Font: Inter (Google Fonts CDN)
  • Colors: Off-white #F2EFE6, Black #000, White #FFF, Terracotta #C38133
  • Typography: Bold uppercase display (72-100px), section heads (36-48px), body (16-18px)
  • Layout: Full-viewport hero, 2-col about, 3-col services grid, 2x2 gallery
  • Buttons: Bordered, uppercase, letter-spaced

Edge Cases

  • Missing columns: Script uses sensible defaults (e.g., "Welcome" if no description)
  • No Unsplash key: Falls back to picsum.photos placeholder images
  • Long company names: CSS handles wrapping with responsive font sizing
  • Special characters: HTML-escaped in output

Schema

Inputs
NameTypeRequiredDescription
sheet_urlstringYesGoogle Sheet URL with prospect data
rowintegerYesRow number (1-indexed, excluding header)
worksheetstringNoWorksheet name (default: first sheet)
Outputs
NameTypeDescription
html_filefile_pathSelf-contained HTML file at .tmp/website_{slug}.html
Credentials
NameSource
UNSPLASH_ACCESS_KEY.env (optional, falls back to picsum)
Composable With

Skills that chain well with this one: scrape-leads, gmaps-leads

Cost

Free (Unsplash free tier)

Comments

Markdown supported