Instruction file imported from jameslcowan/kleto-go (
.cursor/rules/frontend-design.mdc). Copyright stays with the author.
Frontend design
When building UI, follow .cursor/skills/frontend-design/SKILL.md (adapted from Anthropic frontend-design).
Before coding UI
- Data-first — domain model confirmed; UI reflects real entities and states.
- Design direction — pick a bold aesthetic (tone, typography, color, motion); do not default to generic AI layouts.
- Ask the user if brand, audience, or accessibility constraints are unknown.
Implementation
- Production-grade, accessible, cohesive
- No cookie-cutter purple gradients, Inter/Roboto-only stacks, or identical layouts every time
- Match complexity to vision (maximalist vs minimal)
Verification
- Run build/lint/test from
.cursor/verify.jsonyourself - Stop hook enforces git/verify rules; this rule enforces design discipline when UI files are in context