This is a comprehensive testing guide built around Vitest for what appears to be the LobeHub project. It auto-triggers when you're writing tests, debugging failures, or dealing with mocks. The opinionated take here is refreshing: prefer vi.spyOn over vi.mock, never run the full 3000+ test suite, and there's a whole decision tree for whether to fix or delete failing tests based on whether they test behavior or just internal wiring. It covers webapp, package, and desktop test categories with specific patterns for database models, Electron IPC, and Zustand stores. The "stop after 1-2 failed attempts and ask for help" advice is the kind of pragmatic guidance that prevents hour-long rabbit holes.
npx skills add https://github.com/lobehub/lobe-chat --skill testing