skill-agency-owner-dashboard
Installation
SKILL.md
Objective
Build a completely separate home screen for the agency owner (super admin). This is NOT a caregiving screen — it's a MANAGEMENT overview. The owner needs to see: who's on shift, what needs attention, and quick actions to manage their team.
Constraints
- ONLY shown when
subscription.plan === 'multi-agency' && user.role === 'super_admin' - DO NOT modify GuidedHome — this is a SEPARATE component
- DO NOT create new Firestore collections — read from existing ones
- MUST reuse layout components (MinimalHeader, BottomNav/IconRail)
- MUST use existing data hooks and Firestore queries where possible
- MUST use Lucide React icons, shadcn/ui components, Tailwind classes
- NO avatar in header, NO bell in header (same rules as all screens)
- Bottom nav for owner: Home, Team, Schedule, Bell (with badge), More
- Time displays use formatTimeDistance() — NEVER raw minutes