Product Prototype Figma logo

Product Prototype Figma

Community
pmlaowangba-lab
product-prototype-figma

用 Figma MCP 生成 B/C 端可编辑 UI 原型。用户说画原型、线框图、Figma 稿、后台页面、App 页面时使用。 强制嵌入 frontend-design 全流程(design-plan → Anti-Slop → page.ui.yaml → Figma → 截图自审 → 增量 patch), 配合 DESIGN.md 双轨视觉,避免 AI 默认审美与抽卡式重生成。无 spec 不生成;无 Anti-Slop PASS 不调用 use_figma。

Overview

Publisherpmlaowangba-lab
Repositorylaowangba-pmprototype-skill
Skill nameproduct-prototype-figma
Stars
104
Forks
19
Bundled files
32
LicenseMIT
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.

  • 32 bundled files

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

  • Open source

    Published by pmlaowangba-lab on GitHub. Read the source before you install it.

Installation

Install the Product Prototype Figma 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/pmlaowangba-lab/laowangba-pmprototype-skill/tree/main
  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/pmlaowangba-lab/laowangba-pmprototype-skill.git \
  .claude/skills/product-prototype-figma
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Product Prototype Figma 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 Product Prototype Figma 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 Product Prototype Figma 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.

产品原型生成(Figma)

结构靠 page.ui.yaml,视觉靠 DESIGN.md(B/C 双轨),去 AI 味靠 frontend-design 流程。
IA 从 brief 推导,禁止套用任何「XX 后台标准八页」案例库。

启动必读(顺序固定)

  1. 本文件 SKILL.md
  2. frontend-design 源规则(来自宿主 Agent / Codex 环境)
  3. DESIGN.md(路由 B/C 视觉轨)
  4. frontend-design-gates.md(闸门表)

按需再读:references/ia-derivation.md、references/design-plan-template.md、references/anti-slop-checklist.md、references/spec-to-figma-map.md、references/incremental-edit.md、references/page-templates.yaml。

触发条件

  • 「画原型」「出线框」「Figma 稿」「UI 图」「页面原型」
  • 「做个 XX 后台 / App / 小程序 原型」
  • 明确 @产品原型生成 或指向本目录

前置环境

  • Cursor 已装 Figma 插件,plugin-figma-figma MCP 已 OAuth
  • 生成前调用 whoami 取 planKey(create_new_file 需要)
  • 执行 Figma 写入前加载 figma-use;整页/多区块组装加载 figma-generate-design

流水线总览

Phase名称产出闸门
0IA 推导ia-draft.md禁止套模板 IA;须写推导依据
1Design Plandesign-plan.mdfrontend-design 第一遍
2Anti-Slopchecklist PASSFAIL 禁止 yaml 与 Figma
3结构 Spec*.page.ui.yamlanti_slop: pass + schema 校验
4Figma 执行云文件 Frames按 region 分批 use_figma
5视觉再审screenshot 对照每屏删 1 多余装饰
6交付链接 + plan + yaml—
7增量修改patch禁止整页重 roll

全程:Phase 0→6 可连跑;Phase 2 FAIL 只回 Phase 1 改 plan,不画 Figma。


Phase 0:IA 推导

读 ia-derivation.md。从 brief 推实体 → 角色 → 任务链 → 页面,输出 ia-draft.template.md 格式。

禁止:

  • 读取或引用任何「标准后台页面清单」固定案例
  • 用「一般都有工作台/列表/详情」凑页数

用户未反对 IA 草案即可进入 Phase 1;有异议则修订后重进 Phase 1。


Phase 1:Design Plan(frontend-design)

按 design-plan-template.md 写 design-plan.md,必填:

  1. Subject(产品、受众、单屏任务)
  2. Tone + surface: b_end | c_end(路由规则见 DESIGN.md)
  3. Token(色/字/间距/圆角,从 DESIGN 对应轨复制,可微调须说明)
  4. Layout(每页 ASCII 线框)
  5. Signature(全项目 1 个记忆点,服务当前 brief)
  6. Differentiation(相对 AI 默认模板差在哪,一句话)

b_end 禁止选 frontend-design 的 extreme 美学;c_end 用 refined-consumer,仍禁 landing 炫技。


Phase 2:Anti-Slop(frontend-design 第二遍)

逐项勾选 anti-slop-checklist.md。在 design-plan.md 末尾写:

markdown
## Anti-Slop Review
- surface: b_end | c_end
- 命中项: ...
- 修订: ...
- 结论: PASS | FAIL

仅 PASS 可进入 Phase 3。把 anti_slop: pass 写入各 page.ui.yaml 的 meta。


Phase 3:page.ui.yaml

每页一文件,命名 {page-id}.page.ui.yaml。meta.surface 与 design-plan 一致;regions 与 plan ASCII 一一对应。

落盘:

  • 项目明确 → 项目 assets/ 或用户指定目录
  • 不明确 → 99-收件箱/待整理/产品原型/{项目名}/

Phase 4:Figma 执行

读 spec-to-figma-map.md。

  1. 无 file_key → create_new_file(需 planKey)
  2. 共享 shell(侧栏/顶栏/TabBar)先画一版,各页引用同一结构模式
  3. 按 region 分批 use_figma,每批对照 yaml + plan
  4. 颜色/字号/间距只来自 design-plan.md + DESIGN 对应轨
  5. 字体:中文 PingFang SC 或 思源黑体,数据列 SF Mono;禁止 Inter
  6. 有设计系统 → search_design_system 填 catalog_map;无则 primitive

Phase 5:视觉再审

每屏 get_screenshot:

  1. 对照 design-plan.md 该页 ASCII
  2. 香奈儿法则:删 1 个多余装饰
  3. 仍像 AI 默认 dashboard/App → patch,不整页重 roll

Phase 6:交付

交给用户:

  1. Figma 链接(主交付)
  2. design-plan.md
  3. ia-draft.md + *.page.ui.yaml
  4. 页面清单表:帧名、职责、根 nodeId(便于 Phase 7)
  5. Anti-Slop 结论摘要

Phase 7:增量修改

读 incremental-edit.md。

  • 结构变更 → 改 yaml + patch 对应 node
  • 视觉变更 → 先改 design-plan 相关 token → 视情况重跑 Anti-Slop → patch
  • 禁止收到修改意见后无 plan/yaml 更新直接整文件重生成

红线

  • 无 design-plan.md → 禁止 Figma
  • Anti-Slop 非 PASS → 禁止 Figma
  • meta.anti_slop 非 pass → 禁止 Figma
  • 产品复盘 Skill 所需 UI 截图须用户提供,本 Skill 不冒充真机截图
  • 不 git push、不公开发布

与其他 Skill

Skill关系
frontend-design继承流程与 Nevers
figma-use / figma-generate-designFigma 执行层
产品复盘文档生成复盘截图不由本 Skill 伪造

文件索引

文件用途
DESIGN.mdB/C 路由 + 摘要
design-shared.md共用 nevers、a11y
design-b-end.mdB 端 token
design-c-end.mdC 端 token

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 Product Prototype Figma AI skill do?

用 Figma MCP 生成 B/C 端可编辑 UI 原型。用户说画原型、线框图、Figma 稿、后台页面、App 页面时使用。 强制嵌入 frontend-design 全流程(design-plan → Anti-Slop → page.ui.yaml → Figma → 截图自审 → 增量 patch), 配合 DESIGN.md 双轨视觉,避免 AI 默认审美与抽卡式重生成。无 spec 不生成;无 Anti-Slop PASS 不调用 use_figma。

Why use Product Prototype Figma on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/pmlaowangba-lab/laowangba-pmprototype-skill/tree/main. 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 Product Prototype Figma?

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 Product Prototype Figma?

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

Is the Product Prototype Figma AI skill free?

Yes. It is published on GitHub by pmlaowangba-lab under the MIT 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 👇