similarity-figma
Fetches a Figma prototype and compares it with a screenshot of the generated code page to verify visual similarity.
Instructions
获取Figma原型图,请你结合项目源码并通过原型图与生成的代码页面的截图进行相似性比对
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 当前项目代码页面的URL地址,注意不是figma网址 | |
| fileKey | Yes | The key of the Figma file to fetch, often found in a provided URL like figma.com/(file|design)/<fileKey>/... | |
| nodeId | No | The ID of the node to fetch, often found as URL parameter node-id=<nodeId>, always use if provided |