Design Prototype logo

Design Prototype

CommunityPopular
huiliyi37
design-prototype

Frontend UI prototype workflow — clarify intent, explore directions, preview across viewports, diff against references, deliver with screenshot evidence

Overview

Publisherhuiliyi37
RepositoryTianshu-harness
Skill namedesign-prototype
Stars
1.1K
Forks
78
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by huiliyi37 on GitHub. Read the source before you install it.

Installation

Install the Design Prototype AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/design/skills/design-prototype
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huiliyi37/Tianshu-harness.git /tmp/Tianshu-harness
mkdir -p .claude/skills
cp -r /tmp/Tianshu-harness/plugins/design/skills/design-prototype .claude/skills/design-prototype
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Design Prototype in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Design Prototype on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Design Prototype is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Design Prototype(前端设计原型)

对标 Codex Product Design 插件的方法论,适配天枢交付纪律。

工作流

1. 意图澄清(单问约束)

开始动手前,若以下任一项不明,只问一个最关键的问题:

  • 目标用户与核心动作(注册?购买?浏览?)
  • 品牌调性(极简 / 企业 / playful / 暗色)
  • 有无参考(竞品截图、Figma 链接描述、色板)

不要一次抛多个选择题。

2. 探索 2–3 个视觉方向

每个方向输出单文件 HTML 原型:

  • 内联 CSS(无构建步骤,即开即预览)
  • 语义化 HTML + 基础可访问性(label、alt、focus 可见)
  • 真实文案占位(不用 lorem 堆砌——用场景化假数据)
  • 移动端优先,desktop 用 media query 扩展

文件命名:prototype-{direction}.html(如 prototype-minimal.html)

3. 多视口自检(必做)

每个方向完成后:

  1. ui_preview — mobile / tablet / desktop 三视口截图
  2. ui_responsive_audit — 抓横向溢出、过小点击区、过小字号

有问题先修 HTML,再进入下一步。不要带着 overflow 交付。

4. 参考对齐(有 mockup 时)

用户提供参考图或竞品截图时:

  1. ui_palette — 从参考图提取色板,写入 CSS variables
  2. 实现后 ui_diff — 与参考/mockup 像素对比,目标 mismatch < 5%
  3. mismatch > 5% 必须迭代,不能口头说「差不多」

5. 交付纪律(复现即证明)

交付设计任务时必须附带:

  • 至少一组三视口 ui_preview 截图路径
  • ui_responsive_audit 结果(零 high 级 issue,或明确列出已知遗留)
  • 若有参考:最新 ui_diff mismatch 百分比

口头描述「已经 responsive 了」不算交付。

工具速查

工具何时用
ui_previewHTML/URL → 多视口 PNG
ui_diff实现 vs 参考 mockup
ui_palette参考图 → CSS/Tailwind tokens
ui_responsive_audit布局问题清单 + 截图

反模式

  • 不要跳过 preview 直接改 CSS 猜效果
  • 不要用 <table> 做整页布局(2020 年代前的 hack)
  • 不要在未装 tianshu-design 插件时会话里调用上述工具——先 /plugin install 或让用户安装
  • Chrome 未安装时工具会返回明确错误;提示用户安装 Chrome 或设置 CHROME_PATH

Frequently asked questions

What does the Design Prototype AI skill do?

Frontend UI prototype workflow — clarify intent, explore directions, preview across viewports, diff against references, deliver with screenshot evidence

Why use Design Prototype on TypingMind?

Because you install it once and use it with any model. Design Prototype is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Design Prototype in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/huiliyi37/Tianshu-harness/tree/main/plugins/design/skills/design-prototype. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Design Prototype?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Design Prototype?

As many as you like. As long as a model supports skills, you can use Design Prototype with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Design Prototype AI skill free?

Yes. It is published on GitHub by huiliyi37 under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇