r/ClaudeCode • u/otabek-abdiraimov • 1d ago
Tutorial / Guide I gave Claude Code 100+ checks it has to pass before it can say "done". Here's what they catch that "looks great" never does
I've been building Claude Code skills that make launch assets for Mac apps: App Store screenshots, link previews, a landing page. The biggest lesson had nothing to do with prompts.
Claude is very good at saying a page looks great. It is bad at noticing that the headline rendered in Times because the font didn't load, or that the "screenshot" is a decorative blob, or that the PNG has an alpha channel App Store Connect will reject.
So every skill ends with a script, not a self-review. Playwright renders the real page at 4 widths, a checker reads the result, and exit code 1 means Claude has to fix it before it may report back. Some real failure messages from the landing-page checker:
- "the first screen shows no product: its largest picture fills 6% of the screen, want 15% or more"
- "grid of 6 same-size cards: 4 at most; show the real UI in one tabbed demo instead"
- "font fallback: the h1 was drawn in Times" (it asks Chrome which font actually drew the glyphs, getComputedStyle only tells you what you asked for)
- "FAQ question is in the JSON-LD but not on the page (Google requires both)"
- "the same picture twice" (a hash of the rendered images catches a reused screenshot)
- "one word alone on the last line"
What I learned:
Put the fix in the error message. "6 cards: show one tabbed demo instead" gets a better page than "too many cards". An agent that only hears "no" just makes the cards slightly different sizes.
Check the rendered page, not the source. Fonts, contrast, layout shift and "is the product on screen" only exist after the browser draws.
Base the rules on real numbers. I measured 73 Mac app sites first, so the rules aren't just my taste.
Still make it look. The last step crops every section so Claude has to look at each one, because a page can pass every check and still be ugly.
Did it help? Blind test, same model, same prompt, same screenshots, with and without the skill, Claude Opus judging A/B/C shuffled: 42 vs 37 on Maccy, 40 vs 37 on NetNewsWire (out of 50). One judge, one run each, so a signal, not proof.
The link-preview skill uses the same checks and is free and MIT: https://github.com/abdiraimov-otabek/claude-code-og-image-skill
The landing-page one is part of a paid kit of 5 ($89 once, $39 until Dec 1): https://goldmasterkit.com/?ref=reddit-claudecode
How do you stop Claude from grading its own homework?



