bycaliber-ai-org· 8 skills
Writes Vitest tests following project patterns: __tests__/ directories, vi.mock() for module mocking with vi.hoisted() for test-time factories, global LLM mock from src/test/setup.ts, environment variable save/restore in beforeEach/afterEach, vi.clearAllMocks() lifecycle, and test file organization. Use when user says 'write tests', 'add test coverage', 'test this', creates *.test.ts files, or when test failures appear in CI. Do NOT use for non-test code or for debugging without writing tests.
$npx -y skills add caliber-ai-org/ai-setup --skill caliber-testingInstalls into the current project.
Run `npx skills use "https://github.com/caliber-ai-org/ai-setup" --skill "caliber-ai-org/ai-setup/caliber-testing"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/caliber-ai-org/ai-setup" that are relevant to the current task. Run `npx skills add "https://github.com/caliber-ai-org/ai-setup"` and select the relevant skills, then follow their instructions.