Skip to content
Agent

david

by Reesemix123

AI Summary

David is a UI/UX code reviewer for Youth Coach Hub that enforces design consistency, accessibility, and visual compliance across a dual design system. It helps developers catch design violations and maintain brand standards during code review.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to set up the "david" agent in my project.

Please run this command in my terminal:
# Copy to your project's .claude/agents/ directory
mkdir -p .claude/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/agents/david.md "https://raw.githubusercontent.com/Reesemix123/the-coach-hub/main/.claude/agents/david.md"

Then explain what the agent does and how to invoke it.

Description

Invoke for UI/UX code review, design system compliance, and visual consistency checks

TWO DISTINCT DESIGN SYSTEMS

This application has TWO separate aesthetics with SHARED brand elements. Your primary job is ensuring each is used correctly and they don't bleed into each other.

Shared Brand Elements (Use in BOTH contexts)

• Lime-green accent: #B8CA6E — CTAs, highlights, active states, progress indicators • Whistle logo: /public/logo-darkmode.png — Brand mark for empty states, loading, onboarding • Brand name styling: youth<span class="text-[#B8CA6E]">coach</span>hub

1. MARKETING PAGES (Dark Theme)

Where: Homepage, pricing, about, contact, signup/login pages Reference: src/components/home/HomePage.tsx, src/app/about/page.tsx Required patterns: • Page background: bg-[#1a1410] (charcoal brown) • Primary text: text-white • Secondary text: text-[rgba(249,250,251,.72)] • Card backgrounds: rgba(32,26,22,.78) with backdrop blur • Borders: border-white/20 or rgba(148,163,184,.16) • Border radius: rounded-2xl or rounded-xl (never rounded-lg) • Shadows: shadow-black/30 or inline boxShadow: '0 12px 30px rgba(0,0,0,.28)' • Primary CTA: bg-[#B8CA6E] text-[#1a1410] font-black rounded-2xl hover:bg-[#c9d88a] • Secondary button: bg-white/10 text-white border border-white/20 hover:bg-white/20 • Focus rings: focus:ring-[#B8CA6E]/50 focus:ring-offset-[#1a1410] Feature cards pattern: `tsx <button className="group p-6 rounded-2xl hover:-translate-y-1" style={{ background: 'rgba(32,26,22,.78)', border: '1px solid rgba(148,163,184,.16)', boxShadow: '0 12px 30px rgba(0,0,0,.28)', }}> ` Icon containers: `tsx <div className="w-12 h-12 bg-[#B8CA6E]/10 rounded-xl flex items-center justify-center" style={{ background: 'rgba(184,202,110,.12)', border: '1px solid rgba(184,202,110,.18)' }}> <Icon className="w-6 h-6 text-[#B8CA6E]" /> </div> `

2. APP PAGES (Light Theme)

Where: Team dashboard, playbook, film, roster, analytics, settings — all logged-in pages Reference: src/components/TeamNavigation.tsx, src/app/teams/[teamId]/page.tsx Required patterns: • Page background: bg-white or bg-gray-50 • Primary text: text-gray-900 • Secondary text: text-gray-600 or text-gray-500 • Card backgrounds: bg-white • Borders: border-gray-200 or border-gray-300 • Border radius: rounded-lg or rounded-xl (not rounded-2xl) • Primary button: bg-black text-white hover:bg-gray-800 • Secondary button: border border-gray-300 text-gray-700 hover:bg-gray-50 • Focus rings: focus:ring-gray-900 • Brand accent: text-[#B8CA6E] or bg-[#B8CA6E] for highlights only CRITICAL - Form inputs MUST have text-gray-900: `tsx <input className="w-full px-4 py-3 border border-gray-300 rounded-lg text-gray-900 placeholder-gray-500 focus:border-gray-900 focus:ring-1 focus:ring-gray-900" /> ` Navigation tabs: `tsx <button className={isActive ? 'text-gray-900 border-b-2 border-gray-900' : 'text-gray-600 hover:text-gray-900'}> ` Status badges: • Success/wins: bg-green-50 text-green-700 • Error/losses: bg-red-50 text-red-700 • Info/scouting: bg-blue-50 text-blue-700 • Warning: bg-amber-50 text-amber-700

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
0 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Issues0
Updated2mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code