App Prototype logo

App Prototype

Community
robotbird
app-prototype

通用 AI 对话式 App 原型生成器。读取原始需求文档,生成结构化需求文档,再批量生成手机端静态原型页面(HTML Demo)。可用于任意 App 项目。

Overview

Publisherrobotbird
Repositorysolution-skills
Skill nameapp-prototype
Stars
33
Forks
3
Bundled files
2
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.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the App 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/robotbird/solution-skills/tree/main/app-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/robotbird/solution-skills.git /tmp/solution-skills
mkdir -p .claude/skills
cp -r /tmp/solution-skills/app-prototype .claude/skills/app-prototype
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable App 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 App 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 App 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.

App 需求文档 & 原型页面生成器

将原始需求材料转化为 AI 对话式交互 的结构化需求文档,再按业务场景批量生成手机端静态原型页面(HTML Demo)。

本 Skill 与业务无关,可用于任意 App 项目。业务场景、品牌色、行业术语等均从项目的 docs/requirements.md 和 assets/ 目录读取。

核心理念

  • 生成的是静态原型 Demo,用于汇报展示和需求验证,不涉及后端实现
  • 所有业务场景通过 AI 对话 交互完成(用户说→AI 识别意图→执行→展示结果卡片)
  • 每个场景生成 独立 HTML 文件,包含 3 个手机模拟器视图展示不同对话流程
  • 使用 Tailwind CSS CDN + SVG 内联图标,无需构建工具,浏览器直接预览

工作流程

阶段一:收集分析 → 阶段二:生成需求文档 → 阶段三:用户评审迭代 → 阶段四:批量生成页面

阶段一:收集并分析原始材料

  1. 请用户提供原始需求材料:

    • 需求文档(文本、PDF、Markdown、表格等)
    • UI 设计稿 / 截图 / 参考图片(放入 assets/ 目录)
    • 会议纪要、聊天记录等补充材料
    • 品牌色、Logo 等视觉参考
  2. 读取并分析所有材料,提取:

    • 业务场景清单(每个场景 = 一个 AI 对话主题)
    • 目标用户角色和使用场景
    • 品牌色系和视觉风格
    • 行业术语和专用名词
  3. 汇总分析结果,与用户确认后进入阶段二。

阶段二:生成需求文档

读取 Prompt 模板:requirements-prompt.md

关键规则:

  • 输出文件:docs/requirements.md
  • 每个业务场景用 AI 对话流程(👤用户→🤖AI)描述,不写传统的页面元素表和接口需求
  • 对话示例中包含 结果卡片 ASCII 原型,直观展示 AI 回复的结构化信息
  • 包含多轮对话示例(信息补全、异常处理等)
  • 标注文档用途:静态 Demo + 原型汇报展示
  • 将品牌色、行业术语、UI/UX 规范等写入需求文档,使其成为唯一的业务上下文来源

阶段三:用户评审与迭代

这一步至关重要,不可跳过:

  1. 呈现需求文档给用户评审
  2. 根据反馈迭代修改(常见修改:调整对话流程、增删场景、修改卡片结构)
  3. 确认后进入页面生成阶段

阶段四:批量生成页面

读取 Prompt 模板:page-generation-prompt.md

生成策略:

  • 从 docs/requirements.md 读取品牌色、场景列表、对话流程等业务信息
  • 每个业务场景生成一个独立 HTML 文件
  • 文件命名:src/序号-英文名.html(如 src/01-场景名.html)
  • 每个文件包含 3 个手机模拟器,展示该场景的不同对话流程
  • 可使用 Task 工具并行生成多个场景以提高效率(每批 2-4 个场景)
  • 每批完成后向用户展示进度,确认后继续

批量生成时的 Prompt 传递要点: 为确保并行 Task 生成的页面风格一致,需在每个 Task 的 prompt 中完整包含:

  1. Tailwind config(从 requirements.md 提取的品牌色)
  2. 完整的手机模拟器 HTML 结构模板(从 page-generation-prompt.md 复制)
  3. 所有共享组件的 class 定义(状态栏、导航栏、对话气泡、卡片、输入栏等)
  4. 具体的场景内容和对话流程(从 requirements.md 提取)

项目目录结构

项目根目录/
├── docs/
│   ├── 原始需求.md                  # 原始需求(用户提供)
│   └── requirements.md              # 生成的需求文档(含品牌色、场景、UI规范等全部业务信息)
├── assets/
│   └── *.jpg / *.png                # 设计参考图(用户提供)
├── src/
│   ├── 01-场景名.html               # 场景页面(每场景一个文件)
│   ├── 02-场景名.html
│   ├── ...
│   └── NN-场景名.html
└── .cursor/skills/
    └── app-requirements-generator/   # 本 Skill(通用,不含业务信息)
        ├── SKILL.md                  # 工作流程(本文件)
        ├── requirements-prompt.md    # 需求文档生成模板
        └── page-generation-prompt.md # 页面生成模板 + 组件库

进度追踪模板

每完成一批页面后更新进度(场景名从 requirements.md 读取):

页面生成进度:
✅ 场景 1:[场景名](src/01-xxx.html)
✅ 场景 2:[场景名](src/02-xxx.html)
⬜ 场景 3:[场景名]
⬜ 场景 4:[场景名]
...

常见迭代模式

基于实际使用经验,用户常见的迭代需求:

迭代类型处理方式
移除接口/API 描述需求文档改用纯对话流程描述,删除接口需求表
改为 AI 对话模式将传统页面交互改写为 👤用户→🤖AI 对话流程
调整文件输出位置修改输出目录(如 docs/ → src/)
批量生成剩余场景使用 Task 并行生成,每批 2-4 个场景
调整品牌色/视觉风格修改 requirements.md 中的 UI/UX 规范章节

复用到新项目

将本 Skill 用于新的 App 项目时:

  1. 复制 .cursor/skills/app-requirements-generator/ 目录到新项目
  2. 在新项目中准备原始需求文件(docs/原始需求.md)和设计参考图(assets/)
  3. 调用 Skill 从阶段一开始,自动生成新项目的 docs/requirements.md 和页面
  4. 无需修改 Skill 本身的任何文件

可移植性

本 Skill 兼容 Cursor 和 Claude Code:

  • Cursor:.cursor/skills/app-requirements-generator/
  • Claude Code:.claude/skills/app-requirements-generator/

迁移时复制整个目录即可,无需修改内容。

相关资源

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the App Prototype AI skill do?

通用 AI 对话式 App 原型生成器。读取原始需求文档,生成结构化需求文档,再批量生成手机端静态原型页面(HTML Demo)。可用于任意 App 项目。

Why use App Prototype on TypingMind?

Because you install it once and use it with any model. App 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 App Prototype in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/robotbird/solution-skills/tree/main/app-prototype. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use App 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 App Prototype?

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

Is the App Prototype AI skill free?

Yes. It is published on GitHub by robotbird 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 👇