# Repository Briefing: xiaopu-ai/web-design
> Source: https://repoforai.com/repo/xiaopu-ai/web-design (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/xiaopu-ai/web-design
- **Official Docs / Website**: https://xiaopu-ai.github.io/web-design/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: B (62/100 · Maintenance 12/35 · Adoption 16/25 · Releases 14/20 · License 20/20)
- **Latest Release**: v0.1.0 (2026-04-16) — https://github.com/xiaopu-ai/web-design/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: MCP
- **Momentum**: 841 ★ total (+0 24h / +10 7d) · 86 forks
- **Topics**: `claude-code`, `claude-skill`, `design-system`, `we-b`, `web-design`, `webdesign`, `xiaopu`
- **When to Use**: Best for: Claude Code teams turning PRDs, screenshots, or reference sites into multiple pages that share a reviewable, editable design spec. Skip if: Your integration requires an MCP server, your pipeline must enforce a component system automatically, or a one-off page does not justify a separate spec review.

## Overview
```text
### Architecture & Core Mechanics
The implementation is a Claude Code Skill centered on `SKILL.md`, not a demonstrated MCP service. Claude Code discovers the skill locally. It extracts design cues from the available inputs, writes an editable `DESIGN.md`, and then generates web code against that spec. The Markdown artifact gives a reviewer a place to change design decisions before they are carried into code.

`references/` supplies design material and review criteria, while `scripts/` contains collection helpers: a Playwright crawler, a static design-token extractor, and an Unsplash image fetcher. These are separate from the static GitHub Pages example in `docs/`, which has its own `DESIGN.md` and HTML, CSS, and JavaScript implementation. No MCP transport, server entrypoint, or standalone model runtime is established.

### Key Capabilities & Differentiators
The workflow accepts a PRD, reference URL, or screenshot, individually or in combination. When inputs are sparse, it can fall back to cues such as keywords or a brand name. Its reference library includes 58 brand design systems alongside style seeds, motion examples, and interaction patterns. The spec is intended to carry visual, motion, and responsive decisions across pages without tying the handoff to source code.

Generation is followed by a self-audit using a 100-point quality checklist. When a reference URL is available, the workflow adds a comparison pass against that reference. The scale describes the checklist, not measured output quality, and the comparison pass should not be treated as proof of automated visual regression coverage or browser compatibility.

### Trade-offs & Limitations
Compared with prompting directly for HTML and CSS, this workflow adds a spec to review and maintain. That cost is easier to justify across pages, where shared decisions about visuals and interaction can be reviewed before they diverge in code. Compared with a component library or token pipeline, Markdown is easy to edit and pass between tools, but it does not by itself enforce conformity in the generated UI.

Reference capture also adds setup and resource costs: a real browser is more expensive to run than static extraction, and sparse inputs or inaccessible references leave more decisions to the generator. Keep accessibility checks, browser testing, and any visual regression gates outside the model’s self-audit. MIT permits commercial use of the repository subject to its terms; it does not automatically grant rights to assets collected from elsewhere.

### Hardware & Deployment Guide
Install the repository under `~/.claude/skills/web-design` and start a new Claude Code session to trigger discovery. There is no separate service to start for this integration. If using the crawler, plan for a Playwright browser runtime. Python 3 is explicitly used to serve the demo; exact helper dependency versions and browser setup commands are not established.

For a local demo, run `python3 -m http.server 8000` from `docs/`. Use the HTTP URL rather than opening `index.html` over `file://`; the demo loads Google Fonts and an OGL ES module. Local serving does not guarantee offline operation, and fetching reference URLs or Unsplash images entails network access. `v0.1.0`, released on April 16, 2026, is the first public release of the skill, references, and helper scripts.
```

## Key Capabilities
```text
- Integration: Claude Code discovers `SKILL.md` from its skills directory; no MCP connection is established.
- Design handoff: An editable `DESIGN.md` separates design decisions from code generation.
- Input handling: Combines PRDs, reference URLs, and screenshots, with fallback inputs such as brand names or keywords.
- Reference library: 58 brand design systems plus style seeds, motion examples, and interaction patterns.
- Acquisition helpers: `scripts/` includes a Playwright crawler, a static token extractor, and an Unsplash image fetcher.
- Quality review: A 100-point checklist guides self-audit, with a comparison pass when a reference URL is available.
```

## Quick Start / Clone
```bash
git clone https://github.com/KAOPU-XiaoPu/web-design ~/.claude/skills/web-design
```
