figma-make-project-converter
将 Figma Make 导出的 Vite + React 项目转换为本项目页面组件或主题的流程规范;在处理 @/ 路径、package@version 别名、globals.css 样式迁移与主题提取时使用。
Skill by liuqiao666
Chalk Labs
Need help deploying figma-make-project-converter?
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-project-converter
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, frontend
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-project-converter
What's inside
- Skill name
figma-make-project-converter- Description
- 将 Figma Make 导出的 Vite + React 项目转换为本项目页面组件或主题的流程规范;在处理 @/ 路径、package@version 别名、globals.css 样式迁移与主题提取时使用。
- License
- Apache-2.0
- Instructions
- 237 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Figma Make 项目转换规范
将 Figma Make 导出的 Vite + React 项目转换为本项目页面组件或主题,尽量保持视觉效果、样式 token 和组件结构。
## 核心目标
- 保持页面视觉与层级结构一致
- 移除对 Figma Make 原始 Vite 入口和版本化 alias 的依赖
- 产出可在本项目中继续演化的页面组件或主题
## 使用方式
### 步骤 1:运行预处理脚本
推荐输入来源:
- 优先使用 **Figma 原始导出的 ZIP 工程包**
- 由系统先解压 ZIP,再把解压后的项目目录传给本脚本
- 不建议手工解压后再挑文件、删文件或重组目录,否则容易破坏 Figma 原始项目结构,降低后续导入稳定性
```bash
node scripts/figma-make-converter.mjs <figma-make-project-dir> [output-name]
# 示例
node scripts/figma-make-converter.mjs "temp/my-figma-make-project" my-page
node scripts/figma-make-converter.mjs "temp/my-figma-make-project" brand-theme --target-type themes
```
脚本会自动完成:
- 完整复制 Figma Make 项目到 `src/prototypes/[页面名]/` 或 `src/themes/[theme-key]/`
- 排除 `node_modules`、`.npm-local-cache`、`build`
- 转换 `@/` 为相对路径
- 将源码中的 `package@version` 导入改为裸包名
- 分析组件、页面、依赖、CSS、设计文档
- 生成 AI 工作文档和分析报告
### 步骤 2:按任务清单完成转换
重点查看:
- `.figma-make-tasks.md`
- `.figma-make-analysis.json`
- 主题模式下的 `.figma-make-theme-tasks.md`
## Figma Make 项目特征
典型结构:
```text
figma-make-project/
├── src/
│ ├── App.tsx
│ ├── main.tsx
│ ├── index.css
│ ├── DESIGN_SYSTEM_GUIDE.md
│ ├── TOKEN_REFERENCE.md
│ ├── components/
│ ├── pages/
│ ├── styles/globals.css
│ └── guidelines/
├── index.html
├── package.json
└── vite.config.ts
```
导入时应把这套原始 ZIP 中的目录结构视为权威结构,尤其是:
- `src/App.tsx`
- `src/main.tsx`
- `src/index.css`
- `src/styles/globals.css`
- `src/components/**`
- `src/pages/**`
- `src/guidelines/**`
- `package.json`
- `vite.config.ts`
- `index.html`
说明:
- `Attributions.md`、`guidelines/Guidelines.md`、`README.md`、`TOKEN_REFERENCE.md`、`DESIGN_SYSTEM_GUIDE.md` 这类文件在 Figma 原始导出中是正常组成部分,不应误判为异常垃圾文件
- 转换时的重点不是删掉这些文件,而是识别哪些文件是页面真实依赖,哪些是说明文档
关键判断:
- 这是 **Vite + React** 项目,不是 Next.js
- 不需要处理 `"use client"`
- `vite.config.ts` 里的 `package@version` alias 只是导出兼容层,不应作为最终运行前提
## 保留导出所需的原始文件
如果导入后的目录中已经包含以下 Figma Make 原始资产,后续转换时必须保留,不要删除或覆盖为无关内容:
- `canvas.fig`:Figma Make 的二进制设计数据,用于后续回写源码并导出 `名称.fig`
- `meta.json`:项目元数据,至少保留 `file_name`、`exported_at`、`client_meta`
- `ai_chat.json`:AI 聊天历史,可为空对象 `{}`
- `thumbnail.png`:项目缩略图
- `canvas.code-manifest.json`:`canvas.fig` 中 `CODE_FILE` 的索引清单
- `images/`:设计稿图片资源,通常为 hash 命名,不要随意重命名
如果脚本分析报告里出现 `figmaMakeAssets` 字段,说明这些文件已经被保留在导入目录中,AI 在后续整理页面结构时仍需继续保留它们。
## 页面转换规则
### 固定目录结构
为了兼顾 Axhub 运行时和后续 `.fig` 导出,页面目录默认采用以下固定结构:
```text
<page>/
├── index.tsx # Axhub runtime adapter only
├── style.css # root style bridge only
└── src/
├── App.tsx # Figma export shell only
├── main.tsx # Vite mount only
├── index.css # Figma style bridge only
├── components/ # shared page implementation
└── styles/ # shared page styles
```
转换时请遵守: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
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-project-converter
fern-ok
将 Figma Make 导出的 Vite + React 项目转换为本项目页面组件或主题的流程规范;在处理 @/ 路径、package@version 别名、globals.css 样式迁移与主题提取时使用。
SkillCFreshness: CClaude Code +9 - 0.242score
figma-make-project-converter
tracyping-pm
将 Figma Make 导出的 Vite + React 项目转换为本项目页面组件或主题的流程规范;在处理 @/ 路径、package@version 别名、globals.css 样式迁移与主题提取时使用。
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-project-converter 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-project-converter skill. Agent Mart. https://agentmart.dev/skills/liuqiao666-figma-make-project-converter (last updated 2026-10-24)