.gemini/skills/batch-centric-design/SKILL.md
The batch is the atomic unit - UI patterns centered around batch management
npx skillsauth add captjay98/gemini-livestockai Batch-Centric DesignInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
In LivestockAI, the "Batch" (a group of animals) is the atomic unit of the farm.
All operations flow from the batch context.
Every batch-related page starts with this anchored header:
┌─────────────────────────────────────────────┐
│ 🐔 Broiler Batch A Week 6 ● Synced │
│ 450/500 birds • Sunrise Poultry Farm │
└─────────────────────────────────────────────┘
Color-coded status at a glance:
┌─────────────────────────────────────────────┐
│ 🟢 ON TRACK │
│ Mortality: 2.1% • FCR: 1.8 • Weight: 1.2kg │
└─────────────────────────────────────────────┘
High-frequency actions as large touch targets:
┌──────────┬──────────┬──────────┐
│ 🍗 │ 💀 │ 💰 │
│ Feed │ Death │ Sale │
├──────────┼──────────┼──────────┤
│ ⚖️ │ 💉 │ 💧 │
│ Weigh │ Vax │ Water │
└──────────┴──────────┴──────────┘
Every Batch Detail view MUST follow this structure:
On mobile, tables transform to cards:
┌─────────────────────────────────────────────┐
│ Jan 15, 2026 ₦45,000 │
│ 50 birds @ ₦900/bird │
│ Customer: Alhaji Musa [View →] │
└─────────────────────────────────────────────┘
rugged-utility - Touch targets and visual designoffline-first - Sync status indicatorsdata-ai
Input validation patterns with Zod in LivestockAI server functions
testing
Unit testing patterns with Vitest in LivestockAI
tools
Server → Service → Repository pattern for feature organization
data-ai
Server-side rendering and server functions with TanStack Start in LivestockAI