Skip to main content

canicode-roundtrip

星标10
分支1
更新时间2026年4月29日 01:14

Run the full design-to-code roundtrip — analyze a Figma design, surface gotchas, write designer answers back into the file via the Figma Plugin API (use_figma), re-analyze to confirm the gotchas were captured, hand off to figma-implement-design, then optionally register a Code Connect mapping pointing the Figma component at the just-generated code so future roundtrips reuse the implementation. Mutates the Figma file: requires Figma full seat + edit access. TRIGGER when: the user shares a figma.com/design/... URL and wants production-quality code, or asks for "design-to-code roundtrip", "fix the gotchas", or "annotate the Figma file" with implementation context; the user wants a single command for analyze → survey → apply → implement; the user wants Figma annotations or property fixes written before code generation. SKIP when: the user only wants a one-shot readiness report (route to canicode); the user only wants Q&A captured locally without touching the Figma file (route to canicode-gotchas); the user has

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
5 个文件
SKILL.md
readonly