# huashu-design-html-native

Turns a plain-language request into a finished file: prototype, slide deck, animation or infographic in HTML/CSS/JS. No Figma involved.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 426 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/huashu-design-html-native/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/huashu-design-html-native

## What it does

The skill runs in agents that read `SKILL.md`: Claude, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode. You describe the outcome, the agent builds a single-file HTML with a clickable prototype inside an iPhone 15 Pro or Android bezel, a slide deck, a timeline animation exported to MP4 and GIF, or a print-quality infographic. A separate mode critiques a design across five dimensions and returns a radar chart with a Keep/Fix/Quick Wins list.

The repo ships the building blocks: `animations.jsx` with Stage, Sprite, Easing and interpolate primitives, device frames, the `deck_stage.js` slide engine, the `design_canvas.jsx` variant panel, 24 prebuilt examples and six background tracks. Scripts `render-video.js`, `convert-formats.sh`, `add-music.sh` and `html2pptx.js` handle Playwright rendering, 60fps interpolation, music muxing and converting DOM styles into editable PPTX objects.

The agent does not start blind. It fires a batch of questions first, marks assumptions and placeholders inside the HTML, and shows a gray-box skeleton for approval. When a named brand is involved, the skill insists on pulling brand colors from downloaded assets into `brand-spec.md` instead of guessing from memory. Video rendering goes through Playwright, so check that it is installed before asking for an MP4.

## Requirements
- Works with: Playwright

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill huashu-design-html-native -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/huashu-design-html-native/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/huashu-design-html-native/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill huashu-design-html-native -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/huashu-design-html-native/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill huashu-design-html-native -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/huashu-design-html-native/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills huashu-design-html-native
```

2. **Manually: put the files in place**
- File: `.github/skills/huashu-design-html-native/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill huashu-design-html-native -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/huashu-design-html-native
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/huashu-design-html-native/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill huashu-design-html-native -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/huashu-design-html-native/SKILL.md

## When to use it
- build a clickable app prototype inside a phone bezel
- produce a slide deck and export it as editable PPTX
- render an animation to MP4 and GIF with background music
- lay out three design variants side by side on one canvas
- get a five-dimension critique with a fix list

## Example prompts
- make a meditation app prototype in an iPhone frame
- build a slide deck for the quarterly review and export it as PPTX
- generate a logo animation and export it as MP4

## Similar
- [prototype](https://affpapa.org/en/nevibecode/skills/adobe-prototype.md) — skill · 524 installs
- [html-prototype](https://affpapa.org/en/nevibecode/skills/html-prototype.md) — skill · 1800 installs
- [extract-design-system](https://affpapa.org/en/nevibecode/skills/extract-design-system.md) — skill · 130700 installs
- [explain-interface](https://affpapa.org/en/nevibecode/skills/explain-interface.md) — skill · 14100 installs
- [Web Design Builder](https://affpapa.org/en/nevibecode/skills/web-design-builder.md) — skill · 416 installs
- [slide-creator](https://affpapa.org/en/nevibecode/skills/slide-creator.md) — skill · 4100 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 49 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
