axure-to-prd
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "axure-to-prd" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-407b833a94d1debac04145552ab41493f4b5fc7113f5d1194e3d85795df9cce9. Verify the upstream source and version against https://skillhub.cn/skills/user_b5200ef0/axure-to-prd before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Automatically extracts page content, interaction logic, and functional points from Axure RP prototype HTML projects and generates a structured Product Requirements Document (PRD). Supports a two-stage flow: stage one produces a requirements confirmation checklist; after user confirmation, stage two generates the full PRD covering business processes, feature descriptions, field specifications, interface requirements, and security requirements. Intended for scenarios where users upload Axure prototypes and request PRD or requirements documentation.
Introduction source: third_party · user_b5200ef0 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: axure-to-prd
description: 从Axure RP原型HTML工程自动提取页面内容、交互逻辑、功能点,生成结构化产品需求规格说明书(PRD)。支持两阶段:先产出需求确认清单,用户确认后生成完整PRD(含业务流程/功能说明/字段说明/接口需求/安全需求)。当用户上传Axure原型并要求生成PRD、需求文档、功能说明时使用。Axure原型 → 产品需求规格说明书(PRD)
从Axure RP导出的HTML原型工程中逆向提取结构化需求,生成专业级PRD文档。
触发条件
- 上传
.rar/.zip/.rp格式的Axure原型文件 - 要求:生成PRD、需求规格说明书、功能说明文档、原型需求分析
- 关键词:PRD、需求文档、产品需求、功能说明、需求分析
输入/输出
| 项 | 说明 |
|---|---|
| 输入 | Axure原型压缩包或已解压的HTML原型目录 |
| 输出 | prd.md(人读Markdown) + prd-data.json(结构化JSON) |
工作流程
阶段1:原型解析与需求确认
步骤1:解压与识别
unzip <file> -d /tmp/axure_proto/
# 或
unrar x <file> /tmp/axure_proto/
确认:data/document.js + files/ 目录 + index.html
步骤2:提取页面结构与内容
- 从
data/document.js提取页面树(层级、分组、页面名) - 启动HTTP服务,通过浏览器渲染逐个页面提取innerText
cd /tmp/axure_proto/<原型目录> && python3 -m http.server 8900 &
通过 browser_console 执行:
document.querySelector('iframe').contentDocument.body.innerText
步骤3:三层解析
L1 结构层(必须)
- 页面层级关系(父页面 → 子页面 → 弹窗)
- 页面分组与导航结构
- 页面间跳转关系
L2 交互层(必须)
- 每个页面的操作按钮(新增/编辑/删除/审核/导出等)
- 表单字段与校验规则
- 弹窗触发条件与内容
- 状态筛选器与列表操作
- 三段式说明(展示说明/交互说明/规则说明)
功能点粒度原则:以用户可感知的独立操作/按钮为最小粒度。同一页面上的"查询列表""新增数据""编辑数据""删除数据"应分别作为独立功能点,而非合并为"数据管理"。
L3 数据层(必须)
- 列表字段与展示规则
- 表单字段属性(必填/可编辑/长度/格式/默认值/选项列表)
- 数据状态流转
- 字段间的联动关系
步骤4:生成需求确认清单
以PM视角评审,每个功能点包含:
| 字段 | 说明 |
|---|---|
| 功能点ID | 唯一标识,如 F-001 |
| 功能点名称 | 简明动作描述 |
| 所属页面 | 页面名称 |
| 功能说明 | 触发条件、操作步骤、预期结果 |
| 置信度 | 🟢高 / 🟡中 / 🔴低 |
| 产品决策 | 原型中隐含的产品判断 |
| PRD建议 | 需在PRD中补充或确认的要点 |
展示给用户确认后进入阶段2。
阶段2:生成完整PRD
PRD文档结构
📋 需求说明文档
├── 1. 文档背景
│ ├── 项目背景
│ ├── 文档目的
│ └── 适用范围
├── 2. 目标用户
│ ├── 用户角色定义
│ └── 使用场景
├── 3. 核心业务流程
│ ├── 流程概述
│ └── 主流程步骤描述
├── 4. 功能清单
│ ├── 功能模块树
│ ├── 优先级
│ └── 关联页面
├── 5. 功能说明(按功能点展开)
│ └── 5.x 功能名称
│ ├── 基本事件流(主流程 1→2→3...)
│ ├── 备选事件流(分支路径)
│ ├── 异常事件流(错误处理、边界情况)
│ ├── 关联功能点(前置/后置依赖)
│ ├── 需求规则(业务规则/校验规则/权限规则)
│ ├── 字段说明(详见下方字段说明维度表)
│ └── 数据需求说明(数据实体/状态流转/存储要求)
├── 6. 接口需求
│ ├── API清单
│ ├── 请求/响应结构
│ └── 依赖关系
└── 7. 安全需求
├── 权限控制
├── 数据脱敏
└── 输入防护
字段说明覆盖维度
按字段类型覆盖对应的规则维度:
| 字段类型 | 必须覆盖的维度 |
|---|---|
| 输入框 | 必填、可编辑、数据唯一性、长度(最大/最小/超出处理)、输入格式(如只允许数字和小数点)、默认值、占位提示、校验规则、校验触点(光标离开/提交时)、验证提示语、自动取值逻辑 |
| 下拉选择框 | 必填、可编辑、默认值、选项列表(每个选项的具体内容)、单选/多选、校验规则 |
| 文本域 | 必填、可编辑、长度限制(字数)、是否支持拉宽(resizable)、占位提示 |
| 日期/时间选择器 | 必填、可编辑、格式(如 yyyy-MM-dd HH:mm:ss)、默认值、可选范围限制 |
| 数字输入框 | 必填、可编辑、最小值/最大值、小数位数、步长、默认值 |
| 开关/复选框 | 默认值、触发后的关联影响(如启用后自动关联哪些字段) |
Axure HTML特有注意事项
- 三段式说明解析:原型页面通常包含"展示说明→交互说明→规则说明",逐项提取到对应PRD章节
- 功能清单页优先:如果原型有独立的功能清单页面(通常以表格形式),优先提取
- 无代码溯源:与Vue工程不同,Axure HTML无 router.js / API调用,字段和交互全部从页面文本提取
- Mock数据即字段示例:原型中的示例数据直接作为字段的示例值写入PRD
- 页面关系推断:通过sitemap树和页面内链接文本推断页面跳转关系
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决Axure原型到PRD文档的自动化转换需求,提升产品文档编写效率
- 支持两阶段流程,确保需求准确性
- 覆盖产品、研发、测试等多角色协作场景
Highlights
- 触发条件清晰明确,覆盖多种Axure文件格式
- 关键词匹配合理,边界清晰
Highlights
- Phase/步骤划分清晰,有明确的出口条件
- 包含端到端示例和详细的工作流程说明
- frontmatter完整,文档结构规范
Highlights
- 工具来源明确,参数正确
- 覆盖主要异常情况,有置信度分级机制
- 不可逆操作有确认机制(阶段1确认清单)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.