renfei-design/design-jarvis/code-connect
Claude Code and agent skill by renfei-design/design-jarvis
- community
Checking that the SKILL.md file is still in the repository.
Connects Figma design components to code components using Code Connect mapping tools. Use when user says "code connect", "connect this component to code", "map this component", "link component to code", "create code connect mapping", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.
Install
npx vskill@latest install renfei-design/design-jarvis/code-connectSKILL.md
Code Connect Components
Overview
This skill connects Figma design components to their corresponding code implementations using Figma's Code Connect feature. It analyzes the Figma design structure, searches the codebase for matching components, and establishes mappings that maintain design-code consistency.
Project context: inspect the current repository and design system before proposing mappings.
Skill Boundaries
- Use this skill for
get_code_connect_suggestions+send_code_connect_mappingsworkflows. - For writing to the Figma canvas with Plugin API scripts, use figma-use.
- For building full-page screens from code or a description, use hifi-design.
Prerequisites
- Figma MCP server connected and accessible
- Figma URL with node ID:
https://figma.com/design/:fileKey/:fileName?node-id=1-2(required) - OR
figma-desktopMCP: user selects node in Figma desktop (no URL needed) - Components must be published to a team library. Code Connect only works with published components.
- Code Connect requires Organization or Enterprise plan.
- Access to the project codebase for component scanning
Required Workflow
Follow these steps in order. Do not skip steps.
Step 1: Get Code Connect Suggestions
Call get_code_connect_suggestions to identify all unmapped components in one operation.
Option A — `figma-desktop` MCP (no URL): Call get_code_connect_suggestions immediately. The server uses the currently selected node.
Option B — Figma URL provided: Parse the URL, convert node ID format (1-2 → 1:2), then call:
Handle the response:
- "No published components found" → inform user; components need to be published first.
- "All components already connected" → inform user; nothing to do.
- Otherwise → list of unmapped components with names, node IDs, properties, and thumbnails.
Step 2: Scan Codebase for Matching Components
For each unmapped component, search the codebase for a match. Look for:
- Files with matching or similar names in
src/components/,components/,ui/, etc. - Props that correspond to Figma properties (variants, text, styles)
- Component structure that aligns with Figma hierarchy
If multiple candidates match equally, pick the closest prop-interface match and note your reasoning.
Step 3: Present Matches to User
If no exact match: show 2 closest candidates with differences. Let the user decide.
Step 4: Create Code Connect Mappings
Call send_code_connect_mappings with only the accepted mappings:
Valid `label` values: React, Web Components, Vue, Svelte, Storybook, Javascript, Swift UIKit, Objective-C UIKit, SwiftUI, Compose, Java, Kotlin, Android XML Layout, Flutter, Markdown.
Provide a summary after processing:
Full worked examples, common issues, best practices, and troubleshooting → references/examples.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingextensions/design-jarvis-pack/assets/workspace/.github/skills/code-connect/SKILL.md
Popularity
- Repository stars
- 77
- Repository forks
- 1
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/renfei-design/design-jarvis/code-connect)