PANELSYSTEM
00:00:00
UPTIME0d 0h 0m
CPU USAGE
TOTAL55%
TEMP
62°C
USER
28%
SYSTEM
12%
THREADS
842
PROCESSES
324
MEMORY
USING 3.4 OUT OF 7.7 GiB
SWAP0.2 GiB
PANELNETWORK
STATUSONLINE
BANDWIDTH
DOWNLOAD0.0 MB/s
UPLOAD0.0 MB/s
PACKETS
REAL-TIME TRAFFIC
SENT
0
RECEIVED
0
TERMINALI let Playwright agents loose on a site with 300+ broken themes
$ BACK TO BLOG
$ cat i-let-playwright-agents-loose-on-a-site-with-300+-broken-themes.md
Published:

I let Playwright agents loose on a site with 300+ broken themes

I let Playwright agents loose on a site with 300+ broken themes

I used Claude’s Playwright agents to audit and fix readability issues across 300+ color themes that were imported directly from shell color files.

The hard part was not the work itself, but figuring out how to ask the agent the right question so it would approach the problem correctly. Once the prompting was tuned, the planner and generator agents produced an initial set of tests that validated text readability across every theme. From there, I treated the playwright-test-healer agent like a worker process: point it at failures, let it iterate, watch what it patched.

Once it was aimed correctly, the healer ran for about an hour and actually surfaced and fixed every contrast and readability issue. The fixes were not perfect, but they were workable.

All of this was running on this site (itsthatguy.com) that I had originally built with Claude Code as a stress test for how far I could push it with frontend prompting. The codebase itself is a mess. Letting an agent generate an entire frontend without guardrails produces an impressive amount of chaos. It took two 12-hour days to get the site into a usable state, mostly spent correcting logic bugs and cleaning up design output.

I attached a screenshot of the test directories to show what the agents produced on their own. In hindsight, I would absolutely include instructions about directory structure before letting the agents loose, because they will happily dump files in the root of your project like feral raccoons.

PANELFILESYSTEM
PANELKEYBOARD
ESC
1
2
3
4
5
6
7
8
9
0
-
=
BACK
TAB
Q
W
E
R
T
Y
U
I
O
P
[
]
\
CAPS
A
S
D
F
G
H
J
K
L
;
'
ENTER
SHIFT
Z
X
C
V
B
N
M
,
.
/
SHIFT
CTRL
FN
ALT
SPACE
ALT
CTRL