A new workflow for designers โ learn GitHub, the IDE, and Claude Code to bring your designs to life.
Overview
What We'll Cover
Five building blocks that power the modern design-to-code workflow
GitHub
Where code lives
The IDE
Where code is written
โฆ
Claude Code
Your AI partner
MCPs
External connections
Workflow
Putting it together
Section 1
What is GitHub?
Think of it as Google Drive for code โ a place in the cloud where your team's code is safely stored, tracked, and shared.
โ๏ธ
Cloud Storage
All code lives online, accessible from anywhere. No "which version is latest?" confusion.
๐
Version History
Every change is recorded โ like Figma's version history, but for code. You can always go back.
๐ฅ
Team Collaboration
Multiple developers can work on the same project simultaneously without overwriting each other.
Repository
The Repository (Repo)
A repository is a project folder on GitHub. It contains all the code, files, images, and the complete history of every change ever made.
๐ฆ my-project
๐ index.html
๐ styles.css
๐ components
๐ Header.tsx
๐ Button.tsx
๐ assets
๐ผ๏ธ logo.png
๐ README.md
๐กDesign Analogy
A repo is like a Figma project. It's the container that holds all the pages (files), components, and assets for one product or feature.
๐Key Point
Each project has its own repo. For example, we might have one repo for the main platform and another for a marketing site.
Branch
What is a Branch?
A branch is a separate copy of the code where you can make changes without affecting the main version. Like duplicating a Figma page to try a new layout.
๐กmain is the "live" version. Developers create branches to work on features safely, then merge them back when ready.
Just like duplicating a Figma page, experimenting, then moving the final design back to the main page.
The Git Journey
Clone, Pull, Push & PR
The 4 steps of working with GitHub โ click each step to learn more
Clone โ Copy the Project
One-time
When you join a project for the first time, you clone it โ downloading the entire repository from GitHub to your computer. After that, you have a full local copy.
Figma analogy: Like downloading a shared Figma file to work locally โ except Git keeps it connected so you can sync changes back.
Terminal
$git clonegithub.com/team/project
Cloning into 'project'...
✓ Done! Project copied.
Pull โ Get the Latest Changes
Every time
Do this every time you start working. Your teammates may have pushed new code. "Pull" downloads their latest changes so your local copy stays up to date.
Figma analogy: Like opening a shared Figma file and seeing "Updates available" โ accept them to get the latest before making changes.
Terminal
$git pull
Updating 3a7f2c1..b9e4d8f
3 files changed
✓ Up to date!
Push โ Share Your Changes
After making changes locally, you first commit (save a checkpoint with a description), then push to send those changes up to GitHub so the team can see them.
Figma analogy: Like saving your Figma changes and hitting "Publish" so everyone on the team sees your latest updates.
Terminal
$git add .
$git commit -m"Add sidebar"
$git push
✓ Pushed to GitHub!
Pull Request โ Review & Merge
After pushing, you create a Pull Request on GitHub โ a formal request saying "please review my changes and merge them into the main codebase." The team reviews, comments, and approves.
Figma analogy: Like sharing a prototype link with "Ready for review" โ stakeholders comment, you iterate, and once approved the design moves to handoff.
OpenAdd sidebar nav
feature/sidebar โ main
✓ Tests passing
✓ 1 approval
Merge Pull Request
Clone (once)
→
Pull
→
Write code
→
Push
→
PR
↻
Pull Request
The Pull Request (PR)
A Pull Request is a request to review and merge your branch into the main code. It's the team's quality gate.
๐ข OpenAdd new sidebar navigation
Ahmed opened this pull request 2 hours ago ยท 3 commits ยท 5 files changed
This PR adds the new sidebar navigation component based on the latest Figma designs.
Claude Code is an AI coding assistant that lives inside your IDE. You talk to it in plain English, and it writes, edits, and manages code for you.
๐ฌ
Natural Language
Describe what you want in plain English โ "Create a dashboard with three metric cards" โ and it writes the code.
๐จ
Design-to-Code
Share a Figma link or describe a design, and Claude generates pixel-accurate components with proper styling.
๐ง
Full Codebase Aware
It reads your entire project โ understands the structure, components, and patterns already in use.
๐กFor designers: Think of Claude Code as having a developer sitting next to you who instantly translates your design vision into working code โ while you stay in control of every decision.
โฆ Setup Guide
Setting Up Claude Code
3 steps to get Claude Code running inside your IDE
1
Install VS Code or Cursor
Download and install your IDE of choice. Both are free and work on Mac, Windows, and Linux.
VS Code
code.visualstudio.com
Cursor
cursor.com
2
Install the Claude Code Extension
Open the Extensions panel in your IDE and search for "Claude Code". Click Install โ that's it.
Extensions
Claude Code
โฆ
Claude Code
Anthropic · AI coding assistant
Install
3
Sign In & Start Using
Click the โฆ icon in the sidebar to open Claude Code. Sign in with your Anthropic account. You'll see a chat panel โ type any request in plain English.
โฆClick the icon in the sidebar
Sign in with your account
Start chatting in plain English
โฆ Inside the IDE
Claude Code in Action
Claude Code runs as a panel inside VS Code or Cursor โ right next to your code.
Dashboard.tsx โ my-project โ VS Codeโฆ Claude Code Active
๐
๐
โฆ
Explorer
๐ src
โ๏ธ Dashboard.tsx
โ๏ธ Header.tsx
โ๏ธ Sidebar.tsx
๐จ styles.css
โ๏ธ Dashboard.tsx
1 2 3 4 5 6 7 8 9 10
// Claude just generated this ๐ export functionDashboard() {
return (
<divclassName="p-6"> <MetricCard title="Total AUM" value="$2.4B" />
</div> )
}
โฆ
Claude Code
Create a dashboard with AUM metrics card using our existing Card component
I'll create the Dashboard component using your existing Card and Metric components. Let me check the current project structure first...
Make the spacing match the Figma โ 24px gap between cards
Updated the gap from gap-4 to gap-6 (24px). The layout now matches your Figma specs.
feature/dashboard
TypeScriptโฆ Claude Code
โฆ For Designers
What Designers Can Do With Claude Code
Real tasks you can accomplish โ no coding background needed
๐ผ๏ธ Figma โ Working Prototype
Share a Figma URL, get a fully interactive HTML prototype you can open in a browser and share with stakeholders.
๐ Design QA
Compare the built UI against your Figma specs. Get a detailed report of every spacing, color, and typography deviation.
๐งช Rapid Exploration
"Show me 3 different layouts for this dashboard" โ iterate on live, interactive code faster than static mockups.
๐ Research & Analysis
Competitor benchmarking, UX heuristic reviews, and design system documentation โ all generated as polished HTML reports.
Section 4
What are MCPs?
Model Context Protocol โ plugins that connect Claude Code to external tools like Figma, Notion, and more.
Without MCPs
Claude Code can only see the files on your computer. To reference a Figma design, you'd have to describe it or paste screenshots.
Claude Code ⟶ Local files only
With MCPs
Claude Code can directly read your Figma designs, access Notion docs, deploy to Netlify โ all from within the IDE.
Claude Code ⟶ Figma + Notion + Netlify + ...
Think of MCPs as Figma plugins โ for Claude Code
Just like you install Figma plugins to add new capabilities (icons, illustrations, accessibility checks), MCPs give Claude Code the ability to connect to external services. Each MCP adds a new superpower.
How It Connects
Your IDE, Connected
Claude Code inside your IDE acts as the hub โ MCPs are the bridges to external tools
For Designers
Top MCPs for Designers
The most valuable MCPs to enable in your setup
F
Figma MCP
Design extraction & code generation
Share a Figma URL and Claude reads the design specs, takes screenshots, and generates matching code. The most essential MCP for design-to-code workflows.
Read designsScreenshotsDesign tokens
N
Notion MCP
Docs, wikis & project context
Access Notion pages and databases directly. Claude can read project briefs, design specs docs, and meeting notes to understand context while coding.
Read pagesSearch docsCreate pages
M
Miro MCP
Boards, diagrams & flows
Read Miro boards for user flows, diagrams, and workshop outputs. Claude can use these as context when building features that match your mapped-out flows.
Read boardsCreate diagrams
N
Netlify MCP
Deploy & host prototypes
Deploy your prototypes and HTML files to a live URL with one command. Share interactive prototypes with stakeholders instantly โ no dev setup needed.
Deploy sitesLive URLs
How to Enable MCPs
1
Open Settings
In Claude Code, MCPs are configured in the .claude.json file in your project.
2
Add MCP Server
Add the MCP server configuration with the server name, command, and any required API keys.
3
Start Using
Restart Claude Code โ the MCPs are now available. Just share a Figma link or ask about a Notion page.
Figma MCP Setup
Setting Up Figma MCP
Step-by-step: connect Claude Code to your Figma designs
1
Get a Figma Access Token
Go to Figma Settings → Personal Access Tokens and generate a new token. Copy it โ you'll need it in the next step.
Token:figd_xxxxxxxxxxxxxxxx
2
Add to Your Project Config
Open .claude.json in your project root and add the Figma MCP server config:
// .claude.json
{
"mcpServers": {
"figma": {
"command": "npx figma-developer-mcp",
"env": {
"FIGMA_API_KEY": "figd_xxxx"
}
}
}
}
3
Restart Claude Code
Close and reopen the Claude Code panel in your IDE. It will detect the new MCP server and connect to Figma automatically.
✓
Share a Figma Link & Go!
Paste any Figma URL into Claude Code. It will read the design specs, capture a screenshot, and generate matching code โ all in one step.
โฆ Claude Code
Build this component from Figma: figma.com/design/abc123...
Reading design from Figma...
✓ Extracted layout specs
✓ Captured screenshot
✓ Read design tokens
✓ Generated Card.tsx
🎨
Figma → Code
One link in, production-ready component out
Miro MCP Setup
Setting Up Miro MCP
Connect Claude Code to your Miro boards, diagrams, and user flows
1
Get a Miro API Token
Go to miro.com/app/settings → Your apps → Create new app. Enable the required scopes (boards:read, boards:write) and copy the access token.
Token:miro_xxxxxxxxxxxxxxxx
2
Add to Your Project Config
Add the Miro MCP server alongside your existing MCPs in .claude.json:
// .claude.json
{
"mcpServers": {
// ...figma config above...
"miro": {
"command": "npx @anthropic/miro-mcp",
"env": {
"MIRO_API_KEY": "miro_xxxx"
}
}
}
}
3
Restart Claude Code
Close and reopen the Claude Code panel. It will pick up the new Miro MCP server automatically.
✓
Reference a Miro Board & Go!
Ask Claude to read a Miro board or share a board URL. It will pull in diagrams, stickies, user flows, and tables to use as context while coding.
โฆ Claude Code
Read the user flow from our Miro board and build the checkout steps
Reading Miro board...
✓ Found 5 flow steps
✓ Extracted sticky notes
✓ Read connector logic
✓ Generated Checkout.tsx
Best for
● User flow diagrams
● Workshop output / stickies
● Architecture diagrams
● Journey maps
Section 5
The Workflow
How the three tools work together โ Claude Code lives inside the IDE
GitHub
Cloud storage & review
← Pull
Push →
IDE
VS Code or Cursor
Code Editor
export functionDashboard() {
return (
<Cardtitle="AUM"/>
)
}
You write & review code here
Claude Code
Build a dashboard with AUM card
✓ Created Dashboard.tsx using your existing Card component
AI assistant lives here
โฆ Claude Code runs as an extension inside the IDE โ not a separate app
GitHub
Stores code in the cloud. The team pulls from and pushes to it.
IDE
Your workspace. Where you see, edit, and run the code locally.
Claude Code
Lives inside the IDE. Generates and edits code based on your instructions.
Demo: Step 1 of 6
Clone the Project & Install Dependencies
First time? Clone the repo. Then install the packages the project needs to run.
Option A: Terminal CommandsManual
Step 1 โ Clone
$git clonegithub.com/team/client-360
$cdclient-360
Step 2 โ Install & Run
$npm install
added 847 packages in 32s
$npm run dev
✓ localhost:3000
Recommended
Option B: Just Tell Claude Code
Clone the client-360-dashboard repo, install all dependencies, and start the dev server
✓ Cloned github.com/team/client-360-dashboard
✓ Installed 847 packages
✓ Dev server running at localhost:3000
All set! The project is running. What would you like to build?
✓ Committed: "feat: add portfolio overview card from Figma design"
✓ Pushed to GitHub
Create a pull request for the team to review
Created your pull request:
OpenAdd portfolio overview card
feature/portfolio-overview โ main · 2 files changed
Adds the PortfolioOverview component based on the Figma design (node 2401-8847). Uses existing Card and Metric components. Includes header, 3 metric rows, and sparkline chart.
ready for reviewfigma-verified
github.com/team/client-360-dashboard/pull/42
Clone
→
npm install
→
F
Figma link
→
โฆ Claude generates
→
Review & iterate
→
Push & PR
↻
After the PR
CI Checks & What Happens Next
After you push a PR, GitHub automatically runs checks before anyone reviews your code
What is CI?
Continuous Integration (CI) is an automated system that runs checks on your code every time you create or update a PR.
Figma analogy: Like Figma's "Inspect" panel checking your design for issues before handoff โ but for code, and fully automatic.
OpenAdd portfolio overview card
feature/portfolio-overview โ main
Automated Checks
✓
Build
Code compiles without errors
12s
✓
Lint
Code style and formatting rules pass
4s
✓
Tests
All automated tests pass
28s
✓
Preview Deploy
Live preview URL generated for reviewers
View ↗
✓All checks passedReady for review
GitHub CLI (gh) โ Install This in Your IDE
A command-line tool that lets Claude Code interact with GitHub directly
The GitHub CLI lets you create PRs, check CI status, view review comments, and merge โ all from inside the IDE terminal. Claude Code uses it behind the scenes to manage your PRs.
✓ Create PRs
✓ Check CI status
✓ View comments
✓ Merge PRs
Install & Login
# Install on Mac
$brew install gh
# Login to your account
$gh auth login
✓ Logged in as doaa
Or tell Claude: "Install the GitHub CLI and log me in"
You Have a New Teammate
Claude Code is always there inside your IDE โ ready to help with anything. No question is too small, no task too complex. Just ask.
Ask Anything
"What does this component do?" โ Claude explains code in plain English, no jargon.
Make Mistakes Freely
Broke something? Claude can undo changes, fix errors, and explain what went wrong.
Grow Your Skills
The more you use it, the more you'll understand code. Claude teaches as it builds.
โฆ Prompt Ideas
What Can You Ask Claude?
Copy-paste these prompts to get started โ or use them as inspiration
Design to Code
"Build this screen from the Figma link: [paste URL]. Match the spacing and colors exactly."
"Create a responsive card component with a header, 3 metric rows, and a chart placeholder."
Design QA
"Compare this component against the Figma design [URL] and list every spacing, color, and typography deviation."
"Run a design QA audit and fix all the deviations automatically."
Exploration & Prototyping
"Show me 3 different layout options for a client portfolio dashboard. Make them interactive HTML files."
"Create a quick prototype of the onboarding flow with realistic data and transitions."
Research & Analysis
"Research how Bloomberg, Refinitiv, and Wealthsimple handle portfolio performance views. Generate an HTML comparison report."
"Run a UX heuristic review on the current trading flow and suggest improvements."
Git & Workflow
"Commit my changes with a clear message and push to GitHub."
"Create a pull request for the team to review. Include a summary of what changed and why."
Understanding Code
"Explain how the Dashboard component works. I'm a designer, keep it simple."
"What design tokens and colors does this project use? List them all."
Thank You
Open your IDE, type your first prompt, and start building.