Design Prototype 标志

Design Prototype

社区
LuckyOneTwoThree
design-prototype

用于根据 IA 和用户流程生成原型。根据 IA 方案和 User Flows 自动生成低保真和中保真原型,并检查设计规范、评估可用性启发式原则。关键词:原型设计、低保真原型、中保真原型、设计规范、原型生成、创建设计稿、快速原型。

概览

发布者LuckyOneTwoThree
代码仓库vibe-skill
技能名称design-prototype
星标数
34
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 LuckyOneTwoThree 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Design Prototype AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/design-prototype
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LuckyOneTwoThree/vibe-skill.git /tmp/vibe-skill
mkdir -p .claude/skills
cp -r /tmp/vibe-skill/.codex/skills/design-prototype .claude/skills/design-prototype
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Design Prototype,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Design Prototype。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Design Prototype 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Prototype Auto-Generation

Core Principles

  1. Prototypes are communication tools, not final products: The value of prototypes lies in quickly validating assumptions, not pixel-perfect reproduction
  2. Fidelity progresses as needed: Validate structure with low-fidelity first, then validate interaction with medium-fidelity; no skipping steps
  3. Batch generation, human filtering: AI generates prototype proposals in bulk, humans make final selection and judgment
  4. Consistency is quantifiable: Design spec consistency is measured with a score; <85% requires human confirmation

AI->Human AI suggests -> Human approves

Interaction Mode

AI->Human AI suggests, human approves

Input

Input ItemTypeRequiredSourceDescription
IA ProposalJSONYesoutput/pm-design/design-ia/ia_proposals.jsonInformation architecture proposal from Pipeline 9
User FlowJSONYesoutput/pm-design/design-userflow/userflow.jsonUser flow from Pipeline 10
PRD DocumentMarkdownOoutput/pm-design/design-prd/prd.mdProduct requirements reference
PRD Structured DataJSONOoutput/pm-design/design-prd/prd.jsonMachine-consumable PRD version containing pages[]/features[], for prototype design alignment

Execution Steps

Step 1: Low-Fidelity Prototype Generation [Core]

Generate wireframe-level prototype descriptions:

  • Layout: Page structure and area division
  • Content Priority: Content importance ranking for each area
  • Copy: Key text content
  • Functional Areas: Functional area mapping based on PRD

Step 2: Medium-Fidelity Prototype Generation [Core]

Add on top of low-fidelity:

  • Area Relationships: Visual hierarchy and associations between areas
  • Navigation Flow: Page-to-page transition relationships
  • Data Display Needs: List data, empty states, loading state requirement descriptions (does not define specific UI implementation)
  • Interaction Intents: Basic interaction behavior intents (does not define specific animation parameters; interaction-spec and UI Skill decide implementation)

Step 3: Usability Heuristic Evaluation [Core]

Evaluate based on Nielsen's 10 Usability Heuristics:

  1. Visibility of system status
  2. Match between system and real world
  3. User control and freedom
  4. Consistency and standards
  5. Error prevention
  6. Recognition rather than recall
  7. Flexibility and efficiency of use
  8. Aesthetic and minimalist design
  9. Help users recognize, diagnose, and recover from errors
  10. Help and documentation

Scoring range 0-10, weak areas with score <3 require improvement suggestions.

Output Depth Grading

Depth LevelOutput ScopeDescription
quickprototype proposal and interaction notesCore conclusions + minimum viable deliverable
standardFull deliverables (default)Complete output including all Steps
deepFull prototype + interaction state full coverage + multi-device adaptation plan + usability assessmentFull deliverables + extended analysis + deep simulation

Output

Storage Path: output/pm-design/design-prototype/

Output Files:

FilePathDescription
Prototype Specificationprototype_spec.jsonPage layout, functional areas, interaction intents, heuristic evaluation
Component Catalogcomponent_catalog.jsonComponent catalog for UI Skill consumption, including component types, properties, data binding

prototype_spec.json

json
{
  "prototype": {
    "fidelity": "medium",
    "pages": [
      {
        "name": "Page Name",
        "layout": {
          "regions": [],
          "content_priority": [],
          "navigation_flow": []
        },
        "functional_areas": [],
        "data_display_needs": [],
        "interaction_intents": []
      }
    ],
    "heuristic_evaluation": {
      "overall_score": 8.5,
      "weak_areas": [
        {
          "principle": "Visibility of system status",
          "score": 2,
          "suggestion": "Add loading progress indicators"
        }
      ]
    }
  }
}

component_catalog.json

component_catalog.json is the machine-consumable component catalog from prototype design, for UI Skill programmatic consumption, ensuring component generation aligns with prototype design.

Recommended + Alternative Mode: Each component provides a recommended type and alternatives. UI Skill can choose a more suitable implementation based on design judgment, avoiding prototype pre-selection limiting design freedom.

FieldDescription
typeRecommended component type (derived from prototype functional requirements)
alternativesAlternative component proposal list, each alternative includes type, name, reason, and applicable scenarios
selection_criteriaComponent selection decision basis, describing conditions for choosing recommended type vs alternative type

Example:

json
{
  "component_id": "user-list",
  "type": "data_display",
  "name": "UserTable",
  "alternatives": [
    {
      "type": "composite",
      "name": "UserCardGrid",
      "reason": "Card Grid is better for visual differentiation, supports image + summary rich display",
      "best_for": "Data count <20, needs visual impact, mobile-first scenarios"
    }
  ],
  "selection_criteria": "Use Table when data >20 rows or needs sorting/filtering; use CardGrid when data <20 rows or needs visual differentiation"
}
json
{
  "catalog_id": "string",
  "generated_at": "ISO8601",
  "source_prototype": "prototype_spec.json",
  "components": [
    {
      "component_id": "string",
      "name": "string",
      "type": "layout | navigation | data_display | form | feedback | media | composite",
      "description": "string",
      "props": [
        {
          "prop_name": "string",
          "type": "string | number | boolean | array | object",
          "required": "boolean",
          "default_value": "string | null",
          "description": "string"
        }
      ],
      "data_binding": {
        "data_source": "api | local | cache",
        "api_endpoint": "string | null",
        "fields": ["string"],
        "loading_state": "string",
        "error_state": "string",
        "empty_state": "string"
      },
      "pages_used_in": ["page_name"],
      "sub_components": ["component_id"],
      "variants": [
        {
          "variant_name": "string",
          "description": "string",
          "prop_overrides": {}
        }
      ],
      "alternatives": [
        {
          "type": "layout | navigation | data_display | form | feedback | media | composite",
          "name": "string",
          "reason": "string",
          "best_for": "string"
        }
      ],
      "selection_criteria": "string"
    }
  ],
  "shared_components": [
    {
      "component_id": "string",
      "name": "string",
      "usage_count": "number",
      "pages": ["page_name"]
    }
  ],
  "component_dependencies": [
    {
      "component_id": "string",
      "depends_on": ["component_id"]
    }
  ]
}

Relationship Between component_catalog.json and prototype_spec.json

Dimensionprototype_spec.jsoncomponent_catalog.json
ConsumerHumans (designers, PM)Machines (UI Skill)
ContentPage layout + interaction intents + evaluationComponent types + properties + data binding + dependencies
Generation OrderGenerate prototype_spec.json firstExtract component catalog from prototype_spec.json
ConsistencyComponents in component_catalog.json must cover all pages' functional_areas and data_display_needs in prototype_spec.json

Output Validation Rules: See Output Validation Rules section below

Decision Rules

  • Heuristic evaluation weak areas (score <3) require human judgment on whether to modify
  • Weak areas must have specific improvement suggestions to pass

Quality Checks

P0 Checks (must pass for quick/standard/deep)

  • Heuristic evaluation (All 10 principles evaluated)
  • Weak area improvement suggestions (All weak areas with score <3 have specific improvement suggestions)

P1 Checks (must pass for standard/deep)

  • Core page coverage (All core pages covered)
  • Functional area coverage (Each page's functional areas align with PRD)
  • Component catalog coverage (component_catalog covers all pages' functional_areas and data_display_needs)
  • Component alternatives (Key components (cross-page shared + data display components) have alternatives)
  • Component page reference consistency (component_catalog.components[].pages_used_in page names exist in prototype.pages[])

P2 Checks (must pass for deep only)

  • Extended analysis complete (deep simulation and roadmap generated)
  • Decision records complete (key decisions have rationale and alternatives)

Degradation Strategy

Missing Upstream InputDegradation PlanOutput ImpactData Acquisition Instructions
IA proposal missingUser provides feature description, generate low-fidelity prototypeLacks IA data, page structure may be less reasonableRequest user to describe page structure and navigation, or upload design-ia output file
UserFlow missingUser provides feature description, generate low-fidelity prototypeLacks UserFlow data, interaction flow may be less completeRequest user to describe user tasks and flow, or upload design-userflow output file
PRD missingDerive functional areas based on IA and UserFlowFunctional areas may be less completeRequest user to provide feature list and requirements, or upload prd.json file
Both IA and UserFlow missingGenerate low-fidelity prototype based on user feature descriptionOverall confidence reduced, only low-fidelity outputRequest user to describe features and page layout, or execute design-ia and design-userflow first
All upstream files missingPrompt user to execute prior stages first, or generate low-fidelity prototype based on user feature descriptionOutput is only low-fidelity prototype descriptionRequest user to describe core features and page layout requirements

Output Validation Rules

Field PathTypeRequiredDescription
prototypeobjectYesPrototype data
prototype.fidelitystringYesFidelity level (low/medium)
prototype.pagesarrayYesPage list, must not be empty
prototype.pages[].namestringYesPage name
prototype.pages[].layoutobjectYesPage layout (area division/content priority/navigation flow)
prototype.pages[].functional_areasarrayYesFunctional area list
prototype.pages[].data_display_needsarrayYesData display needs
prototype.pages[].interaction_intentsarrayYesInteraction intents
prototype.heuristic_evaluationobjectYesHeuristic evaluation
prototype.heuristic_evaluation.overall_scorenumberYesOverall score (0-10)
prototype.heuristic_evaluation.weak_areasarrayYesWeak areas list
component_catalogobjectYesComponent catalog data
component_catalog.catalog_idstringYesCatalog unique identifier
component_catalog.componentsarrayYesComponent list, must not be empty
component_catalog.components[].component_idstringYesComponent unique identifier
component_catalog.components[].namestringYesComponent name
component_catalog.components[].typestringYesComponent type, enum: layout/navigation/data_display/form/feedback/media/composite
component_catalog.components[].propsarrayYesComponent property list
component_catalog.components[].data_bindingobjectYesData binding, includes data_source/fields/loading_state/error_state/empty_state
component_catalog.components[].pages_used_inarrayYesPages using this component, must correspond to prototype.pages[].name
component_catalog.components[].alternativesarrayNoAlternative component proposal list, each item includes type/name/reason/best_for
component_catalog.components[].selection_criteriastringNoComponent selection decision basis
component_catalog.shared_componentsarrayYesCross-page shared component list
component_catalog.component_dependenciesarrayYesComponent dependency relationship list

Upstream Change Response

Upstream Change Impact

Upstream ChangeImpact ScopeResponse Strategy
IA proposal change (page addition/removal/hierarchy adjustment)Page inventory, layout structureMark affected pages, suggest human confirmation on whether to regenerate prototype
UserFlow change (flow path modification)Navigation flow, interaction intentsMark affected interaction flows, suggest human confirmation on whether to update
PRD change (feature addition/removal)Functional areas, data display needsMark affected functional areas, suggest human confirmation on whether to update

Downstream Notification Mechanism

Prototype Change TypeNotification ScopeNotification Method
Page addition/removalinteraction-spec, design-handoff-specMark page changes, trigger interaction spec and handoff document updates
Functional area changedesign-handoff-specMark functional area changes, trigger handoff document update
Interaction intent changeinteraction-specMark interaction intent changes, trigger interaction spec update
Component catalog changeUI Skill (ui-01-component-design)Mark component addition/removal/property changes, trigger component generation update
Shared component changeUI Skill (ui-01-component-design)Mark shared component changes, trigger cross-page component update

Data Acquisition Instructions

This Skill requires IA, UserFlow, and design specification data. Please provide via one of the following methods:

  1. Directly describe features, page structure, and interaction flows
  2. Upload ia_proposals.json / userflow.json / design specification files
  3. Provide data file paths
  • AI is not responsible for external data collection, only for analysis

常见问题

Design Prototype AI 技能有什么作用?

用于根据 IA 和用户流程生成原型。根据 IA 方案和 User Flows 自动生成低保真和中保真原型,并检查设计规范、评估可用性启发式原则。关键词:原型设计、低保真原型、中保真原型、设计规范、原型生成、创建设计稿、快速原型。

为什么在 TypingMind 中使用 Design Prototype?

因为您只需安装一次,就能搭配任何模型使用。Design Prototype 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Design Prototype?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/design-prototype。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Design Prototype?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Design Prototype 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Design Prototype 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Design Prototype AI 技能免费吗?

是的。LuckyOneTwoThree 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇