Designing with AI · Lesson 2
AI-assisted design with Claude Code
A practical guide for product designers learning to work with agents: the stack, context engineering, skills, design direction, orchestration and shipping.
By Oisín Ó Muirí · 15 min read
A practical guide for designers learning agent orchestration. From context engineering to self-improving skills, synthesized from eight video deep-dives. I first gave it as a presentation for the IxDF community in Eindhoven in March 2026. If you're new to IxDF, their UX literature is free to read.
The stack
Your AI design toolkit: three tools, one workflow.
- Figma
- Browser
- Context7
- Excalidraw
Wispr Flow: your voice becomes code
Wispr Flow is a macOS dictation tool that works everywhere. You talk, it types. But it's not transcription. It understands context. It knows when you're in VS Code writing a commit message versus when you're in Slack.
For designers, this matters. You can describe a layout, dictate component props, explain what a hover state should feel like. Your hands stay on the design. Your voice handles the rest.
Claude Code: the agent in your terminal
Claude Code is an AI coding agent that lives in your terminal. Not a chatbot. An agent. It reads your codebase, understands your project structure, writes and edits files, runs commands, and learns how you like to work.
The key difference from a chat interface: Claude Code has context. It sees your entire project. You're not copying and pasting snippets. You're having a conversation with something that already understands your codebase.
curl -fsSL https://claude.ai/install.sh | bash
cd your-project
claudeOn Windows, or for other ways to install, see Anthropic's setup guide.
VS Code: the shell that holds it all
VS Code isn't just a code editor here. It's the environment where Claude Code's terminal lives, where your files update in real time, where you preview your designs.
MCP servers: extending the reach
Model Context Protocol servers let Claude Code connect to external tools. Figma MCP pulls design tokens directly into code. Browser automation tests across viewports. Context7 fetches up-to-date documentation. Start with Claude Code alone. Add MCP servers when you hit a specific wall.
Context is everything
Prompt engineering is dead. Context engineering is what matters now.
Context window · 200K tokens
- System promptFixed
- ToolsDescriptions
- ResourcesBusiness data, docs
- User messagesGrows
- Assistant messagesGrows
- Tool callsGrows
Clear at 50–60%
Sweet spot 60–70%: best outputs
Past 70%: quality drops
The stateless box
An LLM is a stateless box. Tokens in, tokens out. It doesn't remember your brand guidelines, your design system, your user research. Every interaction, you're starting from scratch unless you engineer the context.
Six components, one window
- System prompt: persistent instructions, conventions, guardrails
- User message: what you actually ask
- Tools: descriptions of what the agent can do
- Resources: your business-specific knowledge
- Assistant messages: conversation history (grows constantly)
- Tool calls and results: record of actions (also grows)
Three of these grow as your session continues. This is why long sessions degrade.
The Goldilocks zone
60–70% context utilization produces the best results. Context engineering is about curation: what goes in, what stays out, when to reset.
The shift from prompt engineering to context engineering is a shift from “how do I ask the right question” to “how do I create the right environment for good answers to emerge.”
The six levels
From prompt engineer to orchestrator: a progression map.
- L1Prompt engineer
- L2Planner
- L3Context engineer
- L4Tool master
- L5Skill builder
- L6Orchestrator
- Prompt engineer. Clear prompts, reading output, basic terminal literacy.
- Planner. Plan mode, collaborative questions. “What am I missing?”
- Context engineer. Context window monitoring. Clear at 50–60%.
- Tool master. Surgical MCP selection. Understand building blocks.
- Skill builder. Custom skills, evals, self-improving systems.
- Orchestrator. Multiple instances, worktrees, agent teams.
The trap at every level
Each level has its trap. L1: treating Claude as a tool, not a collaborator. L2: words alone aren't enough. L3: overloading context. L4: installing every MCP server. L5: too many skills with vague descriptions. L6: eight terminals and wondering why productivity didn't increase.
Skills that scale
Teaching Claude once so you never repeat yourself.
- Tier 1: YAMLName and description · always loaded
- Tier 2: SKILL.md bodyStep-by-step SOP · max 200 lines · on activation
- Tier 3: referencesBrand docs, examples, scripts · loaded on demand
What a skill actually is
A skill is a folder of knowledge: a SKILL.md (the brain) plus optional reference files, scripts, and assets. The SKILL.md tells Claude what to do, when, and how.
The golden rule: 200 lines max
Beyond 200 lines, you get slowness, instruction drift, and ignored directions. Think of SKILL.md as a table of contents, not an encyclopedia.
Descriptions that trigger
- Trigger: What keywords activate this?
- Anti-trigger: What should NOT activate it?
- Outcome: What does it produce?
Self-improving skills
After every session, capture what worked and what didn't. Feed learnings back into the rules. Your skills get better with every use.
If you find yourself explaining the same thing to Claude repeatedly, that's a skill waiting to be written.
Design direction
Giving AI a visual vocabulary so it stops producing slop.
- 01InspirationAwwwards, Godly
- 02ReferencesScreenshots, HTML
- 03SkillsBrand, anti-slop
- 04BuildClaude Code
- 05PreviewBrowser
- 06IterateRefine, polish
- 07DeployVercel
Build, preview and iterate repeat until the design is right.
Why everything looks the same
Ask Claude Code to “build a landing page” and you get the same purple gradient everyone gets. This is regression to the mean.
Stop describing, start showing
Take screenshots of websites you admire and feed them to Claude Code. But to close the last 50%, go below the surface: view source, grab the HTML/CSS/JS, let Claude Code analyze how the design actually works.
Where to find inspiration
- Awwwards: curated, graded frontend work
- Godly: infinite scrolling design gallery
- Dribbble: component and layout ideas
- 21st.dev: copy-paste React components
The anti-slop checklist
Explicitly avoid: purple/blue gradients, generic placeholder text, identical card grids, stock-photo AI images, overly symmetric layouts, default component styling, and purposeless animations.
AI doesn't lack taste. You lack the vocabulary to articulate your taste. Deconstructing websites builds that vocabulary.
Agent orchestration
Managing multiple AI agents like a design director.
You
Primary
Agents
Tools
- Figma
- Browser
- Context7
- Filesystem
Four levels of scaling
- Multiple terminals: manually coordinate different tasks
- Git worktrees: each instance gets its own copy, no conflicts
- Sub-agents: main instance spawns workers automatically
- Agent teams: sub-agents communicate via a supervisor
The orchestrator mindset
You set the vision, assign tasks, review with a critical eye, and make creative decisions AI can't. 2–3 concurrent sessions is the sweet spot.
At every level, the human role doesn't shrink. It evolves. From typing instructions to curating context to directing creative vision to coordinating intelligent systems.
All eight videos
Everything referenced in this guide, in one place.
Tools
| Category | Tool | Purpose |
|---|---|---|
| Core | Claude Code | AI coding agent (my referral link: a free week) |
| Core | Wispr Flow | Voice-to-text dictation (my referral link: a free month of Pro) |
| Core | VS Code | Code editor |
| Inspiration | Awwwards | Curated frontend gallery |
| Inspiration | Godly | Design inspiration feed |
| Components | 21st.dev | Copy-paste React components |
| Components | shadcn/ui | Component primitives |
| Image generation | Midjourney | Custom hero art |
| Design | Figma | Design tool and MCP |
| Deploy | GitHub | Code hosting and version control |
| Deploy | Vercel | One-click website hosting |
Quick reference
Commands, shortcuts, and key decisions at a glance.
Essential commands
| Command | What it does |
|---|---|
claude | Start Claude Code |
shift+tab | Toggle plan mode |
/clear | Reset context window |
/context | Check context usage |
/compact | Summarize and compress |
/skills | List available skills |
/plugin | Browse plugins |
Esc | Cancel current operation |
Context window rules
| Threshold | Action |
|---|---|
| 0–50% | Safe zone, work freely |
| 50–60% | Start thinking about clearing |
| 60–70% | Optimal output zone |
| 70%+ | Quality degrades, clear now |
Skill building checklist
SKILL.mdunder 200 lines- YAML front matter with trigger, anti-trigger, outcome
- Detailed references in a
/referencesfolder - Business context (brand, ICP, voice) in references
- Rules section for learnings
- Tested with skill-creator evals
The six levels
| Level | Role | Focus |
|---|---|---|
| L6 | Orchestrator | Multiple instances, worktrees, agent teams |
| L5 | Skill builder | Custom skills, evals, self-improving systems |
| L4 | Tool master | MCP servers, surgical tool selection |
| L3 | Context engineer | Context window management, strategic loading |
| L2 | Planner | Plan mode, collaborative questioning |
| L1 | Prompt engineer | Basic prompts, reading output, terminal basics |
Key decisions
| Decision | Choose A when | Choose B when |
|---|---|---|
| CLAUDE.md vs skills | Always-on rules | Task-specific knowledge |
| /clear vs /compact | You can re-establish the context manually | The context is hard to recreate |
| Single vs multiple sessions | Tasks are sequential | Tasks are independent |
| Screenshots vs source | Quick inspiration | Precise cloning |
| Global vs project skills | Personal preferences | Team standards |
Anti-patterns
| Anti-pattern | Fix |
|---|---|
| “Build me a website” | Specify outcome, audience, brand, visual refs |
| 1,000-line SKILL.md | Refactor to 200 lines plus reference files |
| Installing every MCP | Pick 2–3 for the current project |
| Never checking /context | Set up a persistent status bar |
| Purple gradients | Set your color palette explicitly |
Ship it
From your local folder to a live URL in under five minutes.
You've built something. It works on your machine. Now you want to share it with the world, or at least with your team, your client, or your portfolio. This is where most designers hesitate. “I don't know how to deploy.” You don't need to. Claude Code does.
Step 1: Push to GitHub
GitHub stores your code in the cloud and makes it shareable. Think of it as version-controlled backup for your project. If you don't have an account yet, create a GitHub account.
Once you have an account, open Claude Code in your project folder and send this prompt:
Create a new GitHub repository called “my-project-name” and push all my code to it. Make it public.
That's it. Claude Code handles git init, creating the repo via the GitHub CLI, and pushing your files. You just approve each step when it asks.
Step 2: Deploy to Vercel
Vercel turns your GitHub repo into a live website with a real URL. Every time you push changes to GitHub, Vercel automatically rebuilds and redeploys. Sign up with your GitHub account for the smoothest setup: create a Vercel account.
Then, back in Claude Code:
Deploy this project to Vercel. Connect it to my GitHub repository and set it up for automatic deployments.
Claude Code will install the Vercel CLI if needed, link your project, and deploy. You'll get a live URL within minutes.
What happens next
You now have a live URL you can share with anyone. The workflow from here on is simple:
- Make changes locally with Claude Code
- Ask Claude Code to push to GitHub
- Vercel auto-deploys: your live site updates within seconds
No FTP. No file managers. No “how do I upload this?” Just build, push, live.