Skip to content
ISSUE #39 Feb 27, 2026 10 MIN READ

I Found a Better Way to Design Pages in Claude Code (And I’m a Little Mad I Didn’t Know Sooner)

You’re tweaking a landing page in Claude Code.

“Make the layout more balanced,” you type—feeling pretty clever about your prompt, if we’re being honest.

Claude adjusts the CSS. You refresh the browser.

Hmm. Not quite right.

“Actually, make the image section wider.”

Claude dutifully changes the grid. You refresh again.

Still off. (Why is this so hard?)

“Can you try pill-shaped buttons instead?”

And now you’re three iterations deep, squinting at your screen, no longer entirely sure what “right” even looks like anymore.

Here’s the thing: I spent an embarrassing amount of time in this loop before discovering there’s a plugin that makes the whole rigmarole unnecessary.

It’s called the Claude Code Playground skill. And it changes everything about how you approach design work.

Stay with me.

.

.

.

The Describe-Refresh-Despair Loop (A Love Story Gone Wrong)

Let’s be real about what’s happening here.

You have a vision in your head. A feeling of what the page should look like. Something about the proportions, the spacing, the way elements breathe together.

But translating that feeling into words?

That’s where the wheels come off the wagon.

The loop goes something like this:

  1. Describe a change in words (that you hope Claude interprets correctly)
  2. Wait for Claude to apply it
  3. Refresh the page
  4. Realize it’s not quite what you meant
  5. Try different words—maybe “airy” instead of “spacious”?
  6. Repeat 8-12 times
  7. Eventually settle for “close enough” while muttering under your breath

I burned way too many hours in this loop last week, redesigning a page. Every iteration felt like playing telephone with my own design instincts.

(Spoiler: I was the one garbling the message.)

The problem isn’t Claude. The problem is that words are a terrible interface for visual decisions.

.

.

.

Enter the Claude Code Playground Skill: Your New Best Friend

Anthropic built an official plugin—the Playground skill—that adds something radical to Claude Code:

A visual layer between your brain and your codebase.

Here’s how it works: Claude analyzes your existing page, then generates a self-contained HTML file with sliders, dropdowns, and presets that let you see different design directions instantly.

No code changes. No refreshing. No “what I said vs. what I meant” shenanigans.

Just a live preview that updates as you click.

Once you’ve dialed in the exact design you want—with your actual eyeballs—the playground generates a natural language prompt describing your choices.

Copy. Paste. Execute.

One pass. Done.

👉 The key insight: You’re no longer translating visual intuition into words. The playground does that translation for you.

.

.

.

The Real-World Test: Redesigning a WooCommerce Product Page

Enough theory. Let me show you exactly how this worked on my LicenseWP product page.

The existing page was… fine. Functional. The kind of “fine” that makes you wince slightly every time you look at it.

Alt: The original LicenseWP product page showing Theme Pro v2 with a gradient image placeholder on the left, three pricing tier cards (Agency, Business, Personal) stacked vertically on the right, and description tabs below

The image area felt cramped. The pricing cards looked squished together. The “Add to cart” button was doing its best impression of a wallflower at a party.

I wanted to experiment with different proportions, card styles, and CTA treatments.

The old me would have spent an hour going back-and-forth with Claude in text prompts.

The new me? Installed the Playground skill.

.

.

.

Step 0: Install the Plugin (30 Seconds, Tops)

First things first—you need the Claude Code Playground skill installed.

Run /plugin in Claude Code, switch to the Discover tab, and search for “playground.”

Alt: Claude Code's plugin discovery interface showing a search for "playground" with the official plugin by claude-plugins-official listed below, showing 11.4K installs and description "Creates interactive HTML playgrounds"

Hit space to toggle it on.

That’s it. Claude now knows how to build interactive design playgrounds. (11.4K installs can’t be wrong, right?)

.

.

.

Step 1: Send Claude to Do Reconnaissance

Here’s where the magic starts.

I gave Claude a prompt telling it to visit my product page, study the layout like an art critic at a museum, and then build a Design Layout Playground based on what it found.

Alt: The detailed prompt entered into Claude Code instructing it to visit the product page URL, study the layout structure, and build an interactive Design Layout Playground using the playground skill with specifications for presets, preview panel, output location, and prompt generation

Claude opens Chrome and starts analyzing—like a very thorough house inspector, but for web pages.

Alt: Claude Code using Chrome browser tools to analyze the product page, showing multiple tool calls: tabs_context, read_page, get_page_text, and several javascript_tool executions to extract HTML structure

It reads the DOM, extracts text content, and runs JavaScript to pull the full HTML structure.

Alt: Claude Code taking a screenshot of the page and scrolling down to capture the tabs section and footer, building a complete mental model of the layout

Screenshots. Scrolling. Full page analysis from header to footer.

(Claude is nothing if not thorough.)

.

.

.

Step 2: Claude Builds You a Custom Design Tool

Once Claude understands your page, it loads the Playground skill and reads the design template.

Claude Code loading the playground skill successfully and reading the design-playground template file from the plugins cache directory

Then—and here’s the part that made me do a little happy dance—it creates a single self-contained HTML file with everything baked in.

Alt: Claude Code creating the notes/playground directory and writing 1253 lines to product-page-design.html, showing the beginning of the HTML file with doctype, head section, and CSS reset

1,253 lines. A complete interactive design tool, built specifically for your page, in about 30 seconds.

Alt: VS Code file explorer showing the notes folder containing the playground subfolder with product-page-design.html file marked as untracked

Here’s what Claude built for me:

Alt: Claude Code's summary showing the playground includes controls for Page Layout, Gallery, Typography, Tier Cards, CTA Button, Tabs, and Color Theme, plus 5 presets: Current Design, Clean Editorial, Bold SaaS, Compact & Dense, and Premium Showcase
  • 5 presets — each one a cohesive design direction
  • 7 control groups — layout, gallery, typography, cards, buttons, tabs, colors
  • Live preview — using my actual page content (real product names, real prices, real structure)

Ferpetesake, this is exactly what I needed.

.

.

.

Step 3: Play With Designs Like a Kid With New LEGOs

Open the HTML file in your browser.

And then—I’m not going to lie—prepare to lose 20 minutes just playing.

Alt: The Product Page Design Playground interface showing a left panel with controls for Page Layout (max width, grid split, gap, spacing), Gallery (style, radius, aspect ratio), and Typography (title size, weight, description style), with a live preview of the product page on the right

The left panel has all the controls. The right panel shows a live preview that updates instantly as you change anything.

(I may have spent an unreasonable amount of time just clicking the “Gallery Style” options back and forth. Don’t judge me.)

Alt: Scrolled down view of the playground showing additional controls for Tier Cards (layout, card style, radius, highlight, badge), CTA Button (style, width, size), Tabs Section (style, alignment), and Color Theme (primary accent swatches and surface treatment)

I started by clicking through the presets to find a direction:

  • Bold SaaS — too aggressive for this product
  • Compact & Dense — too cramped (we’re selling premium themes, not packing a suitcase)
  • Clean Editorial — closer! But needed tweaks

Then I fine-tuned individual controls:

  • Grid split: 50/50 (equal width for image and details)
  • Gallery style: Framed (light background with border instead of that gradient)
  • Gallery radius: 24px (rounder corners, friendlier vibe)
  • CTA button: Pill-shaped, full-width, large
  • Tabs: Pill style, stretched across the full width

Every single change reflected instantly in the preview.

👉 Here’s what hit me: I wasn’t describing what I wanted anymore. I was seeing it. And clicking until it looked right.

.

.

.

Step 4: Copy the Magic Prompt

Once the design felt right, I scrolled to the bottom of the playground.

And there it was.

Alt: The playground with controls adjusted showing the generated prompt output at the bottom in a highlighted box listing all design changes: product grid split 50/50, section spacing 64px, gallery style framed, border radius 24px, title size 36px, etc., with a Copy Prompt button on the right

The Prompt Output panel had already written a clear instruction describing exactly what I chose—and only what differed from the defaults.

Redesign the product single page at http://localhost:8107/product/theme-pro-tc011/ 
with the following design changes:

- product grid split: 50/50
- section spacing: 64px
- gallery style: framed
- gallery border radius: 24px
- product title size: 36px
- tier card border radius: 8px
- selected tier highlight: border-only
- CTA button style: pill-shaped
- CTA button width: full-width
- CTA button size: large
- tab style: pill tabs
- tab alignment: stretch

No ambiguity. No “make it more modern” nonsense.

Just precise specifications that Claude can execute without guessing.

One click on Copy Prompt.

.

.

.

Step 5: Let Claude Do Its Thing

Back in Claude Code. Paste.

Alt: Claude Code receiving the pasted prompt and entering plan mode, exploring the product page CSS and templates by running find commands in the woocommerce directory

Claude immediately recognizes the design instructions and enters plan mode to explore the codebase.

Alt: Claude Code reading CSS files, checking CSS variables, and examining the single product template structure, then entering a "thinking" state for 2 minutes 17 seconds to write the plan

33 tool uses. 101k tokens. 2 minutes of thinking.

Claude reads every relevant CSS file, understands the variable system, and maps out exactly what needs to change.

Then it presents the plan:

Alt: Claude Code's detailed plan titled "Redesign Product Single Page" showing the context, file to modify (assets/css/frontend.css), and specific CSS changes including grid-template-columns changing from 2fr 3fr to 1fr 1fr, margin-bottom adjustments, and gallery style changes from gradient to framed with exact code snippets

Every change mapped out. Exact line numbers. Before/after CSS.

(Is it weird that I find this deeply satisfying? Don’t answer that.)

Alt: Continuation of the plan showing dark mode considerations (existing CSS variables handle it automatically), verification steps for testing the changes visually, and the execution prompt asking whether to proceed with options to clear context, auto-accept edits, manually approve, or modify the plan

Verification steps included. Dark mode considerations. Mobile responsiveness checks.

I approved. Claude started executing.

Alt: Claude Code applying CSS edits to frontend.css, showing a diff view with red lines indicating removed code (grid-template-columns: 2fr 3fr, old margin-bottom, linear-gradient background) and green lines showing the new values (1fr 1fr grid, updated spacing, solid background with border)

9 CSS edits. All applied.

Alt: Claude Code's completion summary confirming all 9 CSS changes were applied correctly, listing each change: grid split 1fr 1fr, section spacing, gallery styling with border and radius, title size, tier cards, CTA button, and tabs, with a note that dark mode works automatically

And… done.

.

.

.

The Result (AKA: The Part Where I Do a Victory Lap)

Here’s the final redesigned product page:

Alt: The redesigned LicenseWP product page showing the new 50/50 grid layout with a framed gallery area on the left, equal-width pricing section on the right with the same three tiers, a full-width pill-shaped purple Add to cart button, and stretched pill-style tabs below for Description, Additional information, and Reviews
  • Equal-width layout. The image and product details now have balanced visual weight.
  • Framed gallery. Clean border instead of that dated gradient background.
  • Full-width CTA. The “Add to cart” button finally commands the attention it deserves.
  • Pill tabs. Stretched across the full width with a modern, cohesive feel.

The design matches what I saw in the playground preview—applied in a single pass.

HECK YES.

.

.

.

The Before & After (Because We All Love a Good Transformation)

BeforeAfter
40/60 grid split (cramped image)50/50 split (balanced)
Gradient gallery backgroundFramed with border
Small inline CTA buttonFull-width pill CTA
Underline tabsStretched pill tabs
10+ prompt iterations1 pass

The old workflow would’ve taken an hour of back-and-forth (and probably some mild frustration-snacking).

This took 15 minutes—and honestly, most of that was me playing with the controls because it was genuinely fun.

.

.

.

When the Claude Code Playground Skill Really Shines

👉 Redesigning existing pages. You already have something. You want to explore variations without breaking it.

👉 Client projects. Preview before you commit. Show options before you build. (Clients LOVE this, by the way.)

👉 Design indecision. When you don’t know what you want—and let’s be honest, that’s more often than we’d like to admit—clicking through presets beats describing in words.

👉 Reducing the prompt iteration loop. One visual session replaces 10+ text-based rounds of “no, more like… actually less like that… wait, go back.”

The playground acts as a translation layer between your visual intuition and Claude’s execution capabilities. You figure out what “right” looks like with your eyes, then communicate that with precision.

The Prompt Template (Steal This)

Here’s the full prompt I use. Copy it. Adapt it. Make it yours.

First, use the browser to visit and read this page: [YOUR_PAGE_URL]

Study the page's current layout structure, section hierarchy, component patterns, 
and overall visual design. Take note of how content is organized and what 
elements are present.

Then, use the "playground" skill (design-playground template) to build an 
interactive Design Layout Playground based on what you found on that page.

The playground should let me visually explore different layout and component 
style combinations for that page.

## Presets
Include 3–5 named presets that snap all controls to a cohesive combination, 
inspired by what would work well for the page's content. For example:
- "Clean Editorial" — airy spacing, narrow content width, minimal components
- "Bold & Modern" — full-width hero, elevated cards, bold CTAs
- "Compact Dashboard" — tight spacing, grid cards, minimal chrome
- Adapt these to fit the actual content and purpose of the page

## Preview
- Single live preview panel that updates instantly on every control change
- The preview should use a simplified but recognizable representation of the 
  actual page content (use real section names, headings, and placeholder text 
  that matches the page structure)
- Use raw CSS (no Tailwind or frameworks)

## Output Location
- Save the playground HTML file to `notes/playground/` folder (create it if 
  it doesn't exist)

## Prompt Output
- Generate a natural language instruction at the bottom that I can copy and 
  paste back into Claude to implement the chosen design
- The prompt should describe the layout and component decisions in enough 
  detail to be actionable without the playground
- Only mention choices that differ from the defaults
- Frame it as a direction, e.g.: "Redesign the page with a full-width hero 
  section, 3-column card grid with elevated shadows and 16px gap, airy 
  section spacing (64px), pill-shaped CTAs positioned inline..."
- Include the source page URL in the generated prompt for context

Replace [YOUR_PAGE_URL] with whatever page you want to redesign.

.

.

.

Your Turn

Next time you’re about to type “make it more modern” or “adjust the spacing” or “try a different card style”—stop.

Build a playground first.

Let your eyes make the decisions. Let the Claude Code Playground skill translate those decisions into words. Let Claude execute them precisely.

What page are you going to redesign with this workflow?

Go install the plugin. Run /plugin, search “Playground”, toggle it on.

Now.

(And maybe clear your schedule. Because once you start playing with those sliders, you might lose track of time.)

Nathan Onn

Freelance web developer. Since 2012 he’s built WordPress plugins, internal tools, and AI-powered apps. He writes The Art of Vibe Coding, a practical newsletter that helps indie builders ship faster with AI—calmly.

Join the Conversation

Leave a Comment

Your email address will not be published. Required fields are marked with an asterisk (*).

Enjoyed this post? Get similar insights weekly.