Use ← → keys or buttons
Case Study · Bootcamp Notes

Claude Code as a Design Partner

What I learned in Session 5 of the Cradis AI Scholarship Bootcamp — and how I applied it to redesigning Almosafer.

Session 5 of 9 · Instructor: Badi Ammar · Cradis · Applied to almosafer.com
Overview

What this deck covers

Two ways Claude Code becomes a real design partner — and how I used both on Almosafer.

Claude Code as a Designer

  • Surface design decisions hidden in a PRD
  • Find edge cases before designing
  • Generate an initial layout to iterate on

Claude Code as a UX Researcher

  • Compare two real products side-by-side
  • Walk user flows with Playwright
  • Audit a live e-commerce site

Applied to Almosafer

I used both modes: Claude Code reviewed the booking flow as a researcher, then helped me reshape the entire design system as a co-designer.

The Shift

From Builder to Designer

Last week I built and shipped. This week, Claude Code became my design partner.

Last Week

  • Built an AI app from a prompt
  • Set up GitHub & Cloudflare
  • Deployed to a live URL
  • Made it production-ready

This Week

  • Manage real infrastructure with Claude Code
  • Install design Skills (frontend-design)
  • Compare products with AI research
  • Redesign whole screens with a Skill
Part 1

Claude Code & Infrastructure

Letting Claude Code manage the stack so design can focus on experience.

Why it matters

From a toy app to a real product

A prototype on localStorage works for one user. A real travel product like Almosafer needs more.

Save data across users

Search history, saved trips, bookings — these can't live on one device.

Store files

Boarding passes, receipts, hotel images — too big for the browser.

Fast lookups & sessions

Auth, rate limits, caching — needs a fast key-value store.

Cloudflare provides all of this on the free tier. Claude Code can wire it up — I just describe what I need.
Rule #1

Tell Claude Code where it will live

Decide the stack before building. Otherwise Claude picks shortcuts you'll have to redo later.

Without telling it

Build me a flights search app
that saves recent searches.

Claude builds something that only works locally. The day you want to share, you rebuild large parts.

After telling it

We'll host this on Cloudflare so anyone
can use it. Build me a flights search
that saves recent searches per user.

Claude picks the right pieces from day one. Ready for real users.

Better still: add "We use Cloudflare" to CLAUDE.md so every conversation already knows.
Part 2

Claude Code Skills

Reusable expertise that turns Claude into a domain specialist.

Concept

What is a Skill?

A reusable playbook that makes Claude an expert in a specific domain — design, writing, brand systems, anything.

CLAUDE.md

Project rules — what this project needs.

Skill

Domain expertise — design, writing, brand. Reusable across projects.

Both Together

Project rules + domain expertise = full context for Claude.

Skills are just markdown files with a special header. Install once, then Claude uses them whenever they're relevant.
The Skill I used

The frontend-design Skill

Anthropic's official Skill that helps Claude design interfaces that don't look like every other AI app.

What it does

  • Pushes Claude to bold, distinctive designs
  • Picks intentional fonts (not Inter / Roboto)
  • Cohesive color systems, not random palettes
  • Surprising layouts and motion
  • Designs that feel handmade, not templated

What it explicitly avoids

  • Generic AI aesthetics ("AI slop")
  • Inter, Roboto, Arial, system fonts
  • Purple gradients on white
  • Predictable Bootstrap-style layouts
  • Cookie-cutter design patterns

Applied to Almosafer

I enabled frontend-design before regenerating the design system. The result felt like a travel brand — not a generic SaaS dashboard.

Part 3

From PRD to Initial Design

Letting Claude Code think through a brief with me.

Brief

Start with a PRD

A short product brief — realistic, incomplete, full of design decisions waiting to be made.

order-tracking-prd.md

PRD: Order Tracking Page

Problem: After checkout, users don't know where their order is.
Goal: Show real-time status and estimated arrival.

Requirements:
 • Show current status: preparing, on the way, delivered
 • Show estimated arrival time
 • Show driver location on a map
 • Let the user contact the driver
 • Notify on every status change

Out of scope: order modifications, multi-stop tracking.

Applied to Almosafer

I wrote a similar brief for the booking confirmation & itinerary screen and dropped it into Claude Code as the starting point.

The method

Ask Claude Code three things

Drop the PRD into Claude Code, then run these three prompts in sequence.

1

Design decisions

"List the design decisions I need to make as a UX designer — things the PRD doesn't specify but that will shape the experience."

2

Edge cases

"Now list every edge case — empty states, errors, unusual states, things that could go wrong, accessibility concerns."

3

Initial design

"Based on the PRD and the decisions above, propose an initial layout. Describe components and hierarchy, then build it as a working HTML mockup."

Brief → considered design in three prompts. Claude Code becomes the colleague who challenges blind spots before I open Figma.
Part 4

Claude Code as Investigator

A real research task, run live on competitor products.

UX research

Compare two products with Claude Code

Give Claude two URLs and let it run a UX comparison the way a consultant would.

Compare almosafer.com and wego.com for booking a flight.

Use Playwright to explore the pages and take screenshots.

Focus on:
  1. Trust signals (reviews, badges, guarantees)
  2. Search & filter UX
  3. Checkout flow friction

Output a structured report with strengths, weaknesses,
and 3 recommendations for each.

What I got back

  • Side-by-side comparison
  • Specific UX patterns identified
  • Actionable recommendations
  • Citations to specific pages

When this is gold

  • Competitive analysis on a new project
  • Borrowing patterns from category leaders
  • Pre-research before user studies
  • Pitching ideas to stakeholders
Applied to Almosafer

UX research, end-to-end

I ran the full UX research toolkit on Almosafer — entirely with Claude Code.

Research methods

  • User Interviews — synthesized from real travel reviews
  • Persona — built from clustered insights
  • UX Audit — full happy path with Playwright
  • Usability Testing — task-based walkthroughs

How Claude Code helped

  • Drafted interview scripts and probing questions
  • Clustered findings into themes
  • Spotted friction points I missed
  • Wrote the audit report with screenshots
Part 5

Practical Workshop

Using AI as a design partner — right now, on a real screen.

Activity

Redesign the whole UI as one system

~20 minutes. Pair work in the bootcamp — solo work on Almosafer.

1

Enable the Skill

Open Claude Desktop → Customize → Skills → enable frontend-design.

2

Brief Claude

"Here's almosafer.com. Redesign the entire UI as one cohesive system. Bold, distinctive, no generic AI aesthetics. Keep all screens consistent."

3

Interrogate the output

Ask follow-ups: typography rationale, color logic, motion ideas, how screens connect.

4

Implement & deploy

Tell Claude Code to apply the system across the whole app. Push to deploy and compare before/after.

Applied to Almosafer

Full design system — built with AI

Translated Claude's output into a real, production-ready system using Figma Variables.

Color tokens

Primary, secondary, semantic, neutrals — all as Figma Variables, mapped to dark/light modes.

Typography scale

Type ramp with intentional pairing — chosen by Claude with clear rationale.

Components

Buttons, inputs, cards, search, itinerary — consistent across all booking screens.

Claude Code wrote the system; Figma Variables held it together. Every change propagated automatically.
Mindset

You are a builder now

The line between designer and builder is dissolving. The designers who notice — and adapt — will lead the next decade.

The old way

  • Designers hand off mockups
  • Engineers translate them into code
  • Handoff was the slowest, most lossy step
  • "Designer" and "builder" were two jobs

The new way

  • You design and ship
  • Claude Code turns intent into working software
  • No handoff loss — you control the final product
  • "Designer" now includes builder, researcher, integrator
Wrap up

Key takeaways

Five rules I now use on every product — including Almosafer.

  • From PRD to design — hand Claude a brief, then ask for decisions, edge cases, and an initial layout.
  • Claude as investigator — give two product URLs and let Playwright run a real comparison.
  • frontend-design Skill — Anthropic's official Skill that pushes Claude toward bold, distinctive UIs.
  • Tell Claude where it lives — declare the stack ("we use Cloudflare") in CLAUDE.md upfront.
  • You are a builder now — track how the craft is being rebuilt around AI agents every quarter.

What I built on Almosafer

Full UX research (Interviews, Persona, Audit, Usability Testing) + a complete design system in Figma Variables — all driven through Claude Code.

1 / 20