figma-make-exporter
将本项目页面补齐为可导出 Figma Make 资产的结构,并产出可直接下载的 `名称.fig` 文件;适用于保留原始 Figma Make 资产、同步导出壳子和生成 canvas.fig。
Skill by liuqiao666
Chalk Labs
Need help deploying figma-make-exporter?
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-figma-make-exporter
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: design
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/figma-make-exporter
What's inside
- Skill name
figma-make-exporter- Description
- 将本项目页面补齐为可导出 Figma Make 资产的结构,并产出可直接下载的 `名称.fig` 文件;适用于保留原始 Figma Make 资产、同步导出壳子和生成 canvas.fig。
- License
- Apache-2.0
- Instructions
- 275 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Figma 导出壳子规范
本技能用于把当前页面补齐为可导出的 Figma Make 资产结构,并确保最终通过后台导出接口拿到的产物是 `名称.fig`。
这里的最终下载产物不是 `.make` 压缩包,而是项目目录中的 `canvas.fig` 二进制文件。后台会直接把它以 `名称.fig` 的文件名下载给用户。
## 核心目标
- 让当前页面具备稳定的 Figma 导出资产
- 确保导出的 `canvas.fig` 与当前 Axhub 页面内容一致
- 保留所有原始 Figma Make 资产,避免后续无法再次回写导出
## 关键原则
1. **先同步页面,再执行 pack**
如果当前页面的真实入口是根目录 `index.tsx` / `style.css`,而导出壳子使用的是 `src/App.tsx` / `src/index.css`,那么必须先把两者同步,再运行 `canvas-fig-sync.mjs pack`。
不要只更新根目录页面却直接回写旧的 `src/App.tsx`,否则导出的 `.fig` 内容会和当前页面不一致。
2. **优先做“薄壳”同步**
只要结构允许,优先让导出壳子复用当前页面入口,而不是再维护一套容易漂移的拷贝:
- `src/App.tsx` 优先作为薄包装,直接复用当前页面主组件或共享组件
- `src/index.css` 优先复用或导入根目录 `style.css` 的真实样式来源
- 如果必须复制代码,也要在本次任务里一起更新到一致
3. **保留原始资产**
如果目录里已经存在以下文件,必须保留:
- `canvas.fig`
- `meta.json`
- `ai_chat.json`
- `thumbnail.png`
- `canvas.code-manifest.json`
- `images/`
4. **使用固定目录结构**
为了降低后续维护成本,页面目录采用固定职责分层:
```text
<page>/
├── index.tsx # Axhub 运行时适配层
├── style.css # 根入口样式转发层
└── src/
├── App.tsx # Figma 导出薄壳
├── main.tsx # Vite 挂载层
├── index.css # Figma 入口样式层
├── components/ # 页面视觉与交互主体
└── styles/ # 共享样式
```
固定约束:
- 根目录 `index.tsx` 只做 Axhub 运行时适配,不再复制一套页面视觉实现
- `src/App.tsx` 只做 Figma 导出薄壳,不再复制一套页面业务逻辑
- 共享页面主体应尽量落在 `src/components/**`
- 共享样式应尽量落在 `src/styles/**`
如果你在生成或改造这些文件,请直接在 `index.tsx`、`src/App.tsx`、`src/main.tsx` 顶部写清楚职责注释,提醒后续维护者不要让两套入口漂移
5. **执行本技能后的最终项目必须符合上述固定结构**
这不是建议项,而是验收约束。
如果当前项目结构不满足这套职责分层,执行本技能时应先重构到该结构,再继续生成或回写 `canvas.fig`。
## 当前导出产物
后台导出接口:
```text
GET /api/export-make?path=prototypes/<page-name>
```
接口行为:
- 使用 `canvas-fig-sync.mjs pack` 把当前源码回写到 `canvas.fig`
- 刷新 `canvas.code-manifest.json`
- 更新 `meta.json.exported_at`
- 直接下载 `canvas.fig`,文件名为 `名称.fig`
## 使用场景
### 场景 A:项目由 Figma Make 导入,已有 `canvas.fig`
此时目标不是新建结构,而是把当前页面同步回已有导出壳子,然后重新回写 `canvas.fig`。
**步骤**:
1. 检查并同步当前页面和导出壳子
重点核对:
- 根目录 `index.tsx`
- 根目录 `style.css`
- 导出壳子 `src/App.tsx`
- 导出壳子 `src/index.css`
- 导出壳子依赖的 `src/components/**`、`src/pages/**`、`src/styles/**`
2. 回写 `canvas.fig`
```bash
node scripts/canvas-fig-sync.mjs pack \
--fig src/prototypes/<page-name>/canvas.fig \
--from src/prototypes/<page-name> \
--prune-missing \
--sanitize-for-export
```
3. 刷新 manifest
```bash
node scripts/canvas-fig-sync.mjs inspect \
--fig src/prototypes/<page-name>/canvas.fig \
--manifest src/prototypes/<page-name>/canvas.code-manifest.jsonFrom 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
gemini-cli-uiux
liuqiao666
使用 Gemini CLI 执行 UI/UX 设计与实现任务。适用于需要调用 Gemini CLI、基于本地文档路径读取长上下文、并将结果直接写入项目文件的场景。
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
axure-prototype-workflow
liuqiao666
使用本项目MCP 提取 Axure 原型资产、生成主题/数据/文档、还原页面与生成业务文档的流程规范;当用户提供 Axure 原型链接或提出资产提取、原型还原、主题/数据模型/文档生成、交互引导需求时使用。
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.
- 0.281score
figma-make-exporter
fern-ok
将本项目页面补齐为可导出 Figma Make 资产的结构,并产出可直接下载的 `名称.fig` 文件;适用于保留原始 Figma Make 资产、同步导出壳子和生成 canvas.fig。
SkillCFreshness: CClaude Code +9 - 0.242score
figma-make-exporter
tracyping-pm
将本项目页面补齐为可导出 Figma Make 资产的结构,并产出可直接下载的 `名称.fig` 文件;适用于保留原始 Figma Make 资产、同步导出壳子和生成 canvas.fig。
SkillDFreshness: DClaude Code +9
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
design-review
liuqiao666
对原型和组件进行设计规范一致性审查,识别违规元素并建议将新增设计模式纳入主题。在需要检查设计质量、规范合规性或识别可复用设计模式时使用。
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
create-workflow
liuqiao666
Axhub Make 创建内容入口;当用户要创建原型/组件、文档、主题或数据表时,根据提示词分流到对应引用文档,并按需渐进式加载。
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 figma-make-exporter 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
figma-make-exporter skill. Agent Mart. https://agentmart.dev/skills/liuqiao666-figma-make-exporter (last updated 2026-10-24)