Files
Aut.ManagementFaculty/.agents/skills/shadcn-ui/SKILL.md
T

1.5 KiB

name, description
name description
shadcn-ui Use shadcn/ui + Tailwind only for this project's UI. Triggers on UI, styling, components, cards, forms, navigation, theming, or when the user mentions shadcn, ui/*, or design tokens. Do not invent parallel ds-* or --brand-* systems.

shadcn/ui for AUT Management Website

Source of truth

Rules

  1. Build UI from @/components/ui/* + Tailwind utilities only.
  2. Colors: bg-primary, text-muted-foreground, bg-muted, border-border, bg-card — never --brand-* or brand-* classes.
  3. Do not create or revive .ds-* utilities, SurfaceCard, or DotCta patterns.
  4. Prefer Card, Button, Separator, Sheet, NavigationMenu, Input, Label, Tabs, Skeleton, Badge.
  5. Add missing primitives with the CLI; do not hand-copy stale component APIs.
  6. Keep Persian RTL (dir="rtl" on layout; components.json "rtl": true).
  7. AUT identity lives only in shadcn theme variables (--primary, --accent, …).

Anti-patterns

  • Parallel design tokens (--brand-*, ds-card, ds-hero, ds-cta)
  • Full section boxes with border border-border when spacing/Separator/Card suffice
  • Always-on motion (ken-burns, default lift on every card)