Install in seconds
Install this skill
Copy the command and run it in your terminal. You can review the source before installing.
terminal
git clone https://github.com/xiaopu-ai/web-design

Works with Git. The repository opens in your current directory.

๐ŸŽจ
FrontendPython

Web Design

by xiaopu-ai

Creates a DESIGN.md specification from your inputs (PRD, URL, screenshot) and then generates complete, production-ready frontend code for landing pages, portfolios, blogs, product pages, and more.

587 stars51 forksAdded 2026/07/16
claude-codeclaude-skilldesign-systemwe-bweb-designwebdesignxiaopu

Documentation

README

web-design

A Claude Code SKILL for designing beautiful, consistent web pages โ€” spec first, code second.

Live Demo

License: MIT GitHub Pages HTML CSS JavaScript

web-design landing page

โœจ What it does

Feed the SKILL a PRD, a reference URL, or a screenshot โ€” any combination works. It produces a readable, editable, portable DESIGN.md first. Only then does it generate the web code.

The result: UI, visuals, motion, and responsiveness that all land. Consistent across pages, portable across AI tools, editable by hand.

๐Ÿงญ How it works

Phase A ยท Understand. Extracts design cues from PRD / URL / screenshot / keywords / brand name. A graceful fallback chain keeps it working even with sparse inputs.

Phase B ยท Produce DESIGN.md. A full 9-section spec: color ยท type ยท component ยท layout ยท motion ยท depth ยท do's & don'ts ยท responsive ยท accessibility. Once you approve it, the spec lives in your project and can be edited by hand.

Phase C ยท Generate code. Strictly follows the spec. Self-audits against a 100-score quality checklist. Diff-audits when a reference URL exists.

๐Ÿ“ฆ Repository layout

web-design/
โ”œโ”€โ”€ SKILL.md            # the skill itself (instructions for Claude)
โ”œโ”€โ”€ references/         # design systems, style seeds, motion library,
โ”‚                       # interaction patterns, quality checklist
โ”œโ”€โ”€ scripts/            # Playwright crawler, static token extractor,
โ”‚                       # Unsplash image fetcher
โ””โ”€โ”€ docs/               # landing page (served by GitHub Pages)
    โ”œโ”€โ”€ index.html
    โ”œโ”€โ”€ styles.css
    โ”œโ”€โ”€ app.js
    โ”œโ”€โ”€ DESIGN.md       # the page's own spec (produced by the SKILL itself)
    โ””โ”€โ”€ images/

๐Ÿš€ Install

Clone into your Claude Code skills directory:

git clone https://github.com/KAOPU-XiaoPu/web-design ~/.claude/skills/web-design

Claude Code will auto-discover the SKILL the next time you start a session.

๐Ÿ’ป Run the landing page locally

cd web-design/docs
python3 -m http.server 8000
# open http://localhost:8000

Opening index.html directly with file:// won't work โ€” Google Fonts and the OGL ES module need an HTTP origin.

๐Ÿ™ Credits

Motion effects on the landing page derive from work by David Haz:

  • vue-bits (MIT) โ€” GradientBlinds, RollingGallery
  • react-bits (MIT) โ€” DomeGallery

Reference inspirations for the DESIGN.md structure draw from awesome-design-md (MIT).

๐Ÿ“„ License

MIT โ€” use it, fork it, ship it.


Built with โค๏ธ by @KAOPU-XiaoPu

Live Demo ยท Report Issues ยท Install