返回 Skill Hub
product-design good scripts references

TDesign D2C

Convert Figma designs into maintainable code with the TDesign D2C workflow: Figma REST extraction, HTML context, component analysis, TDesign/business component mapping, docs/icon lookup, code generation guidance, and visual comparison. Use when a task provides a Figma URL, requests design-to-code, asks to evaluate or run TDesign D2C, or needs component-library-aware D2C for React, Vue, MiniProgram, UniApp, Flutter, or HTML.

Agent 安装命令

先 dry-run 再安装;仓库需已公开,或 Agent 需具备访问权限。

git clone https://github.com/yupeng0512/cursor-skills.git ~/.skillhub/yupeng-cursor-skills
cd ~/.skillhub/yupeng-cursor-skills
./install.sh --target codex --skill tdesign-d2c --dry-run
./install.sh --target codex --skill tdesign-d2c
~/.local/bin/skillhub-yupeng doctor --target codex --json
claude
--target claude
codex
--target codex
cursor
--target cursor

标签

automation design engineering product-design