원클릭으로
audit-component
Audit a node by comparing Figma design with its implementation, report audit result
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Audit a node by comparing Figma design with its implementation, report audit result
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create git commits
Code review
Convert Figma designs to frontend code by orchestrating an Agent Team
Convert Figma designs to frontend code
Implement all nodes from component spec with Figma design context
Implement all nodes from component spec with Figma design context, fix code based on audit results
Resolve Params:
devServerURL: from Team Lead or $ARGUMENTSOn receiving nodeId from Team Lead or $ARGUMENTS:
Get Node-Level Screenshots:
get_screenshot with nodeId to get node-level screenshotbrowser_navigate to devServerURL if not already therebrowser_snapshot to get the accessibility tree[data-node-id="{nodeId}"] in the snapshot, extract the corresponding refbrowser_take_screenshot with this ref to get node-level screenshot, save to .playwright-mcp directoryref in subsequent checksVisual Check:
Style Check:
get_design_context with nodeId to get design context
browser_evaluate to run getComputedStyle() on data-node-id="{nodeId}" element to get implementation context
Compare with tolerance:
| Property | Tolerance |
|---|---|
| display, flex-direction | exact |
| font-family, font-weight | exact |
| font-size | +-1px |
| line-height | +-2px |
| color, background-color | exact match preferred, RGB channel delta <= 5 for rendering noise |
| opacity | +-0.05 |
| padding, margin, gap | +-2px |
| border-radius | +-1px |
| width, height | +-2px |
| box-shadow | visual match |
Interaction Check:
get_metadata with nodeId to check for interaction variants (hover, disabled, etc.)browser_hover on the refbrowser_take_screenshot with refbrowser_evaluate to check disabled/aria-disabled on the refbrowser_take_screenshot with refReport auditResult to the Team Lead:
nodeId: the node auditedscore: 1-10, overall fidelity between design and implementationpass: true if score >= 8issues: flat list of all issues, each includes:
category: visual | style | interactiondescription: what is wrong (e.g., font-size mismatch, icon missing, layout shift, etc.)expected: design value or expected behavioractual: implementation value or actual behaviorWait for next nodeId