web-design
A Claude Code SKILL for designing beautiful, consistent web pages — spec first, code second.
web-design
A Claude Code SKILL for designing beautiful, consistent web pages — spec first, code second.
✨ 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
같은 카테고리 다른 리소스
Next.js
React 기반 풀스택 프레임워크. App Router + RSC가 사실상 표준.
shadcn/ui
복사-붙여넣기 React 컴포넌트 모음. npm 의존성이 아닌 코드 소유권 모델.
Supabase
PostgreSQL 기반 BaaS. Auth · Realtime · Storage · Edge Functions 통합.
Anthropic MCP
Claude가 외부 도구/데이터에 접근하도록 해주는 프로토콜 표준. 생태계의 근간.
