xiaopu-ai/web-design
A spec-first Claude Code Skill for consistent web UI generation
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
SKILL.md from its skills directory; no MCP connection is established.DESIGN.md separates design decisions from code generation.scripts/ includes a Playwright crawler, a static token extractor, and an Unsplash image fetcher.Claude Code teams turning PRDs, screenshots, or reference sites into multiple pages that share a reviewable, editable design spec.
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.
Quick Start & Installation
git clone https://github.com/KAOPU-XiaoPu/web-design ~/.claude/skills/web-design
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| web-design ★ | 841 | +10 | Python | MIT | A spec-first Claude Code Skill for consistent web UI generation |
| taste-skill | 125.3k | +2.9k | JavaScript | MIT | An agent skill for directing company website design and checking builds in a bro |
| skills | 204.1k | +2.5k | Python | — | A Claude Agent Skills catalog for packaging and reusing task workflows |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/xiaopu-ai/web-design.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about web-design
Does this integrate as a Claude Code Skill or an MCP server?
~/.claude/skills/web-design and start a new Claude Code session so the client can discover SKILL.md. The integration shares an editable Markdown spec, not a remote tool interface. No MCP server entrypoint or transport is established, so an MCP-only client should not expect to connect to it.What hardware and runtime should I plan for?
Can I use it commercially or host the demo myself?
When is this better than a direct prompt or an existing design system?
DESIGN.md to capture page-level decisions. For a one-off page, the extra review step may not pay off.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy