# Frontend Prompt Template Use this prompt structure with Codex: ``` Read features/INDEX.md and the feature spec at features/PROJ-X-feature-name.md. Check existing components: ls src/components/ui/ Check installed shadcn: ls src/components/ui/ | wc -l [Describe what to build] Implementation rules: - ALWAYS use shadcn/ui components (check src/components/ui/ first) - If missing: npx shadcn@latest add - Tailwind CSS for all styling - Write unit tests next to source files (*.test.ts next to *.ts) - Run npm run lint after changes If design files exist: check design/ mockups/ assets/ Otherwise ask about: visual style, brand colors, layout preference. ```