fix: add missing UI rules (shadcn, DRY/KISS, responsive)

This commit is contained in:
Alan Buscaglia
2025-12-16 13:51:17 +01:00
parent e2344b4fc6
commit d53e76e30a
+10
View File
@@ -62,6 +62,16 @@ For detailed rules, refer to each component's AGENTS.md:
- Used in 1 place → keep local in feature directory
- Used in 2+ places → move to `components/shared/`, `lib/`, `types/`, or `hooks/`
### Components
- Use components from `components/shadcn/` when possible
- Implement DRY, KISS principles (reusable components, avoid repetition)
### Responsive Design
- Layout must work for all responsive breakpoints (mobile, tablet, desktop)
- Use Tailwind responsive prefixes: `sm:`, `md:`, `lg:`, `xl:`
### Accessibility
- All images must have `alt` text