Baseline UI
Selective Reading Rule
Start with:
references/senior-master-standard.mdreferences/usage-routing.mdreferences/quality-checklist.md
Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.
Enforces an opinionated UI baseline to prevent AI-generated interface slop.
When to Use
- You are building or reviewing Tailwind-based UI and want a strict baseline for accessibility, motion, typography, and layout.
- The task is to prevent generic or sloppy AI-generated interface decisions before they spread through the codebase.
- You need concrete UI constraints to apply to a file review or an ongoing frontend implementation.
How to use
/baseline-ui
Apply these constraints to any UI work in this conversation.
/baseline-ui <file>
Review the file against all constraints below and output:
- violations (quote the exact line/snippet)
- why it matters (1 short sentence)
- a concrete fix (code-level suggestion)
Stack
- MUST use Tailwind CSS defaults unless custom values already exist or are explicitly requested
- MUST use
motion/react(formerlyframer-motion) when JavaScript animation is required - SHOULD use
tw-animate-cssfor entrance and micro-animations in Tailwind CSS - MUST use
cnutility (clsx+tailwind-merge) for class logic