<- all tokdocs

Eight Prompts That Turn Claude Code Into a Competent Web Designer

Watch on TikTok

View on TikTok ->

Author: jonocatliff

Claude Code's default website output looks generic. This video presents an eight-step prompting sequence that transforms the results from a basic template into a polished, professional site, cutting build time from three and a half hours to ten minutes.

Default Claude Code website output compared to improved version

The Eight-Step Sequence

Each step targets a specific dimension of web design quality.

Step 1: Clone a layout you like. Screenshot a website with a design you admire and tell Claude to replicate the layout. This gives the AI a concrete visual reference instead of vague instructions.

Step 2: Add a CLAUDE.MD design directive. Create a CLAUDE.MD file that instructs Claude to design like a senior UI designer. This changes the baseline quality of every design decision throughout the session.

Step 3: Use a component library. Tell Claude to use an established component library instead of writing raw HTML and CSS. This pulls in tested, well-designed building blocks.

Step 4: Custom gradient backgrounds. Add radial gradient glows, blurred elements, and noise texture overlays to replace flat solid backgrounds.

Step 5: Animation and hover effects. Layer in motion to make the site feel responsive and alive.

Step 6: 3D graphics. Add three-dimensional elements for visual depth.

Step 7: Typography. Pick two Google fonts, one for headings and one for body text, to create visual hierarchy.

Step 8: Edit with screenshots. Show Claude what needs fixing by providing screenshots with annotations rather than describing problems in text.

Claude Code session building a polished marketing site with gradients and glassmorphism

Key Takeaways

  • The CLAUDE.MD file acts as a persistent design system directive that elevates quality across the entire session
  • Starting from a screenshot reference gives Claude a concrete target instead of an abstract description
  • Component libraries eliminate the low-quality raw code that Claude defaults to
  • Screenshot-based feedback in step 8 closes the loop: Claude can see what you see and fix accordingly
  • The sequence works because each step builds on the previous one, layering polish on top of structure

Published April 27, 2026. Writeup generated from a favorited TikTok.