prototype-html SKILL.md skillB

prototype-html from mingdui/ai-product-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mingdui/ai-product-skills/prototype-html@git:20261013.60e8978

Pins git:20261013.60e8978 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
mingdui/ai-product-skills
Path
skills/prototype-html/SKILL.md
Versions recorded
1
Latest version
git:20261013.60e8978, committed Oct 13, 2026
Size
4,028 bytes
Repository stars
12
License
a license file GitHub does not identify

生成交互式HTML产品原型的专家技能。当用户需要创建产品原型、UI界面原型、 可交互的HTML演示页面、产品功能展示页面,或提到"原型"、"prototype"、 "产品界面"、"UI原型"、"交互原型"、"演示页面"等时使用。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 交互式HTML产品原型生成

根据产品需求,生成完整的、可直接运行的单文件HTML产品原型。

## 核心工作流程

1. **理解需求** - 明确用户需要展示的产品功能和界面元素
2. **设计布局** - 规划左侧界面元素与右侧说明文档的对应关系
3. **编写代码** - 生成符合所有技术规范的完整HTML文件
4. **验证检查** - 确保所有连线正确、交互完整、响应式正常

## 布局规范(严格执行)

### 整体结构

- **左右分栏布局**
  - 左侧:占页面宽度的80%-85%,展示产品主体界面内容
  - 右侧:占页面宽度的15%-20%,展示对应功能的详细说明文档
- **分隔线**:左右两栏之间有清晰的垂直分隔线
- **滚动同步**:左右两栏各自独立滚动,互不影响

### 连线功能(必须严格执行)

使用SVG技术绘制连线,确保连线清晰可见且不遮挡内容。

**连线规则:**
- 选择左侧界面中2-4个重要元素增加连线指向右侧对应的功能说明
- 连线的**起始点**必须精确连接到左侧元素的右侧边缘中点
- 连线的**结束点**必须精确连接到右侧对应说明文字的左侧边缘中点
- 连线采用平滑的贝塞尔曲线,避免生硬的直角转弯
- 连线线条粗细为 2px

**交互效果:**
- 当鼠标悬停在左侧元素上时,对应的连线加粗并高亮显示
- 当鼠标悬停在右侧说明文字上时,对应的连线和左侧元素也会高亮显示

**连线标注:**
- 每条连线旁边添加小的数字编号,与右侧说明的编号对应

## 响应式设计规范

### PC端
- 保持上述左右分栏布局

### 手机端
- 自动切换为上下布局
- 上方展示产品主体界面,下方展示功能说明
- 连线功能自动隐藏
- 在每个元素下方直接显示简短说明
- 提供"切换视图"按钮,允许用户在"仅界面"和"界面+说明"之间切换

## 技术栈要求

1. **纯前端实现**:使用纯HTML、CSS和原生JavaScript,不依赖任何外部框架
2. **样式**:使用Tailwind CSS v3,通过CDN引入
3. **图标**:使用Font Awesome图标库,通过CDN引入
4. **代码结构**:
   - HTML结构语义化,使用适当的标签
   - CSS样式内联在`<style>`标签中
   - JavaScript代码内联在`<script>`标签中
   - 所有代码整合在一个HTML文件中,无需外部资源

## 样式与视觉规范

### 配色方案
- 如果用户指定了色系则用用户指定的色系,否则用下面默认的色系
- **主色调**:蓝色 `#165DFF`
- **辅助色**:浅灰色 `#F5F7FA`、深灰色 `#333333`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mingdui/ai-product-skills/prototype-html@sha256:ee752a2f5ae5353f

The line at the top of this page pins the label git:20261013.60e8978, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xlpganyw26ydpyus.svg)](https://markdownregistry.com/a/art_xlpganyw26ydpyus)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 13, 2026.

versioncommittedcommitsizeaudit
git:20261013.60e8978 latest2026-10-13 60e8978 4,028 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4028 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

mingdui/ai-product-skills · 12 stars · license a license file GitHub does not identify · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xlpganyw26ydpyus
GET https://markdownregistry.com/api/v1/resolve?ref=mingdui/ai-product-skills/prototype-html
GET https://markdownregistry.com/api/v1/blob/ee752a2f5ae5353f6335a3d1bfa035fb52144962c17895f829db8b1643c38d9f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mingdui/ai-product-skills

CLAUDE.md CLAUDE.md file
mingdui/ai-product-skills · CLAUDE.md
git:20261013.3d17e09 · audit A · 12 stars
acceptance-checklist SKILL.md skill
mingdui/ai-product-skills · skills/acceptance-checklist/SKILL.md · 基于 PRD 和交付包生成结构化验收清单,产出 docs/prd/<feature-name>/acceptance.md。按核心流程、边界与异常、UI 还原度、数据埋点四个维度拆解,每条标 P0/P1/P2 优先级并注明依据出处(引用…
git:20261013.447718f · audit A · 12 stars
context-to-prd SKILL.md skill
mingdui/ai-product-skills · skills/context-to-prd/SKILL.md · 把已经聊透的需求上下文直接落成 PRD,不做采访。适用于你已经跟 AI 把问题、边界、方案讨论清楚,只差成文的场景;需求还停在口头、边界没问清时改用 requirement-clarify,要复用已有产品体验基线或做增量 PRD 时用…
git:20261013.be4849d · audit A · 12 stars
design-spec-prototyper SKILL.md skill
mingdui/ai-product-skills · skills/design-spec-prototyper/SKILL.md · 将 `design.md` / `DESIGN.md` 等有证据支撑的设计规格,**配合设计稿图片或截图**,转为高保真、无障碍且响应式的 UI 原型。规格提供品牌令牌、组件规则与字体(持续沉淀的产品事实),图片提供本次页面的实际构图,两者…
git:20261013.447718f · audit A · 12 stars
grill-with-prd SKILL.md skill
mingdui/ai-product-skills · skills/grill-with-prd/SKILL.md · 针对 PRD 文档的逐项审查会话,挑战需求的完整性、一致性和可实现性,并将确认的决策同步回 docs/prd/{feature-name}/prd.md。适用于用户想在开始实现前压测 PRD 的场景。
git:20261013.447718f · audit A · 12 stars
pm-frontend-prototype SKILL.md skill
mingdui/ai-product-skills · skills/pm-frontend-prototype/SKILL.md · 仅当用户明确要求在已有前端项目中生成、制作、构建或完善“原型”(例如高保真原型、可点击演示或评审 Demo)时使用此 Skill。默认基于现有源码复用组件、设计变量和技术栈,创建与正式业务入口隔离的原型页面或路由,并使用页面级模拟数据完成可…
git:20261013.4d20990 · audit A · 12 stars
prd-write SKILL.md skill
mingdui/ai-product-skills · skills/prd-write/SKILL.md · 编写或维护项目内的 PRD。适用于首版/重大方案的完整 PRD,也适用于已有产品基线后的功能迭代 PRD;先复用 docs/product 下已确认的体验规则,只记录本次新增、偏离、候选模式和待决问题。输出保存到 docs/prd…
git:20261013.447718f · audit A · 12 stars
product-experience-foundation SKILL.md skill
mingdui/ai-product-skills · skills/product-experience-foundation/SKILL.md · 为一个具体产品项目建立或维护可持续演进的体验基线,包括产品上下文、C 端或 Admin 的信息架构、视觉与交互规则、页面模式和组件晋升记录。适用于首版…
git:20261013.447718f · audit A · 12 stars
product-prd-extract SKILL.md skill
mingdui/ai-product-skills · skills/product-prd-extract/SKILL.md · 把 Word(.docx)PRD 或粘贴的 PRD 文本转成结构化 Markdown,落到 docs/prd/<feature-name>/prd.md,直接接进本仓库的链路。当用户提到「解析 PRD」「提取需求文档」「PRD…
git:20261013.51f741b · audit A · 12 stars
prototype-to-product SKILL.md skill
mingdui/ai-product-skills · skills/prototype-to-product/SKILL.md · 将已确认的 HTML、Tailwind、Figma 导出或代码原型路由为当前仓库的正确工程交付:直接实现生产代码,或交接到项目采用的 OpenSpec、Superpowers…
git:20261105.993e405 · audit A · 12 stars
requirement-clarify SKILL.md skill
mingdui/ai-product-skills · skills/requirement-clarify/SKILL.md · 在写 PRD 之前,用采访的方式把一句模糊需求补成可以落笔的完整输入。逐个问清目标角色、触发场景、范围、明确不做的部分和已知约束,产出 docs/prd/<feature-name>/clarify.md。适用于需求还停留在口头、聊天记录或…
git:20261013.51f741b · audit A · 12 stars
web-design-extractor SKILL.md skill
mingdui/ai-product-skills · skills/web-design-extractor/SKILL.md · 从公开网站或已获授权的网站 URL、一个或多个网页截图中提取有证据支撑、可直接用于实现的 `design.md`。适用于需要为复刻、设计系统文档或 UI 实现简报逆向分析网站的视觉系统、布局、组件、响应式行为、内容层级或交互状态的场景。
git:20261013.447718f · audit A · 12 stars

Every file in mingdui/ai-product-skills

Browse by kind, by grade B, or by owner.