---
name: taste-code-craft
description: |
Code-level craft for agent-built UI: semantic HTML, token-driven CSS (no hardcoded values), specificity discipline, component hygiene, zero inline styles, no dead code. The engineering half of "designed, not generated" — a beautiful page is betrayed by sloppy markup. Use when generating or auditing any frontend code. Stack on the design-taste core skill.
triggers:
- "code review"
- "css"
- "html"
- "component"
- "frontend code"
- "clean code"
- "inline styles"
- "semantic html"
---
# taste-code-craft
> A designed page is a designed codebase. The DOM is the first layout you write — structure it like one.
## 1. SEMANTIC HTML (The DOM Is Design)
- One `
` per page; heading levels descend without skipping (h1 → h2 → h3, never h2 after a bare h4).
- Use the element that means the thing: `