con un clic
designverify
// Verify Figma implementation is pixel-perfect. Use after implementing Figma designs to catch and fix discrepancies.
// Verify Figma implementation is pixel-perfect. Use after implementing Figma designs to catch and fix discrepancies.
Write or refactor Cypress E2E tests following Page Object Model, action/assertion separation, and project conventions. Use when creating new tests, refactoring existing ones, or adding page object functions.
Implement a Figma design using shadcn/ui components. Use when converting Figma URLs to React code.
Creates a Storybook UI prototype from a PRD-style input using existing shadcn/ui components, subtle visual tone, and a clear hierarchy. Use when the user invokes /design.prototype or asks for a prototype Storybook story.
Sync a UI component from Figma to code using the component sync workflow. Use when updating components to match Figma designs.
Sync CSS variables from Figma plugin export to globals.css. Use when updating design tokens/colors from Figma.
| name | design.verify |
| description | Verify Figma implementation is pixel-perfect. Use after implementing Figma designs to catch and fix discrepancies. |
| argument-hint | [figma-url-or-node-id] |
| allowed-tools | ["mcp__figma-remote-mcp__get_design_context","mcp__figma-remote-mcp__get_screenshot","Read","Edit","Bash","Grep"] |
Verify the implementation of $ARGUMENTS matches Figma specs.
Goal: Create a complete list of all components to verify.
mcp__figma-remote-mcp__get_design_context(fileKey, nodeId)
Output format:
## Component Checklist
- [ ] Sidebar (node: 1:3236)
- [ ] Header with workspace switcher
- [ ] Navigation items
- [ ] Main content area
- [ ] TotalValueCard (node: 5:1620)
- [ ] AssetsCard (node: 5:1624)
Goal: Compare Figma screenshot vs implementation.
mcp__figma-remote-mcp__get_screenshot(fileKey, nodeId)
Comparison Checklist:
For each component, verify:
| Attribute | Figma | Implementation | Match? |
|---|---|---|---|
| width | |||
| height | |||
| padding | |||
| gap | |||
| layout ratios |
Important: Verify layout ratios match Figma (e.g., 2-column grid with 50/50 split, or specific width ratios). Custom Tailwind classes are only allowed for layout, not for styling shadcn components.
| Attribute | Figma | Implementation | Match? |
|---|---|---|---|
| font-size | |||
| font-weight | |||
| line-height | |||
| text-color |
| Attribute | Figma | Implementation | Match? |
|---|---|---|---|
| background | |||
| border | |||
| border-radius | |||
| box-shadow |
States to verify:
# Verification Report: [Component Name]
## Figma Reference
- Node ID: [ID]
- Screenshot: [attached]
## Discrepancies Found
### 1. [Issue Title]
- **Location:** [element]
- **Expected:** [Figma value]
- **Actual:** [Implementation value]
- **Fix:** [what to change]
## Summary
- Layout: ✅/❌
- Typography: ✅/❌
- Colors: ✅/❌
- Components: ✅/❌
# Run Storybook for visual testing
yarn workspace @safe-global/web storybook
# Type-check
yarn workspace @safe-global/web type-check
apps/web/src/components/ui/apps/web/src/utils/cn.tslucide-reactComponent Usage Rules:
/ui/ - do not alter or override them