setup-leafygreen
Installation
SKILL.md
LeafyGreen UI Setup
Configure a Vite + React + TypeScript project to use MongoDB's LeafyGreen design system. Run all steps in order. See references/gotchas.md before troubleshooting any issues.
Prerequisites Check
Before starting, verify the project is a Vite + React + TypeScript project:
# Must exist
ls package.json src/main.tsx src/App.tsx vite.config.ts
If these files are missing, scaffold the project first:
echo "y" | npm create vite@latest . -- --template react-ts