local-axure-workflow
处理本地导出的 Axure 原型资源并生成主题、数据模型与页面还原的流程规范;在需要基于 sitemap.json 与本地页面资源进行分析与还原时使用。
Skill by liuqiao666
Chalk Labs
Need help deploying local-axure-workflow?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/liuqiao666-local-axure-workflow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/local-axure-workflow
What's inside
- Skill name
local-axure-workflow- Description
- 处理本地导出的 Axure 原型资源并生成主题、数据模型与页面还原的流程规范;在需要基于 sitemap.json 与本地页面资源进行分析与还原时使用。
- License
- Apache-2.0
- Instructions
- 238 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 本地 Axure 资源处理规范
处理本地导出的 Axure 原型资源,包括主题提取、数据模型识别和页面还原。
## 核心能力
1. **主题提取与合并**:从多个页面提取 design tokens,合并生成统一主题文件
2. **数据模型识别**:从页面内容识别数据结构,生成数据库文件
3. **页面还原**:基于截图、主题、内容的精确还原
4. **MCP 补充**:可选使用 MCP 工具获取在线资源(如 sitemap.json 包含 projectUrl)
## 本地资源目录结构
```
<project-dir>/
├── sitemap.json # 站点地图
└── page-<index>-<name>/ # 页面目录
├── assets/
│ ├── images/ # 图片资源
│ └── fonts/ # 字体资源(如有)
├── theme.json # 设计令牌(Top10)
├── content.md # 页面内容(Markdown)
└── screenshot.png # 页面截图
```
### 关键文件说明
- **sitemap.json**:项目名称、页面列表、原型 URL(如有)
- **theme.json**:设计令牌(colors、typography、spacing、radius、shadow 等)
- **doms.toon**:DOM 节点映射(TOON 格式,仅在需要精确还原时使用)
- **styles.toon**:样式池(TOON 格式,仅在需要完整样式时使用)
- **content.md**:页面内容(Markdown 格式)
- **screenshot.png**:页面截图(还原主要依据)
## 工作流程
### 阶段 0:定位资源目录
用户未提供目录路径时,使用 `listDirectory` 工具查找 `temp/` 下的项目目录(通常在二级目录下包含 sitemap.json)。找到后读取 sitemap.json 获取项目名称,询问用户是否处理该项目;如不是则请求提供正确路径。
### 阶段 1:识别资源
验证目录结构(检查 sitemap.json),解析站点地图,明确用户需求(默认:提取主题、识别数据、生成文档)。
### 阶段 2:提取设计主题
选择 3-5 个核心页面(首页、登录页、主要功能页),读取各页面的 `theme.json` 并结合 `screenshot.png` 分析视觉风格,合并主题数据(颜色、字体、间距、圆角、阴影),总结设计语言并生成设计规范。
**输出**:`src/themes/<theme-key>/`(包含 `globals.css` 或 `designToken.json`(designToken.json 必须包含 `name` 字段)、`DESIGN.md`、`index.tsx`,符合 `theme-guide.md` 规范)
### 阶段 3:识别数据模型
识别数据密集型页面(列表页、表单页、详情页),读取 `content.md` 提取文本内容,从表格列名、表单标签、重复模式中识别数据结构,跨页面验证并合并字段。
**输出**:`src/database/<table-name>.json`
- 文件名使用英文(如 `users.json`)
- `tableName` 使用中文(如 "用户表")
**数据表结构(强约束)**:每个文件必须是 JSON 对象(不要输出为纯数组),包含 `tableName` + `records`。
```json
{
"tableName": "表名(中文)",
"records": [
{ "id": 1, "字段1": "值1", "字段2": "值2" }
]
}
```
**最小一致性规则(用于减少错误)**:
- `records` 必须是数组;每条记录必须包含唯一的 `id`(允许 number 或 string,同表保持类型一致)。
- 字段名优先中文并与页面一致;同义字段不混用(如“手机号/手机号码”二选一)。
- 同字段同类型;图片字段用相对路径(如 `images/xxx.png`),不要 base64。
### 阶段 4:生成项目文档
生成站点地图文档(保持层级结构,页面名称可点击)和项目简介文档(基本信息、设计风格、数据模型概览)。
**输出**:`src/docs/`
## 页面还原指南
选择还原页面(用户指定或从站点地图选择 1-2 个核心页面)。
**核心方法**:看图 → 写代码 → 交付。
### 核心流程(必须跑完)
1. **确认前置条件**
- 确认模型支持视觉识别(不支持则立即告知用户)
- 确认可以直接读取图片内容(不需要转换,不支持则立即告知用户)
- 生成页面名称(规范:小写字母、数字、连字符)
2. **获取截图**
- 本地优先:使用页面目录下的 `screenshot.png`
- 若本地缺失且 `sitemap.json` 含 `projectUrl`,可使用 MCP 获取在线截图(仅在本地不足时)
3. **验证图片读取能力**
- 尝试读取 `screenshot.png`
- **如果无法直接读取本地图片**(工具不支持或返回错误),必须:
- 立即停止流程
- 告知用户:"无法读取本地图片,请将 `[图片绝对路径]` 复制到对话框后提交"
- 等待用户提交图片后再继续
- 禁止假设或猜测图片内容
- 禁止通过 Base64 编码读取图片内容
4. **生成页面代码**
**辅助数据获取**(可选,生成仍以图片为主):
- 主题:`theme.json`(校验样式)
- 文本:`content.md`(校验文案)
- 直接基于截图生成页面代码
- 在代码生成过程中内部完成:
- 识别布局结构(Header/Sidebar/Content 等)
- 识别组件(Button/Input/Table/Card 等)
- 提取样式(颜色、字体、间距、圆角、阴影等)
- 识别交互(点击、悬停、状态切换等)From liuqiao666/ProtoFlow, Apache-2.0.
More from liuqiao666/ProtoFlow
- 0.434score
design-bid-proposals
liuqiao666
默认生成 3 个可直接落地的设计比稿方向;如果用户明确要求 2 个、5 个或其他数量,必须按用户要求生成。该技能只负责比稿规则、分案策略和 prompt 约束,不提供独立脚本。实际执行时沿用现有 Gemini CLI 方式:先写 prompt 文件,再逐次调用 Gemini 完成规划轮、单方案轮和汇总轮。
SkillDFreshness: D★ 1Claude Code +9 - 0.434score
genie-editor-cli-workflow
liuqiao666
通过 @axhub/genie CLI 发现在线 frontend-page、读取 Genie 编辑器待处理节点、导出上下文图片或节点截图、设置节点编辑状态并完成网页或文本标注相关修改的完整闭环流程;当用户要求根据 Genie editor 待办修网页、批量处理 pending-dispatch…
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
design-review
liuqiao666
对原型和组件进行设计规范一致性审查,识别违规元素并建议将新增设计模式纳入主题。在需要检查设计质量、规范合规性或识别可复用设计模式时使用。
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
create-workflow
liuqiao666
Axhub Make 创建内容入口;当用户要创建原型/组件、文档、主题或数据表时,根据提示词分流到对应引用文档,并按需渐进式加载。
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
pencil-sync-after-prototype-workflow
liuqiao666
在本项目新建或重构 `src/prototypes/*`、`src/components/*` 时,执行“先按既有流程完成原型,再 1:1 创建 Pencil 文件,并强制后续同步”的编排约束;当需要为已完成原型补齐 Pencil 设计稿或维护代码与设计双向同步时使用。
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
ant-design
liuqiao666
Single-file decision guide for antd 6.x, Ant Design Pro 5/ProComponents, and Ant Design X v2.
SkillDFreshness: D★ 1Claude Code +9 - 0.428score
skills-management
liuqiao666
Axhub Make 技能管理入口,用于维护项目技能清单、技能分类与技能文档,并在修改前执行备份。
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
figma-make-project-converter
liuqiao666
将 Figma Make 导出的 Vite + React 项目转换为本项目页面组件或主题的流程规范;在处理 @/ 路径、package@version 别名、globals.css 样式迁移与主题提取时使用。
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
gemini-cli-uiux
liuqiao666
使用 Gemini CLI 执行 UI/UX 设计与实现任务。适用于需要调用 Gemini CLI、基于本地文档路径读取长上下文、并将结果直接写入项目文件的场景。
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
screenshot-page-workflow
liuqiao666
基于网页或 App 截图进行视觉分析与原型还原的流程规范;在需要截图识别、资产提取(功能/交互/业务分析)、页面代码生成与验收时使用。
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
ai-studio-project-converter
liuqiao666
将 Google AI Studio 生成的 React 项目转换为本项目页面组件的流程规范;在处理 Import Map、样式迁移、依赖安装、环境变量与验收时使用。
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
axure-export-workflow
liuqiao666
在“导出到 Axure”前的代码检查失败场景下,按固定流程修复规范问题并完成 Axure 模式注释标识;当用户要求修复导出检测错误、补齐 @mode axure、补充 Skill 参考路径时使用。
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Apr 9, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/liuqiao666/ProtoFlow
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from liuqiao666
- 0.434score
design-bid-proposals
liuqiao666
默认生成 3 个可直接落地的设计比稿方向;如果用户明确要求 2 个、5 个或其他数量,必须按用户要求生成。该技能只负责比稿规则、分案策略和 prompt 约束,不提供独立脚本。实际执行时沿用现有 Gemini CLI 方式:先写 prompt 文件,再逐次调用 Gemini 完成规划轮、单方案轮和汇总轮。
SkillDFreshness: D★ 1Claude Code +9 - 0.434score
genie-editor-cli-workflow
liuqiao666
通过 @axhub/genie CLI 发现在线 frontend-page、读取 Genie 编辑器待处理节点、导出上下文图片或节点截图、设置节点编辑状态并完成网页或文本标注相关修改的完整闭环流程;当用户要求根据 Genie editor 待办修网页、批量处理 pending-dispatch…
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
create-workflow
liuqiao666
Axhub Make 创建内容入口;当用户要创建原型/组件、文档、主题或数据表时,根据提示词分流到对应引用文档,并按需渐进式加载。
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
design-review
liuqiao666
对原型和组件进行设计规范一致性审查,识别违规元素并建议将新增设计模式纳入主题。在需要检查设计质量、规范合规性或识别可复用设计模式时使用。
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
ant-design
liuqiao666
Single-file decision guide for antd 6.x, Ant Design Pro 5/ProComponents, and Ant Design X v2.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
pencil-sync-after-prototype-workflow
liuqiao666
在本项目新建或重构 `src/prototypes/*`、`src/components/*` 时,执行“先按既有流程完成原型,再 1:1 创建 Pencil 文件,并强制后续同步”的编排约束;当需要为已完成原型补齐 Pencil 设计稿或维护代码与设计双向同步时使用。
SkillDFreshness: D★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get local-axure-workflow running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
local-axure-workflow skill. Agent Mart. https://agentmart.dev/skills/liuqiao666-local-axure-workflow (last updated 2026-10-24)